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

Chris Green cl at isbd.net
Tue Sep 4 10:11:10 UTC 2018


On Tue, Sep 04, 2018 at 10:39:26AM +0100, Colin Watson wrote:
> On Tue, Sep 04, 2018 at 10:19:56AM +0100, Chris Green wrote:
> > Yes, I realise that, though it's unclear whether it's the ssh daemon
> > that does it or something else (login executable?).
> 
> I gave the precise source code reference in an earlier message.
> 
> > Yes, it's not a *big* issue but I'd really prefer not to give someone
> > who happens to get a prompt the name of the system and the user.  One
> > system I use just presents "Password:" and I'd like to do the same.
> 
> I could understand this if it were something presented by the server,
> but it's not - the prompt is presented by the client.  It sounds like
> you're thinking that this is information leaked by the server, but it
> isn't.
> 
I don't really care where it comes from and what you say doesn't
actually make sense to me.

One system that I ssh into doesn't present either my name or the
system's host name, other systems *do* give my name and the host name.
These are all Linux systems and I'm logging in from the same client to
all of them.  So - how does one manage not to present user name and
host name while all the others do?

-- 
Chris Green




More information about the ubuntu-users mailing list