1.添加ssh密钥 菜单->Keychain->New Key 2.新建连接 其他的配置和正常配置一样 Password(密钥模式不需要填,点击右边的Keys->选择我们之前配置好的密钥) Username添一下root 3.测试连接