Home > OS >  Aws centos SSH key from dense login Permission denied this error because what?
Aws centos SSH key from dense login Permission denied this error because what?

Time:09-25

Error is the full name of the Permission denied (publickey, gssapi - keyex gssapi - with - mic, password).

SSH is followed by IP, but in vain.

I am use xshell connection, is now a root
The/etc/SSH/sshd_config below
PasswordAuthentication yes
PermitRootLogin yes
PubkeyAuthetication yes
StrictModes yes
I check the information on the Internet and RSAAuthentication set to yes, but I didn't find it in the sshd_config.

There is a small problem, is I the mapping IP configuration in/etc/hosts, is to use IP IPv4 public or private IP?

CodePudding user response:

Is not under the same network, without the V - P - N mutual interaction between the two sides can only be public IP, use SSH roo @ IP port to try next
  • Related