ssh between two differnt versions

Hi,

I am trying to ssh between two differnt versions on solaris boxes.
The src box has the SSH Secure Shell 3.1.0 on sparc-sun-solaris2.6 and destination has SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0.

I am not trying for passwordless connection. I just want to get it working with a password before i proceed with passwordless.

I get the below error
warning: Authentication failed.
Disconnected; key exchange or algorithm negotiation failed (Key exchange failed.).

Can anyone suggest what needs to be done to get this working

Thanks in advance

try manually by setting

-o "Compression no"

, but basically it means

.
You can also search in server config for :

  • try addind a comma, and then none; like this :
AnyCipher, none

and see if it works. If not - time for upgrade.

Hi,

I got ssh working through password. Now, started trying for passwordless connection using key authentication. But still get the below error:

debug: SshAppCommon/sshappcommon.c:133: Allocating global SshRegex context.
debug: SshConfig/sshconfig.c:2232: Unable to open /export/home/geccs/.ssh2/ssh2_config
debug: Connecting to scon02, port 22... (SOCKS not used)
debug: Ssh2/ssh2.c:1977: Entering event loop.
debug: Ssh2Client/sshclient.c:1403: Creating transport protocol.
debug: SshAuthMethodClient/sshauthmethodc.c:85: Added "publickey" to usable methods.
debug: SshAuthMethodClient/sshauthmethodc.c:85: Added "password" to usable methods.
debug: Ssh2Client/sshclient.c:1444: Creating userauth protocol.
debug: client supports 2 auth methods: 'publickey,password'
debug: Ssh2Common/sshcommon.c:560: local ip = 3.175.246.40, local port = 45030
debug: Ssh2Common/sshcommon.c:562: remote ip = 3.157.28.119, remote port = 22
debug: SshConnection/sshconn.c:1930: Wrapping...
debug: Remote version: SSH-2.0-4.0.4.12 SSH Secure Shell
debug: Major: 4 Minor: 0 Revision: 4
debug: Ssh2Transport/trcommon.c:1648: lang s to c: `', lang c to s: `'
debug: Ssh2Transport/trcommon.c:1714: c_to_s: cipher aes128-cbc, mac hmac-sha1, compression none
debug: Ssh2Transport/trcommon.c:1717: s_to_c: cipher aes128-cbc, mac hmac-sha1, compression none
debug: Remote host key found from database.
debug: Ssh2Common/sshcommon.c:318: Received SSH_CROSS_STARTUP packet from connection protocol.
debug: Ssh2Common/sshcommon.c:368: Received SSH_CROSS_ALGORITHMS packet from connection protocol.
debug: server offers auth methods 'publickey,password'.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1536: adding keyfile "/export/home/geccs/.ssh2/id_rsa_1024_a" to candidates
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1536: adding keyfile "/export/home/geccs/.ssh2/id_dsa_1024_a" to candidates
debug: server offers auth methods 'publickey,password'.
debug: server offers auth methods 'publickey,password'.
debug: Ssh2AuthClient/sshauthc.c:316: Method 'publickey' disabled.
debug: server offers auth methods 'publickey,password'.
debug: Ssh2AuthPasswdClient/authc-passwd.c:95: Starting password query...

Not sure why i am getting Method 'publickey' disabled?

Can someone help me or suggest any alternatives

Thanks in advance

Uh.. depends... are these logs from client or the server ones ? Take a look at both of them; also make sure that permissions are OK, i.e. user should be able to read his own ssh files.