prgeorge3383
asked on
sftp in solaris
All.... here is my log.....
Steps
1. ssh-keygen -t rsa ,2 keys formed
2. copy .pub file to unix server
3.cp *.pub authorized_keys
chmod 600 authorized_keys
cp id_rsa.pub authorized_keys2
chmod 600 authorized_keys2
sftp -v -v -v user4567@serverloc3
it is asking for a password.... even though I have no parapharase setup for testing.Am I doing any thing wrong
debug1: Found key in /home/user4567/.ssh/known_ hosts:1
debug2: bits set: 530/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/user4567/.ssh/id_rsa (0x0)
debug2: key: /home/user4567/.ssh/id_dsa (0x0)
debug1: Authentications that can continue: gssapi-keyex,gssapi-with-m ic,publick e
y,password,keyboard-intera ctive
debug3: start over, passed a different list gssapi-keyex,gssapi-with-m ic,publick
ey,password,keyboard-inter active
debug3: preferred publickey,keyboard-interac tive,passw ord
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,passw ord
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/user4567/.ssh/id_rsa
debug1: read PEM private key done: type RSA
debug3: sign_and_send_pubkey
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: gssapi-keyex,gssapi-with-m ic,publick e
y,password,keyboard-intera ctive
Steps
1. ssh-keygen -t rsa ,2 keys formed
2. copy .pub file to unix server
3.cp *.pub authorized_keys
chmod 600 authorized_keys
cp id_rsa.pub authorized_keys2
chmod 600 authorized_keys2
sftp -v -v -v user4567@serverloc3
it is asking for a password.... even though I have no parapharase setup for testing.Am I doing any thing wrong
debug1: Found key in /home/user4567/.ssh/known_
debug2: bits set: 530/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/user4567/.ssh/id_rsa
debug2: key: /home/user4567/.ssh/id_dsa
debug1: Authentications that can continue: gssapi-keyex,gssapi-with-m
y,password,keyboard-intera
debug3: start over, passed a different list gssapi-keyex,gssapi-with-m
ey,password,keyboard-inter
debug3: preferred publickey,keyboard-interac
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,passw
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/user4567/.ssh/id_rsa
debug1: read PEM private key done: type RSA
debug3: sign_and_send_pubkey
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: gssapi-keyex,gssapi-with-m
y,password,keyboard-intera
Hi prgeorge3383,
You solved the problem by yourself, can I PAQ the question and refund the points to you?
yuzh
Page Editor
You solved the problem by yourself, can I PAQ the question and refund the points to you?
yuzh
Page Editor
ASKER
please do...
but please do not delete the question and answer since it is very useful for others
but please do not delete the question and answer since it is very useful for others
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
run sshd in debug mode
cat /var/log/secure will show the errors
these are the permissions needed
775 for all the directries
600 for authorized_keys
works good now