jump to navigation

Howto: Linux Secure Copy February 23, 2009

Posted by hasnain110 in Uncategorized.
trackback

Here is a quick howto for copying one file from one machine to another machine using SSH session

Command:

If remote machine’s ssh is running on some different port e.g. 7890

scp -P 7892 filename.tar.gz root@remote-machine-ip:/root/

If remote machine ssh is running on default

scp filename.tar.gz root@remote-machine-ip:/root/

Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: