|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
ssh-keygen password prompt
I have a number of servers, Solaris 8 & 9 and Redhat Linux. I use ssh-keygen to allow ssh access to a Linux 9 server without getting a password prompt. Most times this works very easily.
Generate the key on the client - ssh-keygen -t rsa1 It stores the keys in /.ssh/identity and /.ssh/identity.pub I copy to the identity.pub file to the home directory (~home/.ssh/authorized_keys) on the server I'm connecting to as the user I want to connect When I try and ssh into that machine as that user, I continue to get prompted. The ssh versions of the two machines are the same. I use this command on all machines. ssh -oProtocol=1 user@host The ownership and the permissions are correct. Any ideas Thanks Christine |
|
#2
|
|||
|
|||
|
"RSAAuthentication yes" or "Protocol 1" in your sshd_config maybe?
M.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
There is nothing in the ssh_config file. Everything is # out. I have 2 solaris boxes that are doing this. This is a Sol 9 x86 box.
Another says. port 22: Cannot assign requested address (this is a sol 8) All other machines work fine. Thanks Christine |
|
#4
|
|||
|
|||
|
Try ssh -1 -i name_of_identitfile URL
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > ssh-keygen password prompt |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|