RE: Passwordless SSH Logins

From: Ifan Jones (ifan_at_draig.co.uk)
Date: 06/26/03

  • Next message: maf_at_appgate.com: "Re: sftp Newbie Questions!"
    Date: Thu, 26 Jun 2003 09:59:10 +0100
    To: <secureshell@securityfocus.com>
    
    

    Thanks to all you replies!

    With your help and suggestions I tracked it down to having the wrong keys in authorized_keys.

    I was using identity.pub, chamged thsi to id_rsa.pub and hey presto!

    Now to carry on the testing and create a VPN tunnel.

    -----Original Message-----
    From: Ifan Jones
    Sent: 25 June 2003 16:42
    To: secureshell@securityfocus.com
    Subject: Passwordless SSH Logins

    Hi all

    I have two Mandrake 9.0 test servers on two different subnets on the
    same switch. I'm using OpenSSH3.4p1. Trying to implement passwordless
    logins failes everytime.

    I generate new keys with

    ssh-keygen -b 1024 -t rsa1
    ssh-keygen -b 1024 -t rsa
    ssh-keygen -b 1024 -t dsa

    I then take the .ssh/identity.pub and put it in authorized_keys on the
    server accepting the connection. This I have followed from many
    how-to's and books.

    However it alwyas asks for a password. Can someone point me in the
    right direction?

    I have just rebuilt the servers cleanly once again and have only created
    the rsa1 keys this time - I'll await with baited breath !!

    Many thanks


  • Next message: maf_at_appgate.com: "Re: sftp Newbie Questions!"

    Relevant Pages

    • Re: Enterprose Manager after user password change
      ... XP client machines with a non-Domain account. ... > registered servers when the user's network password is changed. ... Saving the keys and restoring ... > password should be written to the registry. ...
      (microsoft.public.sqlserver.security)
    • graceful ssh key management
      ... How do I have multiple ssh keys not overwrite each other, ... I have a computer that is a client to a number of different servers. ...
      (SSH)
    • OpenSSH 3.0.1p1 Solaris 2.5 - 8.0 Nightmares occuring
      ... I am having some really bad problems trying to upgrade our servers to ... having all kinds of issues with the keys. ... PS Am purchasing O'reilly's SSH book today, hopefully, it will ...
      (comp.security.ssh)
    • Re: courier imap keys and self-signed ca signing
      ... >> a program to generate keys but not csr's, i'm not sure how to get keys from ... > signed CA from OpenSSL and use it to sign a single cert for all your ... > servers. ... I'm not sure http browsers are aware of that field, ...
      (freebsd-questions)
    • Enterprose Manager after user password change
      ... registered servers when the user's network password is changed. ... [HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL ... Saving the keys and restoring will ... password should be written to the registry. ...
      (microsoft.public.sqlserver.security)