- SSH Trouble shooting - https://gitolite.com/gitolite/sts
ssh-add ~/.ssh/id_rsa
ssh -i ~/.ssh/<keyname> <user>@<server>
To server:
scp -i ~/.ssh/<keyname> <file> <user>@<server>:<path>
From server:
scp -i ~/.ssh/<keyname> <user>@<server>:<path> <file>
openssl pkcs8 -in ~/.ssh/key.pem -nocrypt -topk8 -outform DER | openssl sha1 -c
mkdir -p ~/.ssh
cd ~/.ssh
ssh-keygen -t rsa -b 4096 [-f <keyname>]
cat <keyname>.pub >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys