fedora23 安装openssh-server
来源:互联网 发布:淘宝网旗袍金丝绒 编辑:程序博客网 时间:2024/05/17 22:15
先确认是否已安装ssh服务:
[root@localhost ~]# rpm -qa | grep openssh-server
openssh-server-5.3p1-19.fc12.i686 (这行表示已安装)
若未安装ssh服务,可输入:
#yum install openssh-server
进行安装
2、修改配置文件
#vi /etc/ssh/sshd_config
Port 22 监听的端口号,默认是22,可以自定义。
Protocol 2 支持的协议,默认就好,不用修改
PermitRootLogin yes 是否允许root直接登录,最好设置为no
MMaxAuthTries 6 最大登录数,默认是6,建议设置为3,防止别人密码穷举。
修改完配置后,重启SSH服务:
To start the sshd daemon, type the following at a shell prompt:
systemctl start sshd.service
To stop the running sshd daemon, use the following command:
systemctl stop sshd.service
If you want the daemon to start automatically at the boot time, type:
参考链接为:
https://docs.fedoraproject.org/en-US/Fedora/16/html/System_Administrators_Guide/s2-ssh-configuration-sshd.html
0 0
- fedora23 安装openssh-server
- Linux安装OpenSSH Server
- ubuntu 安装 openssh-server
- ubuntu 安装 openssh-server
- openssh-server安装
- ubuntu 安装openssh-server
- unbuntu server 安装openssh-server
- Ubuntu 下安装 OpenSSH Server
- 安装openssh-server报错
- 安装和设置 OpenSSH Server
- CentOS 6.2 安装OpenSSH Server
- Ubuntu 安装openssh-server出错
- CentOS 6.2 安装OpenSSH Server
- CentOS 6.2 安装OpenSSH Server
- linux下安装openssh-server
- Ubuntu14.04安装openssh-server
- ubuntu13.4安装openssh-server
- ubuntu14.04 安装 openssh-server
- Tomcat
- 手把手教你写框架之ShykyAnnotations - 注解
- 牛客网算法学习记录-排序2
- 2.1 JobScheduler, Job, JobSet 详解
- msp430单片机实现常按键和短按键加去抖功能
- fedora23 安装openssh-server
- 巩固缓存相关,深入解析imageLoader
- JAVA
- Huffman编码文件压缩 - Huffman树的建立与编码
- ant构建出现乱码
- 设计模式之命令模式php示例
- [Android] SlidingDrawableTabLayout
- c++第6次实验
- IOS集成到支付宝