SSH

From ZENWorks Wiki

Jump to: navigation, search

A great web resource that I found

http://www.noah.org/wiki/SSH_public_keys

and a very awesome command
Copy the ssh public key to the remote authorized keys file
Linux:> ssh-copy-id user@remote.example.com
File copied


This will copy a single file from the local machine into folder2 on the remote machine

Copy files over SSH from local machine to remote machine
Linux:> scp localFile user@host:/folder/folder2/
File Copied

This will copy a single file from the remote machine in folder2 to the local machine in the current directory that you are running SCP from

Copy file from remote machine to local current working directory
Linux:> scp user@host:/folder/folder2/file ./
File Copied
Personal tools