The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 03:55 AM
Versions of HP-UX or AIX kurt1978 UNIX for Dummies Questions & Answers 5 05-31-2007 11:09 AM
Is there any way to get old HP-UX versions? dlundh HP-UX 4 05-29-2007 07:35 AM
different versions? deeptia Shell Programming and Scripting 1 03-25-2002 01:35 PM
too many linux versions katekuti UNIX for Dummies Questions & Answers 2 05-24-2001 09:58 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-12-2007
borncrazy borncrazy is offline
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
  #2 (permalink)  
Old 04-13-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
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.
  #3 (permalink)  
Old 04-16-2007
borncrazy borncrazy is offline
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
  #4 (permalink)  
Old 04-17-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:55 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0