Hello something is wrong: ssh -o fbeckman@10.128.46.46 Password: Password: Password: fbeckman@10.128.46.46's password: Permission denied, please try again. fbeckman@10.128.46.46's password: Permission denied, please try again. fbeckman@10.128.46.46's password: scp /etc/ssh_config fbeckman@10.128.46.46:/tmp/ Password: Response: < i not give anything by Passwort he jum direct to Response I can Loginwith the corrcet password, but the Response is not ok ... SunOS unknown 5.8 Generic_108528-23 sun4u sparc SUNW,Ultra-5_10 gcc (GCC) 3.3.1 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003 ./configure --prefix=/usr --sysconfdir=/etc --with-pid-dir=/etc -- libexecdir=/usr/bin --x-libraries=/usr/openwin \ --with-pam --with-ssl-dir=/opt/openssl-0.9.7c --with-entropy-timeout=2000 \ --with-zlib=/home/fbeckman/zlib-new \ --mandir=/usr/share/man --without-rpath CFLAGS="-m32 -mcpu=ultrasparc -O3"
> Password: > Response: < i not give anything by Passwort he jum direct to Response That looks like SSHv1 TIS Challenge/Response authentication, which is how PAM now works with SSHv1. "Password:" is the challenge. The "Response" it wants it your password. Try connecting with SSHv2 keyboard-interactive (ssh -o PreferredAuthentications=keyboard-interactive [hostname]). I suggest changing sshd_config to have: UsePAM yes PasswordAuthentication no ChallengeResponseAuthentication yes and ssh_config to have Protocol 2,1
Hi :-) for old Stuff we have Protocl 1,2 in /etc/ssh_config, the user have in ~HOME/.ssh/config Protocoll 2. I have testet the scp as user ixfbeckm uid=0, the homedir contains the config. when i use ssh he use the config file, but not by scp it build a Protocol 1 Connection. Ok.. The problem is Protocol 1... why scp dont use the config file ? Exceed with ssh Support dosent run, with 3.7.1p2 No login promp by PasswordAuthentication no Login prompt: PasswordAuthentication yes but auth error... :-( (ldap user) SSH Client from ssh.org run, after passwort commes ab button for respons. Putty and winscp runs fine... Frank
The issue with scp and auto selection of Protocol 1/2 is discussed at length in bug #742.
I think this is now resolved, can it be closed?
Please re-open if you can reproduce with -current with UsePAM=yes, PasswordAuthentication=no and ChallengeResponseAuthentication=yes.
Mass change of RESOLVED bugs to CLOSED