Summary of SSH related issues

Summary of SSH related issues

Install

sudo apt-get install ssh

add ssh key

# ssh-keygen -t ed25519 -C "<注释内容>"
ssh-keygen -t ed25519 -C "`hostname`"
cat ${
    
    HOME}/.ssh/id_ed25519.pub

Optional:
If you have passwordless access to another host, add it to the other host's ${HOME}/.ssh/authorized_keysfile.

Guess you like

Origin blog.csdn.net/orDream/article/details/131602491