SSH Into Server
ssh -i /path/to/openssh-key user@server
How to convert putty ppk to openssh key
apt-get install putty-tools
puttygen mykey.ppk -O private-openssh -o mykey
puttygen mykey.ppk -O public-openssh -o mykey.pub
How to config local ssh configuration
vim ~/.ssh/config
Host dgendill.com
HostName dgendill.com
Port 22
User ubuntu
IdentityFile ~/path/to/openssh/key
How to rsync a local folder to a remote folder
# -z enables compression
# -r recursively copying files,
# -p preserves the file permissions
#
rsync -zrp /local/path/to/folder ubuntu@dgendill.com:/remote/path/to/folder