Table of Contents

SSH

Create SSH Keys

Github-Howto

SSH Proxy

ssh -C2qTnN -D 12345 -p 22 <system_user>@<domain>

SSH Agent Forwarding

ssh -A <system_user>@<domain>

Force Password Authentication (client-side)

ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no <domain>

SSH Folder Permissions Client

chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa.pub

SSH Folder Permissions Server

mkdir ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
vim ~/.ssh/authorized_keys