On Wed, Aug 13, 2003 at 05:05:01PM +1000, [EMAIL PROTECTED] wrote:
> Note that the info on that link, and the man page, still omits
> important info. E.g. in the description of the Host section, and the
> patterns that can be used to nominate hosts, there's no mention of what
> the pattern separator is when you specify more than one host. I'll
> guess that it's white space rather than a comma.
Do you mean in /etc/ssh/ssh_config? I always just use "Host *", but I'd
expect the separator to be a comma rather than whitespace.
> Interesting that installing openssh on RH via apt-get install openssh
> didn't create or install a host key ...
I've checked the rpm spec file and discovered I was wrong about this.
When you start the server, any missing keys are generated. See
/etc/init.d/sshd.
> Come to think of it, I forgot to manually transfer the newly-generated
> public host key from each machine and add it to a
> /etc/ssh/ssh_known_hosts file on each machine.
That's not strictly necessary.
> Still, the reversed logins is so strange I should start again from
> scratch anyway.
I don't remember your original message so I have no idea what you're
talking about ... checks slug archive ... OK. This looks really weird,
but I don't think it's ssh that's confused. (and I learnt something new
- I didn't know that slogin was another name for ssh).
Shut down sshd on coo, start it on posh, and telnet to port 22 on posh
(from both coo and posh). You should get the openssh prompt:
[EMAIL PROTECTED] ~]$ telnet localhost 22
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SSH-1.99-OpenSSH_3.1p1
Protocol mismatch.
Connection closed by foreign host.
Now start sshd on coo, shut it down on posh, and telnet to port 22 on
coo (from both hosts again). You should get the same results.
Then try logging in with ssh. Does it connect to the right host? Then
make sure sshd is running on both hosts and do it again. Does it still
connect to the right host?
Cheers,
John
--
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug