DISCUSSION: Public key authentication with ssh
This thread is to discuss the article titled: Public key authentication with ssh
|
I followed the instructions and I still get prompted for a password.
Code:
pcurry@lisacomp:~/.ssh$ ssh -vv teacup Code:
]Check that "~/.ssh/authorized_keys" exists on the server and contains a line the same as "~/.ssh/id_dsa.pub" on the client. I can ssh without a password from slackware to debian, but I cannot do it from debian to slackware. |
Thank you for the tutorial. I found it extremely useful.
|
A ssh login to B, it was successful.
B ssh login to A, secure connection refused. By allowing/enabling port 22, what else could be blocking the SSH login? |
i have the same problem as yoowlin,
from fedora to debian i can login without a password, but from debian to fedora it ask for pasrword... my ssh --v host ist the same as the one posted here... thanks leg |
Apologize for any inconvinience caused.
I have posted twice the same issue, the thread is continued from here: http://www.linuxquestions.org/questi...threadid=51930 |
now i have solve the problem. i jusst used rsa and renamed the file ~/.ssh/id_rsa.pub (or ~/.ssh/id_dsa.pub) in ~/.ssh/identity.pub and the file ~/.ssh/id_rsa in ~/.ssh/identity
now it works... what is the difference between rsa and dsa? is dsa more secure? thankx a lot for the discussion, leg |
i am also having similar issue
I am using ssh from my ibook to connect to my Fedora 2 box on my home network. i am able to connect using the password but i cant get the keys to work. i having been trying to get this to work for more than 4 or 5 days now. Any help would be greatly appreciated. I would really like to get this working please help.
jason |
found a solution?
I had to do this for a class project. I found this information extreemly infomrative, and helpful, thanks!
I had the same problem trying to get mine to work. I did a chmod on the server: <chmod 600 authorized_keys> and then it started working. no password required! hope this helps. P.S. This was a debian to debian connection following the steps outlined in the guide. |
I'm trying to use Putty on Windows to access my remote machines. How can I get this working? How can I present my public key (on Windows) to the remote server so it can check the key? I've been reading elsewhere how people are using the private key under the "Auth" section of Putty, but mine's not working. The screen blanks out before I can see what the error was.
|
Nevermind... I got it. All I had to do was open the private key in PuttyGen and save it in Putty's own format. After that, it worked fine.
|
thanks gointomexico,
That is exactly what I needed. david_ross, Maybe this should be added to the article, I think the problem would only occur when the authorized_keys file has NOT been created automatically (as in FC3) Apparently if it is world readable then there can be no connection (though no usable error data is generated which is a pain in the ass). So just for safety sake you could tell everyone to chmod 600 their authorized_keys file. |
For those who are still having problems: make sure that not only your "authorized_keys"/"authorized_keys2" files are not readable to world, but also that entire ".ssh" directory is not world-readable:
chmod 700 ~/.ssh chmod 700 ~/.ssh/authorized_keys |
puttygen problem
pls. help.
I'm having problem with puttygen. Everytime i tried to login my Linux box is still asking me for my password. Here's what i did 1. Generated a public key from puttygen. I used ssh v2 2. Saved the private and public key in my Win2k desktop. 3. Copied the public key to my $HOME/.ssh/authorized_keys2 directory 4. Added the private key to puttgen for remote connection. what else did i forget? |
I'm still not able to connect without a password.
Here is my debug notes when I run -vv Code:
[trichard@testserv110 trichard]$ ssh -vv trichard@ftpserv111 Any one know how to solve this, Thanks Troy |
All times are GMT -5. The time now is 03:41 AM. |