View previous topic :: View next topic |
Author |
Message |
alfalfa n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Jul 2002 Posts: 52
|
Posted: Sat Jul 27, 2002 3:52 pm Post subject: ssh keys strangeness |
|
|
Ok, so I've followed the steps here:
http://www-106.ibm.com/developerworks/opensource/library/l-keyc.html?dwzone=opensource
for setting up ssh and generating keys. So now, when I ssh into my machine, I'm asked for the passphrase instead of the password, which provides me with more security. Cool. Except, I noticed that if I incorrectly enter the passphrase 3 times, it doesn't tell me to get lost, it then asks me for my password! What's the point of generating keys if it will settle for a password (instead of passphrase)? Anyone know what's going on? Thanks
Groan. I just tried to ssh into my machine from a different one than I had been using before, and now I'm not even prompted for a passphrase at all. What am I missing here? ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rac Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/42db5dbb3e1c92424d747.jpg)
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Jul 28, 2002 2:44 am Post subject: |
|
|
It tries PubkeyAuthentication first (with the keys you made), so the passphrase question is coming from the client machine. The second machine probably has an empty passphrase on the key, which is why you don't get asked. Then, it is falling back to PasswordAuthentication, which is why you are getting asked for a password - from the server this time.
To stop that, set PasswordAuthentication to no in the server's /etc/ssh/sshd_config. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alfalfa n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Jul 2002 Posts: 52
|
Posted: Sun Jul 28, 2002 3:23 am Post subject: |
|
|
That did it! Thanks! So much to learn... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|