Authorized Keys

Discussion in 'OT Technology' started by DigiCrime, May 23, 2004.

  1. DigiCrime

    DigiCrime If Only!

    Joined:
    Oct 25, 2001
    Messages:
    32,996
    Likes Received:
    100
    Location:
    St. Louis
    I'm reading up on this and I guess im not doing something right. Six days a week I have to log in and out of 40 linux machines and it would be faster if I could automate my login. Im on windows XP for the time being, Im using PuTTy Key Generator, I copy the public key into authorized_keys2, save the private key and tell putty which private key to load but I still get asked for a login and password. :hs: What am I not doing right :slap:
     
  2. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,352
    Likes Received:
    574
    Is your public key being copied as a single long line of text in the file?

    Also, what is your preferred ssh protocol? Try making a copy of the file, called authorized_keys just in case putty is using SSH1.
     
  3. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,352
    Likes Received:
    574
    This is what I have, and putty works fine.

    /root/.ssh/authorized_keys:
    ssh-dss AAAAB3N ... (lots of stuff deleted) ... RsOFueShntLdsurN02Bp9UXM= [email protected]

    /root/.ssh/authorized_keys2:
    ssh-dss AAAAB3N ... (lots of stuff deleted) ... RsOFueShntLdsurN02Bp9UXM= [email protected]
     

Share This Page