LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-20-2012, 09:32 AM   #1
peng12
LQ Newbie
 
Registered: Sep 2012
Posts: 15

Rep: Reputation: Disabled
Problem connecting with Putty to ssh-server


Hello,

I've compiled the latest openssh-6.1p1 version from source on a debian 6 x64 machine.

The relevant part in my sshd_config:

Quote:
KexAlgorithms ecdh-sha2-nistp521
When I try to connect to the machine (Windows 8, Putty 0.62) I get an error message:

Quote:
Couldn't agree a key exchange algorithm
(available: ecdh-sha2-nistp521)
What am I doing wrong?
Maybe this algorithm isn't supported by Putty 0.62?

Thanks
peng

Last edited by peng12; 11-20-2012 at 09:33 AM.
 
Old 11-20-2012, 09:49 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
as per the KEX section of the pputty gui, it supports diffie-hellman-group-exchange-sha1, diffie-hellman-group14-sha1 and diffie-hellman-group1-sha1, not ecdh-sha2-nistp521
 
1 members found this post helpful.
Old 11-20-2012, 09:49 AM   #3
goossen
Member
 
Registered: May 2006
Location: Bayern, Germany
Distribution: Many
Posts: 224

Rep: Reputation: 41
From the "PuTTY User Manual"
Quote:
PuTTY currently supports the following varieties of Diffie-Hellman key exchange:

‘Group 14’: a well-known 2048-bit group.
‘Group 1’: a well-known 1024-bit group. This is less secure than group 14, but may be faster with slow client or server machines, and may be the only method supported by older server software.
‘Group exchange’: with this method, instead of using a fixed group, PuTTY requests that the server suggest a group to use for key exchange; the server can avoid groups known to be weak, and possibly invent new ones over time, without any changes required to PuTTY's configuration. We recommend use of this method, if possible.

In addition, PuTTY supports RSA key exchange, which requires much less computational effort on the part of the client, and somewhat less on the part of the server, than Diffie-Hellman key exchange.

Last edited by goossen; 11-20-2012 at 09:52 AM.
 
Old 11-20-2012, 09:49 AM   #4
tekhead2
Member
 
Registered: Apr 2004
Distribution: slackware/FreeBSD/Vector
Posts: 291

Rep: Reputation: 52
I did some digging and looking at the supported key exchange algorithms by putty and the one your trying to use isn't really showing up. Have you tried the nightly builds of putty, they may have some added support for this version.
 
Old 11-20-2012, 09:53 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by goossen View Post
From the "PuTTY User Manual"
They aren't Key Exchange algorithms, they are encryption algorithms... adn then you edited your post...

Last edited by acid_kewpie; 11-20-2012 at 10:03 AM.
 
1 members found this post helpful.
Old 11-20-2012, 09:59 AM   #6
tekhead2
Member
 
Registered: Apr 2004
Distribution: slackware/FreeBSD/Vector
Posts: 291

Rep: Reputation: 52
See I thought that it was a key exchange BEFORE the encryption to start the encrypted session. Thus the name KEXAlgorithm its a Key EXchange algorithm to security transmit the actual keys for encryption before the data is passed, so by definition they are key exchange algorithms
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Ubuntu server remote ssh and local network ssh issues using putty. scottpops Linux - Server 8 05-17-2012 05:07 PM
connecting to linux server with putty mlnm Linux - Newbie 5 09-09-2011 09:22 AM
[SOLVED] problem connecting to Solaris 10 from putty axel_2078 Solaris / OpenSolaris 1 02-04-2011 12:57 PM
[SOLVED] Connecting to debian server with putty konzo Linux - Server 2 07-22-2010 05:24 AM
socks server, problem with connecting using ssh protocol, hints welcome sarajevo Linux - Networking 1 12-12-2008 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration