Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 197835

ssh hostbased not possible to root

$
0
0

Hi,

 

I am already dealing a long time with ssh scenarios from clients to servers with authentication via public keys but also hostbased (without password).

 

Within my ubuntu environment I meanwhile have a setup to allow both, depending on the need.

 

I have managed to setup the same with my esxi.

 

As always, there is a but!!!

 

I am able to run a hostbased ssh-connection from my client to a user <> root on the esxi.

 

Like: ssh user2@esxihost

 

This works. And the log messages say the hostbased (passordless) login works.

 

When I do it from my client (same user) to root at the esxi host, a hostbased ssh connection fails, but with no real helpful message in the logs although loglevel = debug.

 

A ssh connection to root via RSA-key works fine.

 

Since the configuration is setup the way to try several methods, hostbased first but publickey and keyboard-interactive as next, the ssh-connection works anyhow since publickey works fine.

 

Is there anything anyone can tell me why a ssh-connection to root@esxihost could be blocked?

 

In sshd_config the PermitRootLogin = yes is set.

 

Help or hints welcome

 

Regards

Karl-Heinz


Viewing all articles
Browse latest Browse all 197835

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>