The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to merge different coulmn of differnt files rahul sharma11 Shell Programming and Scripting 10 05-09-2008 12:55 AM
Versions of HP-UX or AIX kurt1978 UNIX for Dummies Questions & Answers 5 05-31-2007 08:09 AM
Is there any way to get old HP-UX versions? dlundh HP-UX 4 05-29-2007 04:35 AM
different versions? deeptia Shell Programming and Scripting 1 03-25-2002 09:35 AM
too many linux versions katekuti UNIX for Dummies Questions & Answers 2 05-24-2001 06:58 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-12-2007
Registered User
 

Join Date: Apr 2004
Posts: 35
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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-13-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,162
try manually by setting
Code:
-o "Compression no"
, but basically it means
Quote:
"Algorithm negotiation failed - there was no common algorithm in the client's and server's lists."
.
You can also search in server config for :
Quote:
>## Crypto settings
Ciphers AnyCipher
- try addind a comma, and then none; like this :
Code:
AnyCipher, none
and see if it works. If not - time for upgrade.
Reply With Quote
  #3 (permalink)  
Old 04-16-2007
Registered User
 

Join Date: Apr 2004
Posts: 35
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
Reply With Quote
  #4 (permalink)  
Old 04-17-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,162
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:43 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0