码迷,mamicode.com
首页 >  
搜索关键字:sshd    ( 1879个结果
ssh使用总结
yum -y install openssh openssh-server openssh-clients sshd服务 ssh user@ip ssh -p port user@ip 服务器ssh-keygen生成id_rsa和id_rsa.pub client的.ssh/authorized_k ...
分类:其他好文   时间:2020-06-25 19:51:09    阅读次数:45
设置SSH只允许指定IP才能访问
vim /etc/hosts.allowsshd:192.168.31.109:allow //只允许192.168.31.109登录vim /etc/hosts.denysshd:ALL //开启白名单,只允许192.168.31.109登录systemctl restart sshd ,重启ss ...
分类:其他好文   时间:2020-06-23 13:43:28    阅读次数:195
Centos7 SSH登录时间过长
问题现象:在网络延迟正常的情况下,使用ssh连接服务器过程中服务器响应时间过长问题原因:服务器的ssh服务开启了DNS反解析导致响应时间过长解决办法:在ssh服务端配置文件中禁用DNS反解析:以linux操作系统为例,在sshd配置文件/etc/ssh/sshd_config中添加如下配置UseDNSno重载sshd服务systemctlreloadsshd
分类:其他好文   时间:2020-06-22 09:36:12    阅读次数:98
Linux 系统欢迎信息设置;登录提示信息设置;
在项目合作的时候,有时候服务器被多人使用;有时候需要设置提示信息,提醒登录的同学,当前系统正在被我占用;当然在公司场景中,比如发布更新维护之类的信息也能使用提示信息进行通知: 登录信息可以修改三个文件: /etc/issue 本地登陆显示的信息,本地登录前 /etc/issue.net 网络登陆显示 ...
分类:系统相关   时间:2020-06-19 16:24:53    阅读次数:187
设置linux ssh 连接超时时间
用SSH登录到Linux的时候,由于默认的连接超时时间很短,经常需要短了后再连接,比较麻烦。可以通过设置linux ssh配置解决 1. #vim /etc/ssh/sshd_config 2. 搜索并修改(没有的话在末尾添加):ClientAliveInterval 60ClientAliveCo ...
分类:系统相关   时间:2020-06-18 23:25:02    阅读次数:98
Linux Log
/var/log : where the linux put the logs /var/log/cron on system cron tasks /var/log/cups/ something about the printer /var/log/dmesg/ system self chec ...
分类:系统相关   时间:2020-06-18 19:21:13    阅读次数:56
contos7部属gitlab
一、安装依赖包sudoyuminstall-ycurlpolicycoreutils-pythonopenssh-serverpostfix二、开启相关服务及放行防火墙#启动sshd并配置开机启动sudosystemctlenablesshdsudosystemctlstartsshd#启动postfix并配置开机启动sudosystemctlenablepostfixsudosystemctls
分类:其他好文   时间:2020-06-17 11:06:18    阅读次数:57
优化后的ssh配置文件
优化后 # $OpenBSD: sshd_config,v 1.100 2016/08/15 12:32:04 naddy Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for ...
分类:其他好文   时间:2020-06-16 18:41:29    阅读次数:65
新安装的ubuntu18.04系统无法用xshell远程连接问题
1.ubuntu 18.04系统默认是普通用户登录,首先设置root密码 sudo passwd 2.安装openssh-server apt install openssh-server -y 如果出现报错,请参考下图解决即可 3.修改配置文件/etc/ssh/sshd_config 插入一行配置 ...
分类:系统相关   时间:2020-06-15 13:42:25    阅读次数:134
freebsd使用
ssh开启 ee /etc/inetd.conf #去掉sshd注释 ee /etc/ssh/sshd_config PermitRootLogin no改为PermitRootLogin yes PasswordAuthentication no改为PasswordAuthentication y ...
分类:其他好文   时间:2020-06-08 23:53:20    阅读次数:102
1879条   上一页 1 ... 5 6 7 8 9 ... 188 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!