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

最新文章

  1. Ubuntu apt 常用命令
  2. linux显示中文
  3. ES6 - Note2:解构赋值
  4. requirejs的用法(二)
  5. linux命令:du 命令
  6. ios应用数据存储的常用方式 ios7.1应用沙盒
  7. PHP的循环结构
  8. hdu1213 How Many Tables
  9. 第一回 认识Bootstrap
  10. ubuntu基本使用
  11. Matrix Power Series(POJ 3233 构造新矩阵求解+ 快速矩阵幂)
  12. WAMPSERVER2.2 无法启动的解决!
  13. namenode ha
  14. experss框架—基础认识
  15. Linux Kernel API
  16. 关于SLG的产品市场判断
  17. 学习计划 nginx try_files的作用
  18. 【vs2010】转换到 COFF 期间失败: 文件无效或损坏
  19. IntelliJ IDEA 2017版 spring-boot使用Spring Data JPA使用Repository<T, T>编程
  20. java一个字符串中出现次数最多的字符以及次数

热门文章

  1. 一文解读XaaS (转)
  2. leetcode424 Longest Repeating Character Replacement
  3. Java基于redis实现分布式锁(SpringBoot)
  4. 手写MQ框架(四)-使用netty改造梳理
  5. numpy高级函数:where与extract
  6. 87)PHP,PDO的预编译技术
  7. JavaScript 转义字符
  8. Linux ---- 查看当前TCP连接数
  9. Oracle 的DBA考证
  10. Thinkcmf任意漏洞包含漏洞分析复现