Re: ssh and keys

From: David Raistrick (drais_at_wow.atlasta.net)
Date: 12/23/03

  • Next message: Eric Veraart: "PSA 1.13 Linux -> PSA 6 FreeBSD"
    Date: Tue, 23 Dec 2003 08:55:32 -0800 (PST)
    To: Francisco Javier Fabra Caro <jfabra@unizar.es>
    
    

    > I'm trying to backup a server over ssh, but I don't want to type the
    > passphrase. I've been making the *interchange* of keys between the both
    > machines, but this doesn't seem to work. I'm using a FreeBSD machine
    > (updated sshd) and a RedHat 9 machine (updated sshd).

    Did you get this resolved? You may want to verify that you're using the
    same version and type of key. ie: ssh1/rsa ssh2/rsa or ssh2/dsa.
    Different defaults are used on different versions of freebsd, and I've no
    idea what might be used in Redhat.

    man ssh-keygen for more, but the essence is in the FILES section:

         $HOME/.ssh/identity
    protocol version 1 RSA authentication identity
         $HOME/.ssh/identity.pub
    protocol version 1 RSA public key
         $HOME/.ssh/id_dsa
    protocol version 2 DSA authentication
         $HOME/.ssh/id_dsa.pub
    protocol version 2 DSA public key
         $HOME/.ssh/id_rsa
    protocol version 2 RSA authentication
         $HOME/.ssh/id_rsa.pub
    protocol version 2 RSA public key

    ---
    david raistrick
    drais@atlasta.net		http://www.expita.com/nomime.html
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Eric Veraart: "PSA 1.13 Linux -> PSA 6 FreeBSD"

    Relevant Pages

    • Re: Publickey authentication on FreeBSD
      ... "PubkeyAuthentication yes" password authentication with protocol 2 took ... the config files to require protocol 2 and RSA public key ...
      (comp.security.ssh)
    • Re: Authentication
      ... A uses the password to encrypt A_public and sends this to B. ... >>What about the following protocol that differs from EKE? ... > look like a valid public key. ... > redundancy to let this attack work. ...
      (sci.crypt)
    • Re: Authentication
      ... I completely agree with you that 'coming up' with a protocol ... > look like a valid public key. ... an attacker can break this scheme by spoofing A. ... > myself to be able to design such a protocol securely in this way. ...
      (sci.crypt)
    • Re: Authentication
      ... I think trying to invent this kind of protocol on your own is too ... keys, i.e., that if you pick a public key by picking bits at random, ... an attacker can break this scheme by spoofing A. ... I hope this is enough to convince you that design of these protocols ...
      (sci.crypt)
    • Re: Question on Public Key Cryptography
      ... I don't know this protocol, but probably M is a random key and this is ... Dec), where pk_A is A's public key and sk_B is B's secret key. ... I'm guessing that the attack is something along the lines of: ... To discover the key inside C_AB, Eve ...
      (sci.crypt)