Ssh2/ssh1 compatibility issues

From: Admins home (admins@vahanatech.com)
Date: Wed Oct 08 2003 - 02:45:18 EDT


I have two servers (solaris 8) in the network both speaking SSH1 protocol
from ssh.org (version 1.2.33). In order to upgrade to SSH2 (version
3.2.5), I proceeded to ugrade one of them first. Installation and
configuration went fine. In order for ssh2 two work with ssh1, I
configured compatibility mode on /etc/sshd2_config and
/etc/ssh2/ssh2_config files and started the server.

So now the first server (server A) talks ssh1 and the 2nd one (Server
B)talks ssh2. During testing, I found that I am able to connect from
Server B to any server which talks ssh2. I would also have expected to
connect to Server A which talks ssh1 through the client compatibility.
However this is not happening. Running ssh client on server B to connect
to server A geve the following:

debug: SshConfig/sshconfig.c:2810/ssh2_parse_config_ext: Metaconfig
parsing stopped at line 3.
debug: SshConfig/sshconfig.c:3102/ssh_config_read_file_ext: Read 2 params
from config file.
debug: Ssh2/ssh2.c:1707/main: User config file not found, using defaults.
(Looked for

'/home/users/zkzac/.ssh2/ssh2_config')
debug: Connecting to Dragon, port 22... (SOCKS not used)
debug: Ssh2Transport/trcommon.c:3665/ssh_tr_create: My version:
SSH-1.99-3.2.5 SSH Secure Shell (non-commercial)
debug: client supports 3 auth methods:
'publickey,keyboard-interactive,password'
debug: Ssh2Common/sshcommon.c:537/ssh_common_wrap: local ip = 172.21.1.26,
local port = 33506
debug: Ssh2Common/sshcommon.c:539/ssh_common_wrap: remote ip =
172.21.1.24, remote port = 22
debug: SshConnection/sshconn.c:1945/ssh_conn_wrap: Wrapping...
debug: SshReadLine/sshreadline.c:2427/ssh_readline_eloop_initialize:
Initializing ReadLine...
debug: Remote version: SSH-1.5-1.2.33
warning: Remote server talks SSH-1.5 protocol.
debug: SshKeyFile/sshkeyfile.c:373/ssh_blob_read: file
/home/users/zkzac/.ssh2/hostkeys/key_22_dragon.pub does not
exist.
debug: SshKeyFile/sshkeyfile.c:373/ssh_blob_read: file
/etc/ssh2/hostkeys/key_22_dragon.pub does not exist.
Host key not found from database.
Key fingerprint:
xopir-tezic-ryfys-negad-letub-felif-kisof-hymin-kamec-rysun-doxax
You can get a public key's fingerprint by running
% ssh-keygen -F publickey.pub
on the keyfile.
Are you sure you want to continue connecting (yes/no)?
Aborted by userwarning: Host key check failed.
debug: Got session close with exit_status=-1
debug: SshReadLine/sshreadline.c:2485/ssh_readline_eloop_uninitialize:
Uninitializing ReadLine...
debug: Ssh2Common/sshcommon.c:662/ssh_common_destroy: Destroying SshCommon
object.
debug: SshConnection/sshconn.c:1997/ssh_conn_destroy: Destroying SshConn
object.
Connection to dragon closed.

>From the above it looks to me that Server B is still trying to look for
serverA's keys in the homedirectory/.ssh2 directory when it shouldn't
(??). If I want things to really work then I have to specifically give
the command ssh1, example:

server B > ssh1 server A

Why is compatibility not working for me. Am I overlooking something? How
to correct? Thanks for any insights.

-tjd
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:15 EDT