错误的全称是 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?
其中/etc/ssh/sshd_config下面的
PasswordAuthentication yes
PermitRootLogin yes
PubkeyAuthetication yes
strictModes yes
我在网上查的资料还有RSAAuthentication 设置为yes,但是我在sshd_config里面没有找到.还有个小的问题,就是我在/etc/hosts里面配置的 映射ip,是用IPv4公有IP还是私有IP?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货