服务器A:普通用户USERA
服务器B:普通用户USERB
把USERA的公钥写入服务器B用户USERB的authorized_keys中
USERA能普能用户登录然后服务器A,然后再登录服务器B:
$:ssh USERB@服务器B的IP #就可以成功登录服务器B