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

Chris Green cl at isbd.net
Tue Sep 4 15:42:09 UTC 2018


On Tue, Sep 04, 2018 at 01:03:26PM +0100, Peter Flynn wrote:
> Surely this refers to the system prompt after login, so it's controlled by
> the .bashrc file.
> 
No (OP here) I'm talking about the password prompt.  It's easy to
change the bash prompt to whatever you fancy by setting PS1.


> It's only a security leak if someone is looking over your shoulder: an ssh
> connection is encrypted. If that connection or the source host has been
> compromised, you'd have an entirely separate problem.
> 
It's a bit of a leak if someone just types "ssh <somewhere>" and gets
confirmation that <somewhere> exists and my login name on <somewhere>. 

-- 
Chris Green




More information about the ubuntu-users mailing list