ssh-keygen -t rsaControl the ssh client with ~/.ssh/config
Example below is to use older algorithms for older devices
Host 192.168.1.102
user super
KexAlgorithms +diffie-hellman-group14-sha1
HostKeyAlgorithms +ssh-rsa
- By default the ssh-copy-id command will choose the
~/.ssh/.id_rsa.pubif it exists.
ssh-copy-id <user>@<host>eval `ssh-agent`
echo $SSH_AGENT_SOCKBy default it will add the ~/.ssh/id_rsa and other id* keys to the agent.
ssh-add
ssh-add -l