ProgrammerAH

Programmer Guide, Tips and Tutorial

Skip to content
  • Home
  • Python
  • PHP
  • JAVA
  • MySQL
  • Linux
  • JavaScript
  • Privacy Policy

[Solved] secureCRT Failed to Login Ubuntu20.04 Error: Key exchange failed

Title SecureCRT login ubuntu20.04 prompt “key exchange failed” error

When using ubuntu2004, an error will be reported when using the old version of SecureCRT to connect via SSH, as follows:

Key exchange failed.
No compatible key exchange method. The server supports these methods: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256

To solve this problem, the solution is as follows:
1. Modify ssh_config
Find the following two lines in this file and remove the # in front of them

vim /etc/ssh/ssh_config

2. modify sshd_config

    add the following contents to this file
vim /etc/ssh/sshd_config

KexAlgorithms [email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1

3. Restart sshd service

systemctl restart sshd

 

Read More:

  • [Solved] SSH Failed to Login Ubuntu Error: Socket error Event: 32 Error: 10053. Connection closing…Socket close.
  • [Solved] Linux ECDSA key Error: Host key verification failed
  • The resolution of Ubuntu 16.04 screen can’t be modified and the solution of circulating login
  • VScode Error: extension failed XHR Failed (Ubuntu Virtual Machine)
  • [Solved] Login with Ubuntu graphical interface, error sorry, that didn’t work.please try again
  • [Solved] Ubuntu 20.04.3 Fail to Start sshd Error: Failed to start OpenBSD Secure Shell server
  • How to Solve Ubuntu “Failed to fetch” Error
  • [SSH error] ssh_exchange_identification: read: Connection reset by peer
  • [Solved] Linux SSH Login Terminal Error: shell request failed on channel 0
  • [Solved] Ubuntu Compile Rust Program Error: failed to run custom build command for openssl-sys v0.9.39
  • [Solved] Linux error: SSH_exchange_identification: read: Connection reset by peer
  • [Solved] Ubuntu Error: Failed to connect to 127.0.0.1 port xxxxx: Connection refused
  • Ubuntu Startup Error: warning failed to connect to lvmetad,falling back to device scanning
  • Login Error: token failed, reason: getaddrinfo EAI_AGAIN ks-apiserver (kubesphere is Installed)
  • [Solved] ERROR: The kernel module failed to load, because it was not signed by a key that is trusted by the
  • [Solved] Ubuntu20.04 Error: “Failed to install the following Android SDK packages as some licences have not..“error
  • Ubuntu18.04 Compile Error: android 7 FAILED [How to Solve]
  • [Solved] SecureCRT Connect Error: The server has disconnected with an error…..
  • [Solved] Sshpass Error: Host key verification failed
  • [Solved] Linux scp Error: Host key verification failed.

This entry was posted in Linux and tagged secureCRT Failed to Login Ubuntu20.04 Error on 2022-07-14 by Robins.

Post navigation

← [Solved] Vue3.2 component computed Error: Write operation failed: computed value is readonly [Solved] Jedis connect and operate Redis error: Failed to create socket和connect timed out →

Recent Posts

  • MAFIA: 1- OpenFlow statistics (Counters, Timestamps)(mafia-sdn/p4demos/demos/1-openflow/1.1-statistics/p4src/of.p4)
  • LDSC: Could not open Corces_ATAC_1000Gv3_ldscores/Corces_ATAC.1.1.l2.ldscore[./gz/bz2]
  • Gradle Package Project Lombok Not Working: No serializer found for class com.qbb.User and no properties discovered to create BeanSerializer……
  • [Solved] PCH Warning: header stop not at file scope
  • pymysql Error: File “/usr/local/lib/python2.7/site-packages/PyMySQL-1.0.2-py2.7.egg/pymysql/connections.py”, line 167 SyntaxError: invalid syntax

Tags

  • Android
  • Android studio
  • back-end
  • Big data
  • bug
  • c++
  • cents
  • database
  • Deep learning
  • development language
  • docker
  • eclipse
  • error
  • front end
  • git
  • Hadoop
  • idea
  • intellectual idea
  • java
  • javascript
  • linux
  • maven
  • mybatis
  • mysql
  • node.js
  • Npm
  • OpenCV
  • Operation and maintenance
  • php
  • ProgrammerAH
  • python
  • pytorch
  • qt
  • report errors
  • solution
  • spring
  • spring boot
  • SQL
  • tensorflow
  • The database
  • The server
  • tomcat
  • ubuntu
  • View.js
  • windows
Proudly powered by WordPress