Using Putty Keys for Password-less logins

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,061
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 24, 2011

Content:
OpenSSH Key Generation
Converting an OpenSSH Private Key to a Putty Key (ppk)
Creating a key using puttygen to login to a remote ssh server
enabling a keep alive for your ssh session
changing keyboard mappings for BSD systems
How to do x11 tunneling

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (morefood2001)

  • Video is a great tutorial. Far too often people do not take the time to explain things fully. Anyhow, I have tried both ways and every time I get the error message "Server refused our key". I checked my sshd_config and have uncommented the following lines:

    RSAAuthentication yes

    PubkeyAuthentication yes

    AuthorizedKeysFile ~/.ssh/authorized_keys2

    Any help on what might be causing this? I tried several times and still nothing. Thanks!

  • @shelzmike Try generating the key via puttygen (around 11 minutes into the video) and using the resulting key to paste into the authorized_keys file. Then use the resulting PPK private key in putty to authenticate. You'll have to connect via username@serveraddress for that to work. Outside of this, the server should work, so perhaps try it on a different linux system to make sure you aren't missing a step.

  • @shelzmike Oh, you also need to set the permissions on the authorized_keys2 file to 600, the directory .ssh should have 711 for its permissions.

  • you are gay aren't you?

  • @dion2k Nope.

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • @morefood2001 Thanks for the help. Actually, it was not any of those things. As it turns out, I am using Ubuntu Server 11.10 and even though I do not recall selecting this option, apparently the home directory is encrypted when I am not logged in - since the keys are attempting to connect before login, this will not work. Move the authorized_keys and it works, do google search for SSH error "server refused our key" Adam Wright and the solution is the first link. Thanks again!

  • Thanks for the detailed explanation.. 

  • Thanks for the video - very good quality and informative!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more