Hi, Just feel curiously. I am using sun SSH 1.0.1 and 1.1 on different machines, and get different password promts as follows. ------------------------------------ root> ssh -V SSH Version Sun_SSH_1.0.1, protocol versions 1.5/2.0. root>ssh 10.193.106.90 root at 10.193.106.90's Password: ------------------------------------ root> ssh -V Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090700f root>ssh 10.193.114.90 Password: ----------------------------------- The official ssh has two options, PasswordPromptHost and PasswordPromptLogin to specify whether to include the remote host name and user id in the password prompt. Seems that openSSH doesn't have the similar options. So why 1.0.1 and 1.1 show different prompts and how to control the prompt? Thanks,
On Tue, 31 Oct 2006, Xu, Chun Gang (Titan) wrote:> Seems that openSSH doesn't have the similar options. > So why 1.0.1 and 1.1 show different prompts and how to control the prompt?I would guess because one is offering PAM authentication via keyboard-interactive authentication and the other is offering "emulated" password authentication, but you should really ask Sun because we don't have anything to do with SunSSH. -d
On Tue, 31 Oct 2006, Xu, Chun Gang (Titan) wrote: hi, as Damien already said:>root> ssh -V >SSH Version Sun_SSH_1.0.1, protocol versions 1.5/2.0. > >root>ssh 10.193.106.90 >root at 10.193.106.90's Password: >------------------------------------password based authentication, see PasswordAuthentication>root> ssh -V >Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090700f > >root>ssh 10.193.114.90 >Password: >-----------------------------------keyboard-interactive authentication. also see PreferredAuthentications for example, you can test with: ssh -o PreferredAuthentications=password user at your-host ssh -o PreferredAuthentications=keyboard-interactive user at your-host of course this in general also depends on server side configuration. Jan. -- Jan Pechanec