SSH Commands

Use ssh to execute a command on a remote system:
ssh user@user@server.com <command>

Create a log of an ssh session:
ssh user@server.com | tee -a ~/server.com.ssh.log

Copy a file from your local directory to a directory on a remote system:
scp [filename] [user]@[server.com]:/remote/directory

About vicki

Welcome to the Sovereign Republic of Vickistan. I am the President here. Lucky me! No taxes or laws yet. Lucky you!
This entry was posted in Linux. Bookmark the permalink.