Re: Is there any way in the ssh config file to shorten the "hostname's password" request?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Fri, 9 Dec 2022 at 01:23, Chris Green <cl@xxxxxxxx> wrote:
> So when I connect I get a very long "<name>'s password:" which I find
> rather distracting, not to mention that it doesn't really tell me what
> I'm logging into.

If it's SSH "password" authentication, ssh(1) will use the
HostKeyAlias (if set) in the prompt:

$ ssh -o hostkeyalias=foobar -o preferredauthentications=password localhost
dtucker@foobar's password:

If it's SSH "keybpoard-interactive" authentication then the prompt
might be generated by PAM, and in that case there's not much ssh can
do with that.

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux