Secure Copy How to

Heres a rough and ready introduction to using the power of SSH to perform a secure copy of a file or directory between computers.

> scp 

usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 [...] [[user@]host2:]file2

So how does this matter for me well if you wanted to move a file from a server called Mojo.com to a server called Louis.com you’d enter

> scp file.txt my_login_name@louis.com:remote_directory

or if I want to copy a folder:

> scp -r my_login_name@louis.com:remote_directory my_files

Hope this helps.

By the way for those on Windows Penguinet has scp built in with a nice looking file browser/selection UI.

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.