随笔分类 - ssh
摘要:一,windterm报错: 报错信息: kex error : no match for method encryption client->server: server [aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-ctr
阅读全文
摘要:一,配置sshd_config ClientAliveInterval 30 ClientAliveCountMax 5 含义: 让sshd服务每间隔30秒向客户端发送keepalive报文以保持连接,直到连续5次没有收到keepalive回应,才断开与客户端的连接。其实为这几行配置在原文件里都有,
阅读全文
摘要:一,ssh连接中报错: 报错信息: [SSH] ERROR: kex_exchange_identification: read: Connection reset by peer 不能连接, 远程登录到控制台: journalctl -xeu sshd.service 查看日志 发现是因为安装了o
阅读全文
摘要:一,报错信息: $ ssh -p 22 root@123.124.125.84 Unable to negotiate with 123.124.125.84 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
阅读全文
摘要:一,ssh限制指定用户从固定ip登录: 1.配置 配置文件 [root@blog ~]# vi /etc/ssh/sshd_config 配置项: AllowUsers lhdop git@1.2.3.4 2,测试效果,ssh确认git用户的密码正确后会拒绝你 [op@blog work]$ git
阅读全文
摘要:一,远程linux机器上安装java15(如已安装,跳过此步) 说明:演示用的linux机器ip: 192.168.1.47 1,下载: [root@blog ~]# cd /usr/local/source [root@blog source]# mkdir jdk [root@blog sour
阅读全文
摘要:一,openssh服务版本号的查看 1,查看当前sshd的版本号 : [root@yjweb ~]# sshd --help unknown option -- - OpenSSH_7.8p1, OpenSSL 1.1.1 FIPS 11 Sep 2018 说明:sshd没有专门的打印版本号和帮助文
阅读全文
摘要:一,说明:两台机器的平台和ip 1,a服务器: centos8:ip:121.122.123.47 版本 [root@yjweb ~]# cat /etc/redhat-release CentOS Linux release 8.0.1905 (Core) 2, j服务器: centos6:ip:
阅读全文
浙公网安备 33010602011771号