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

Eero Volotinen eero.volotinen at iki.fi
Sun Sep 2 16:08:41 UTC 2018


That is really insecure way on multiuser system
Just modify client sourcecode, if that is really needed.

Eero

su 2. syysk. 2018 klo 18.37 Jonesy via ubuntu-users <
ubuntu-users at lists.ubuntu.com> kirjoitti:

> 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
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20180902/00b3cbaf/attachment.html>


More information about the ubuntu-users mailing list