Hi all! I want to use OpenSSH 2.9 as shipped with SuSE 7.2 to transfer data between two servers. Such a setup has recently been discussed in this list, but in my particular situation a previously unmentioned problem arises. I have created DSA keys with ssh-keygen and copied the public keys of each machine to the other. So far, so good. But there is a complication: one of the machines is registered in my ISP's DNS records with two A records (once with a nasty name consisting of parts like the hexadecimal ip address, and once with an easier-to-remember name). So now the problem arises: I normally only use the easy-to-remember hostname: it's the one I named the machine with (not even telling it about the other one) and this is therefore also the one that ssh-keygen uses when generating the keys. Unfortunately ssh, scp and sftp resolve the IP-address to the other hostname, and fail to recognize the relevant key in $HOME/.ssh/authorized_keys2 (regardless of which "direction" I go). I assume there is an easy way to solve this, but I haven't found it. Can someone help me out? Kind regards, Yuri. -------------------------------------------------------------------------- Yuri Robbers phone : +31-71-527-4966 Leiden University fax : +31-71-527-4900 Institute for Theoretical Biology email : robbers@rulsfb.leidenuniv.nl Kaiserstraat 63 2311 GP Leiden PGP 5.0 public key available: the Netherlands Check your favourite hkp server. --------------------------------------------------------------------------
participants (1)
-
Yuri Robbers