Search This Blog

Friday, January 30, 2009

copy from remote linux machine (ssh, scp)

ssh (secure shell) - to login in remote linux machine (port 22) (service sshd )

$ssh remoteIP
enter password

copying from remote linux machine to local machine using scp (secure copy)
$ scp "root@:/path/file" /path/
[if folder use -r option with scp]

copying from local machine to remote machine
$ scp /path/file "root@:/path/"
[if folder use -r option with scp]

No comments:

Post a Comment