Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A question you may ask is, why key exchange identification when I changed it to passwords in my sshd_config on the linux guest machine server? It is like, no matter what I do, it marches on with its own agenda.
kex_exchange_identification means that the client and the server are trying to decide which algorithms to use to encrypt the session. You are probably connecting a very old client to very new server, or vice versa. The solution in that case is to upgrade, from backports if necessary.
Which version is your SSH client, which version is your SSH server?
I put the ssh version on cygwin to equal the version on fedora in vbox guest. I still get the errors after checking the version numbers (which match). I verified with ssh -V. I checked version number in cygwin package manager too.
Glad it is working and thanks for the follow up explaining the cause of the problem. However, if it was the packet filter blocking things the SSH client should not have gotten even as far as key exchange. The client should have comlained about "connection refused". So could you please describe a little more about where the client and server were in relation to each other and to the packet filter?
Since the client is Vista10 and the server is a Fedora guest VM in Vista10, and the problem occurs connecting between them it looks like a problem with the host system, which is Vista10. Therefore in that case I would recommend turning to one of the all-to-common Windows-oriented forums.
Hate to necropost, but I just ran into the same kex_exchange_identification issue. Hunted down the problem - /etc/hosts.allow did not have an entry for the client on the sshd: line; hosts.deny has sshd:ALL, so each local LAN client needs to be explicitly allowed.
Hate to necropost, but I just ran into the same kex_exchange_identification issue. Hunted down the problem - /etc/hosts.allow did not have an entry for the client on the sshd: line; hosts.deny has sshd:ALL, so each local LAN client needs to be explicitly allowed.
Support for tcpwrappers was removed from OpenSSH back in version 6.7 back in 2014. That's a while back, so far back that most people are very unlikely to encounter tcpd at all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.