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

Chris Green cl at isbd.net
Tue Sep 4 16:31:07 UTC 2018


On Wed, Sep 05, 2018 at 02:08:15AM +1000, Karl Auer wrote:
> On Tue, 2018-09-04 at 16:42 +0100, Chris Green wrote:
> > So how come it's different on one particular host I connect to?
> 
> I would really like to see a screenshot of that happening. With the two
> ssh commands right after each other. Just CTL-C the password prompts.
> Obfuscate the username and system name if you wish. Like this:
> 
> lis at kt:~$ ssh localhost
> lis at localhost's password: 
> 
> lis at kt:~$ ssh 127.0.0.1
> lis at 127.0.0.1's password: 
> 
> Obviously not to localhost - to the two hosts you have that demonstrate
> the differing behaviour :-)
> 
> Do need to see the command line parameters; obfuscate only user and
> host.
> 
Here you go:-

chris$ 
chris$ 
chris$ ssh systemabc
Password: 
chris at systemabc$ 
chris at systemabc$ 
chris at systemabc$ 
chris at systemabc$ 
chris at systemabc$ 
chris at systemabc$ exit
logout
Connection to systemabc closed.
chris$ 
chris$ 
chris$ 
chris$ 
chris$ 
chris$ 
chris$ ssh systemxyz
chris at systemxyz's password: 
chris at systemxyz$ 
chris at systemxyz$ 
chris at systemxyz$ 
chris at systemxyz$ 
chris at systemxyz$ exit
logout
Connection to systemxyz closed.
chris$ 


-- 
Chris Green




More information about the ubuntu-users mailing list