User-specific settings
Dave Bender
dbender at umn.edu
Fri Nov 14 08:09:07 EST 2003
Synopsis: I've got two identical users on one machine. User 1 can set up
a password-less connection to another machine; User 2 cannot. As best I
can tell, both users are doing identical setup. Is there something else
that's user-specfic that might be causing this?
The steps I'm taking:
rm -rf ~/.ssh
cd ~/.ssh
ssh-keygen -t dsa
cat id_dsa.pub
copy and paste to machine 2, ~/.ssh/authorized_keys2
from machine1 this command:
ssh <machine2> pwd
will give give me the results of the pwd command when run by user 1. When
run by user 2, it prompts for a password.
Here's a portion of the debug (-vvv) output from the user who gets the
password prompt:
...
debug1: authentications that can continue:
publickey,password,keyboard-interactive
debug3: start over, passed a different list
publickey,password,keyboard-interactive
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: next auth method to try is publickey
debug1: try privkey: /opt/home/user2/.ssh/identity
debug3: no such identity: /opt/home/user2/.ssh/identity
debug1: try privkey: /opt/home/user2/.ssh/id_rsa
debug3: no such identity: /opt/home/user2/.ssh/id_rsa
debug1: try pubkey: /opt/home/user2/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: authentications that can continue:
publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
...
Any help would be great.
Dave
More information about the openssh-unix-dev
mailing list