在VMware虚拟机中安装好ubuntu 20.04,已安装并启动sshd,但是使用secureCRT远程登录时则报错: Key exchange failed. No compatible key-exchange method. The server supports these methods: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellm…
转载自:https://blog.csdn.net/enweitech/article/details/80677374 解决方法: vim /etc/ssh/sshd_config shift+g 添加 KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1 ;重启 service sshd re…
ssh到server上的时候密码是对的但是报如下信息:# ssh 172.16.81.221root@172.16.81.221's password:Permission denied, please try again. 这个是由于如果不输入用户名的时候默认的是root用户,但是安全期间ssh服务默认没有开root用户的ssh权限 解决方法:用普通用户登录. http://desert.blog.51cto.com/779694/175333…
一.登录ssh报错: Last :: from 172.28.146.109 -bash: warning: setlocale: LC_ALL: cannot change locale (en_CN.UTF-): No such file or directory -bash: warning: setlocale: LC_ALL: cannot change locale (en_CN.UTF-) -bash: warning: setlocale: LC_ALL: cannot chan…
在执行git clone命令报错 Unable to negotiate with xxx.xxx.xxx.xxx port 12345: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 Unable to negotiate with : no matching key exchange method found. Their offer: diffie-hellman-group1-…
1.用FXP登录Linux报错: [info] subsystem request for sftp failed, subsystem not found.[右] [execute] /usr/lib/openssh/sftp-server[右] [execute] /usr/lib/sftp-server[右] [execute] /usr/local/lib/sftp-server[右] [execute] /usr/libexec/sftp-server[右] [execute] sft…
原文链接: http://www.centoscn.com/CentosBug/softbug/2015/0622/5709.html 问题描述: 使用客户端远程登录连接基于CentOS 6.5服务器上的Mysql,报错:Can't connect to MySQL server on 'XXX' (13) 解决方法: 通常情况下,可以进行如下设置1. 进入MySQL的控制台# mysql -u root -p 2. 在MySQL的控制台中输入如下命令mysql> grant all privi…
Mysql报错java.sql.SQLException:null,message from server:"Host '27,45,38,132' is not allowed to connect 远程连接mysql数据库,出现异常: null,message from server:"Host '27,45,38,132' is not allowed to connect 解决方案: 原因是:远程服务器不允许你访问它的数据库.所以,我们要对远程服务器进行设置,使它允许你进行连接…
rails执行sidekiq任务的时候报错“can't connect to local mysql server through socket '/var/run/mysqld/mysqld.sock'”, 很好理解,就是找不到这个文件,而我机器上面文件在/tmp/mysql.sock这里, 所以解决很简单,在指定位置创建一个或创建一个链接呗: ln -s /tmp/mysql.sock /var/run/mysqld/mysql.sock 完美解决,偶也^_^…
1. 使用git克隆项目报错 $ git clone ssh://liuchao@192.168.7.32:29418/platform/Midou Cloning into 'Midou'... Unable to negotiate with 192.168.7.32: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 fatal: Could not read from remote…