ssh public keys when you have multiple lan interface cards
tewg_at_btclick.com
Date: 06/09/05
- Previous message: Spyro: "Security Distro site help"
- Next in thread: Grant Coady: "Re: ssh public keys when you have multiple lan interface cards"
- Reply: Grant Coady: "Re: ssh public keys when you have multiple lan interface cards"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Previous message: Spyro: "Security Distro site help"
- Next in thread: Grant Coady: "Re: ssh public keys when you have multiple lan interface cards"
- Reply: Grant Coady: "Re: ssh public keys when you have multiple lan interface cards"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|