I'm trying to run sshd (OpenSSH_3.1p1) on Red Hat 7.2 as an unpriveleged
user, but am running to problems. I am running the following command:
/usr/sbin/sshd -Ddqp 8080 -h $HOME/.ssh/dsa_host_key \
-f $HOME/.ssh/sshd_config
And can connect to the server, but all authentication fails. Password
authentication fails because of a known bug (feature?) with shadow
password systems, but both DSA and RSA keys fail as well, with the
following error:
debug1: authentications that can continue: publickey,keyboard-interactive
debug1: try pubkey: /home/gomer/.ssh/id_dsa
debug1: input_userauth_pk_ok: pkalg ssh-dss blen 433 lastkey
0x808ff40 hint 2
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/home/gomer/.ssh/id_dsa':
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/home/gomer/.ssh/id_dsa':
debug1: read PEM private key done: type DSA
debug1: authentications that can continue: publickey,keyboard-interactive
This makes no sense to me, as the password is correct (otherwise ssh-agent
wouldn't load the key), and the public key is in authorized_keys on the
server side. Has anyone else dealt successfully with a similar problem?
--
"The only thing that helps me maintain my slender grip on reality is the
friendship I share with my collection of singing potatoes."
- Holly, JMC Vessel *Red Dwarf*
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list