CentOS6 linux免密登录

ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa

cd .ssh/

cat id_dsa.pub >> authorized_keys

scp id_dsa.pub node001:`pwd`/node002.pub

ssh node001

 

 

 

CentOS6 linux免密登录_第1张图片

你可能感兴趣的:(Linux,免密登录)