VMware Cloud Community
desadi10
Enthusiast
Enthusiast
Jump to solution

Access denied root ssh

Hi,

I was connect by ssh to the server vCenter with the root account, and, today, when i tried to connect to the server vCenter by ssh, i receive this error message:

Screenshot_1.png

But, for example, if i try to connect to the server with the root account on Internet, i can connect without problem:

Screenshot_2.png

What is the problem?

Thanks so much.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal
Jump to solution

Hello

/etc/ssh/sshd_config

View solution in original post

0 Kudos
11 Replies
admin
Immortal
Immortal
Jump to solution

The new version of PuTTY has a new authentication GSSAPI feature. This allows users to log in with out a password but will not mount a users home directory. We have had several users using the new version of PuTTY who could not log in to kerbNFSv4 system.

To overcome this problem you must disable GSSAPI authentication.

To do this in PuTTY go to
Connection –> SSH –> Auth –> uncheck “Attempt Kerberos 5 GSSAPI/SSPI auth (SSH-2)”
or
Connection –> SSH –> Auth –> GSSAPI –> uncheck “Allow GSSAPI Authentication (SSH-2 only)”

See the following images.

Putty_sshAuthentication

Putty-gssapi

If you found my answers useful please consider marking them as Correct OR Helpfu

Regards,

Randhir

0 Kudos
desadi10
Enthusiast
Enthusiast
Jump to solution

Thanks so much for your reply ranchuab

I tried the solution that you gave me, but, unfortunately, the problem persists.

0 Kudos
admin
Immortal
Immortal
Jump to solution

Could you please tell me your Putty release version so i will test in my Lab for this issue .....

Regards,

Randhir

0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

Is SSH shell enabled along with Bash from the VAMI?

pastedImage_0.png

0 Kudos
desadi10
Enthusiast
Enthusiast
Jump to solution

Hi ranchuab,

my Putty version is:

Screenshot_1.png

Thanks so much to try help me.

0 Kudos
admin
Immortal
Immortal
Jump to solution

Thank you for sharing screen shot.

I suspect problem in /etc/ssh/sshd_config

Can you check "PermitRootLogin  should be Yes.

Regards,

Randhir

0 Kudos
admin
Immortal
Immortal
Jump to solution

Hello

/etc/ssh/sshd_config

0 Kudos
desadi10
Enthusiast
Enthusiast
Jump to solution

Thanks so much ranchuab

But, if i can not to connect to the server, how can i do to test your solution?

Because, when i try to connect to the server with the root account, i receive the error message: Access denied

0 Kudos
desadi10
Enthusiast
Enthusiast
Jump to solution

Thanks so much ranchuab

Your answer solved my issue.

0 Kudos
uhokaysure
Contributor
Contributor
Jump to solution

Hi! How did you get in to modify the files if you could not sign in? 

0 Kudos
CLVincent82
Contributor
Contributor
Jump to solution

Good question.  How can you modify /etc/ssh/sshd_config to SSH into the ESXi if you cannot already SSH?

0 Kudos