openssh-portable upgrade.

Marcus Alves Grando mnag at FreeBSD.org
Thu Aug 30 08:31:58 PDT 2007


Sorry for long delay...

Alex Dupre wrote:
> Stefan Lambrev wrote:
>> After upgrade from openssh from 4.5 to 4.6 I'm unable to login using
>> password authentication.

This a challenge-response problem. I'll fix this now...

> 
> Neither with RSA keys.

Works to me with fixes in challenge-response... see below

* DSA
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /root/.ssh/marcus
debug1: Server accepts key: pkalg ssh-dss blen 1585
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/root/.ssh/marcus':
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).

* RSA
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/marcus/.ssh/id_rsa
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).

> 
>> After putting "PasswordAuthentication yes" in sshd_conf I'm able to
>> login using username/password,
> 
> Idem.

Challenge-response related...

> 
>> but this is built-in password authentication and skips PAM?
> 
> Yes, it should be so.

I'll commit one patch to fix all issues.

Regards

-- 
Marcus Alves Grando
marcus(at)sbh.eng.br | Personal
mnag(at)FreeBSD.org  | FreeBSD.org


More information about the freebsd-ports mailing list