Link Search Menu Expand Document

Generate Key

ssh-keygen

Add SSH Key

Kali> cat ~/.ssh/id-rsa.pub
Target> echo "ssh-rsa <id-rsa.pub>" >> ~/.ssh/authorized_keys

or

ssh-copy-id user@host

Use existing key

Key must have chmod 600

ssh -i <key> user@host

Create SSH Server

TODO