ssh public keys when you have multiple lan interface cards

tewg_at_btclick.com
Date: 06/09/05

  • Next message: Grant Coady: "Re: ssh public keys when you have multiple lan interface cards"
    Date: 9 Jun 2005 04:55:58 -0700
    
    

    Hitting a wall with this one and would really appreciate some help from
    somebody, please.

    I have a problem trying to configure ssh to login automatically going
    from one host to another. Both servers have multiple LAN cards. Each
    server has a connection to a 100Mb public LAN (the primary interface)
    and another connection to a Gigabit private LAN. I'm trying to ssh
    between the servers via the Gigabit LAN, but get prompted for a
    password. This is because the public key generated by ssh-keygen on
    the source system has the public hostname at the end of the key.

    For example, xcucegedu-long-a$$-key-73467frfg guy@server1.co.uk

    Although this public key is in the destination hosts guy account (in
    ~/.ssh/auhorized_keys with 600 permissions) the sshd appears to ignore
    it as the session is coming from server1_p (the private Gigabit
    address).

    Is there a way of getting ssh-keygen to generate a public key for a
    particular LAN card (i.e. address) on a server? That way I could
    generate a key for the private address and sshd on the target server
    would hopefully validate me.

    Thanking you in advance.

    Guy


  • Next message: Grant Coady: "Re: ssh public keys when you have multiple lan interface cards"

    Relevant Pages

    • Re: Explanation of SSH
      ... I am still unclear on how SSH works exactly. ... Client issues SSH command and names server ... "Shopper" says "server sends back its public host and server keys ... Surely there is only one public key it sends ...
      (comp.security.ssh)
    • Re: Restricting ssh access to selected hosts
      ... Then copy the public key to the target box with: ... >> You can make the ssh server key-only, ... > want to login as "userB" on the server. ...
      (comp.os.linux.security)
    • Explanation of SSH
      ... I am still unclear on how SSH works exactly. ... Client issues SSH command and names server ... "Shopper" says "server sends back its public host and server keys ... Surely there is only one public key it sends ...
      (comp.security.ssh)
    • Re: SSH with Public Key Authentication (Was: Re: Attention: Giorgos Keramidas (Was: CVS Import Permi
      ... and got stuck setting up the public key login. ... I spent a few hours yesterday trying to get SSH going again. ... Log in using your private key from the server (ie. login to the ...
      (freebsd-questions)
    • RE: Using public key pair to authenticate
      ... Using public key pair to authenticate ... Most people would start SSH server in debug mode, "sshd -d", and also ...
      (SSH)