ssh login --

ubuntu-users-list at thomas.freit.ag ubuntu-users-list at thomas.freit.ag
Sun Jul 14 22:22:23 UTC 2024


Bruce,

On 15.07.24 00:03, bruce wrote:
> Ok, but even if I'm doing some sort of key auth, why would the local
> machine be able to ssh root at testServer and have the passwd prompt, but
> doing the ssh root at testServer2 be granted direct access without having
> any passwd prompt?
> 
> and shouldn't there be a setting to disable this?
> 
> ssh -o StrictHostKeyChecking=no root at 1.2.3.4
>   has no effect when either no/yes
> 
> thanks

Check the output with "-vv", which authentication is used. No need to
speculate. You can post it (with anonymizing paths and IPs). You could
additionally check the contents of ~root/.ssh/authorized_keys on both
machines.

Btw: StrictHostKeyChecking does not do what you think. Check the man page
under VERIFYING HOST KEYS, it does not toggle key authentication.

regards,
Thomas




More information about the ubuntu-users mailing list