hostkeys and ssh2
From: Ole Michaelsen (omic+usenet4_at_fys.ku.dk)
Date: 05/18/05
- Previous message: Larry Alkoff: "Re: Looking for program that emails me when dhcp addr changes"
- Next in thread: Richard E. Silverman: "Re: hostkeys and ssh2"
- Reply: Richard E. Silverman: "Re: hostkeys and ssh2"
- Reply: Darren Tucker: "Re: hostkeys and ssh2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 18 May 2005 14:59:55 +0000 (UTC)
Hi.
In my home directory, /app/mbx51/.ssh2/hostkeys, I have one key for each
host that I connect to.
drwx------ 2 mbx51 users 8192 May 18 13:45 .
drwxr-xr-x 3 mbx51 users 8192 Sep 27 2004 ..
-rw------- 1 mbx51 users 751 Feb 3 16:00 key_22_callisto.pub
-rw------- 1 mbx51 users 750 May 18 13:45 key_22_cdrxfr.pub
-rw------- 1 mbx51 users 749 Feb 3 16:11 key_22_europa.pub
-rw------- 1 mbx51 users 748 Feb 3 16:08 key_22_thebe.pub
$
europa, callisto, and thebe are physical servers. cdrxfr is the hostname
(with an ip address) of a cluster service running on either europa,
callisto, or thebe. When the cluster service moves between the cluster
nodes, connecting to it with ssh2 will fail because ssh2 notices that
the hostkey has changed.
With OpenSSh I can just have differnt keys in the same hostkeys file,
like this:
/app/mbx51/.ssh/ known_hosts2
cdrxfr ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA4urcrqMGy0ZqgGqt04d ...
cdrxfr ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAyj49axLVHYN6k2jZvBz ...
cdrxfr ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAq5GxvSRL8vNpcLATpAv ...
but I seem unable to concatenate the hostkeys of europa, callisto, and
thebe above with ssh2 into one file. ssh2 still thinks that the key has
changed.
How do I put the keys of the three servers into one keyfile? How should
the format of that combined file be?
Thanks.
Ole M.
Copenhagen.
Denmark
- Previous message: Larry Alkoff: "Re: Looking for program that emails me when dhcp addr changes"
- Next in thread: Richard E. Silverman: "Re: hostkeys and ssh2"
- Reply: Richard E. Silverman: "Re: hostkeys and ssh2"
- Reply: Darren Tucker: "Re: hostkeys and ssh2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]