错误的全称是 Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).就是ssh 后面加上ip,但是过不去.我是用xshell连接的,现在是root用户
其中/etc/ssh/sshd_config下面的
PasswordAuthentication   yes
PermitRootLogin  yes
PubkeyAuthetication yes
strictModes yes
我在网上查的资料还有RSAAuthentication 设置为yes,但是我在sshd_config里面没有找到.还有个小的问题,就是我在/etc/hosts里面配置的 映射ip,是用IPv4公有IP还是私有IP?