Mac OS使用ssh时记住密码
@client side
#ssh-keygen -t rsa
#scp .ssh/id_rsa.pub remoteIP:/path/to/user/home
@remote side
$cd .ssh
$cat ../id_rsa.pub >> authorized_keys
@client side
#ssh-keygen -t rsa
#scp .ssh/id_rsa.pub remoteIP:/path/to/user/home
@remote side
$cd .ssh
$cat ../id_rsa.pub >> authorized_keys
@client side
#ssh user@remoteIp
如果服务端的ssh端口号不是默认的21,请记得加上端口号 user@remoteIP -p 22