3. SSH 服务器安装
2024-08-29 20:19:30
1.查看SSH是否安装(检查是否装了SSH包)
输入命令:rpm -qa | grep ssh
2.安装SSH 服务
yum install openssh-server
3.查看SSH服务是否正在运行。
输入命令:/etc/init.d/sshd status
4.service sshd start)命令开启SSH服务;停止SSH服务命令(service sshd stop)
重启SSH服务命令(service sshd restart)
5.查看启动22端口
netstat -antp | grep sshd 查看是否启动22端口]
6.检查SSHD是否在本运行级别下设置为开机启动
输入命令:chkconfig --list sshd
7.设置SSH服务为开机启动。
输入命令:chkconfig sshd on 即可。
注:若是chkconfig sshd off则禁止SSH开机启动。
7. 客户端
FinalShell
Mac一键安装脚本
curl -o finalshell_install.sh www.hostbuf.com/downloads/finalshell_install.sh;chmod +x finalshell_install.sh;sudo ./finalshell_install.sh
最新文章
- Ubuntu apt 常用命令
- linux显示中文
- ES6 - Note2:解构赋值
- requirejs的用法(二)
- linux命令:du 命令
- ios应用数据存储的常用方式 ios7.1应用沙盒
- PHP的循环结构
- hdu1213 How Many Tables
- 第一回 认识Bootstrap
- ubuntu基本使用
- Matrix Power Series(POJ 3233 构造新矩阵求解+ 快速矩阵幂)
- WAMPSERVER2.2 无法启动的解决!
- namenode ha
- experss框架—基础认识
- Linux Kernel API
- 关于SLG的产品市场判断
- 学习计划 nginx try_files的作用
- 【vs2010】转换到 COFF 期间失败: 文件无效或损坏
- IntelliJ IDEA 2017版 spring-boot使用Spring Data JPA使用Repository<;T, T>;编程
- java一个字符串中出现次数最多的字符以及次数