How to remove "user at host's password" from ssh login prompt?

Colin Watson cjwatson at ubuntu.com
Sun Sep 2 18:24:16 UTC 2018


On Sun, Sep 02, 2018 at 03:32:03PM +0100, Chris Green wrote:
> How can one remove the username and hostname that precede "password"
> when logging in using ssh?
> 
> I.e. when I connect to a host called abcdef I want to see just:-
> 
>     Password:
> 
> rather than:-
> 
>     chris at abcdef's password:

This isn't customisable.  Changing it would require rebuilding openssh
(the userauth_passwd function in sshconnect2.c).

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list