navicat用ssh跳转登录mysql连接时报:80070007:SSHTunnel:Serverdoesnotsupportdiffie-hellman-group1-sha1forkeyexchange是由于ssh配置缺少KexAlgorithms与Ciphers导致。解决办法是进入/etc/ssh/sshd_config在最下面加入下面配置:KexAlgorithmsdiffie-hellman-group1-sha1,cu..
分类:
数据库 时间:
2017-11-11 15:57:16
阅读次数:
313
#修改sshd默认端口
比如将默认端口22改为2222
#在默认配置文件/etc/ssh/sshd_config追加如下内容(将arcfourcipher停用)
Ciphersaes128-ctr,aes192-ctr,aes256-ctr
#禁用弱MAC算法,在默认配置文件/etc/ssh/sshd_config追加如下内容
MACshmac-sha1,umac-64@openssh.com,hmac-r..
分类:
其他好文 时间:
2017-11-09 14:36:44
阅读次数:
153
1 修改三台虚拟机的/ect/hosts文件 2 修改三台虚拟机的/etc/ssh/sshd_config 将前面的#号去掉 3 修改三台虚拟机的/etc/selinux/config 4 重启虚机三台虚拟机 5 配置SSH无密码登录 三台虚拟机依次操作如下: 192.168.168.101 192 ...
分类:
其他好文 时间:
2017-11-05 15:06:47
阅读次数:
212
在使用云服务器的过程中发现有黑客远程暴力破解我的ssh端口,为避免该安全隐患应更改ssh服务的默认端口号。ssh的配置文件保存在/etc/ssh/sshd_config文件中[root@jdu4e00u53f7~]#vim/etc/ssh/sshd_config文件打开后如下#$OpenBSD:sshd_config,v1.802008/07/0202:24:18djmExp$#T..
分类:
其他好文 时间:
2017-11-03 23:58:01
阅读次数:
353
1.Xshell客户端设置 2.服务端设置 修改/etc/ssh/sshd_config文件,找到 ClientAliveInterval 0和ClientAliveCountMax 3并将注释符号("#")去掉, 将ClientAliveInterval对应的0改成60, ClientAliveI ...
分类:
系统相关 时间:
2017-11-03 11:20:25
阅读次数:
226
hadoop-13-root ssh无密码登陆 生产机器禁止ROOT远程SSH登录: vi /etc/ssh/sshd_config 把 PermitRootLogin yes 改为 PermitRootLogin no 重启sshd服务 #service sshd restart 其他机器进行本地 ...
分类:
其他好文 时间:
2017-11-02 14:39:51
阅读次数:
194
vi /etc/ssh/sshd_config #注释掉 #PermitRootLogin without-password # Authentication: LoginGraceTime 120 #PermitRootLogin without-password PermitRootLogin ... ...
分类:
系统相关 时间:
2017-10-31 10:56:37
阅读次数:
129
一、Slave2中sshd服务一直处于启动失败状态 查看配置文件 cat/etc/ssh/sshd_config 发现配置文件末尾slave2和master不同,更改过后问题解决,可以连接 二、启动Hadoop时,SSH免密验证失败 查看日志信息,每次日志均卡在这个位置 查询发现master中 da... ...
分类:
其他好文 时间:
2017-10-30 18:16:51
阅读次数:
191
一、find命令find在指定目录下查找文件如果使用该命令时,不设置任何参数,则find命令将在当前目录下查找。find路径选项-name文件名[root@localhost~]#find/etc/-name"sshd_config"#在/etc/目录下查找文件名为“sshd_config”的文件/etc/ssh/sshd_config[root@localhost~]#find..
分类:
其他好文 时间:
2017-10-27 18:05:44
阅读次数:
209
今天在手机端装了NetHunter 想连接PC的kali ,可是怎么都连不上 综合网友的经验: 1.修改sshd_config文件,命令为:vi /etc/ssh/sshd_config 将#PasswordAuthentication no的注释去掉,并且将no修改为yes 将#PermitRoo ...
分类:
系统相关 时间:
2017-10-24 22:55:08
阅读次数:
424