scp/sftp/ssh
[top]
scp
scp [dir/file] [hostname]:[dir/file]
Secure copy [dir/file] to [hostname] as [dir/file].
[top]
sftp
Commands
sftp [dir/file] [login]@[hostname]:[dir/file]
Secure ftp [dir/file] to [hostname] as [dir/file].
sftp -b [input file] [login]@[hostname]
Secure ftp in batch mode using commands in input file.
[top]
ssh
Commands
ssh [login]@[hostname]
ssh -l [login] [hostname]
Secure shell as [login] to [hostname].
> ssh -L 9001:localhost:21 steved@blackbox
> ftp localhost 9001
Port forward an ssh connection to port 9001.
Ftp through encrypted port 9001.
Cheatsheets






