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

Jonesy SPAM_TRAP_gmane at jonz.net
Sun Sep 2 15:32:19 UTC 2018


On Mon, 03 Sep 2018 01:12:08 +1000, Karl Auer wrote:
> On Sun, 2018-09-02 at 15:32 +0100, Chris Green wrote:
>
>> How can one remove the username and hostname that precede "password"
>> when logging in using ssh?

One way might be to include the password in the ssh command:

	  $ ssh username:password at vps.example.net

That-a-way it's all done in one go.

> That prompt is presented by your local system, not by the remote
> system. It is knowledge that your local system has - the name you are
> trying to connect as, and the system you are trying to connect to.
>
> I would characterise it as harmless.
> That said, why do you want to remove it?

Well, I always experience the "puccker factor" when I need to ssh into
my vps from a 'public' machine, or while in an airport, or the somesuch.

Of course, we would be remiss not to recommend ssh public/private key 
authentication.  Except that would be even worse in the case of a _public_ 
machine.....
More:
	https://www.ssh.com/ssh/public-key-authentication

Jonesy





More information about the ubuntu-users mailing list