加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

03Linux之xshell工具

发布时间:2020-12-13 21:56:54 所属栏目:Linux 来源:网络整理
导读:03Linux之xshell工具 目录 03Linux之xshell工具 3 xshell工具 3.1 xshell基础 3.1.1 什么是xshell 3.1.2 为什么要用xshell 3.1.3 怎么用xshell 3.2 远程连接排错 3.2.1 测试网络是否畅通 3.2.2 其他 3 xshell工具 3.1 xshell基础 3.1.1 什么是xshell 是一个

03Linux之xshell工具

目录
  • 03Linux之xshell工具
  • 3 xshell工具
    • 3.1 xshell基础
      • 3.1.1 什么是xshell
      • 3.1.2 为什么要用xshell
      • 3.1.3 怎么用xshell
    • 3.2 远程连接排错
      • 3.2.1 测试网络是否畅通
      • 3.2.2 其他

3 xshell工具

3.1 xshell基础

3.1.1 什么是xshell

  • 是一个远程执行命令的客户端程序

  • 对应服务端程序openssh-sever(默认22)

    套接字客户端-------------------网络----------------套接字服务端

    xshell openssh-sever

3.1.2 为什么要用xshell

  • 远程管理

3.1.3 怎么用xshell

  • mac:iTerm2

    • 打开命令行终端
    • ssh root@服务器的IP地址 来连接
  • Windows:xshell

    • 缓冲区设置,控制内容显示的行数

    • 上下翻页

      shift+PgUp

      shift+PgDn

3.2 远程连接排错

3.2.1 测试网络是否畅通

  • ping服务器IP地址

  • 是否被防火墙阻止

    - firewalld
      systemctl stop firewalld
      systemctl disable firewalld
    - SELinux
      setenforce 0  # 临时关闭permissive(加载但不生效)
      setenforce 1  # 加载并运行enforcing
      永久关闭
    	1. vi /etc/sysconfig/selinux
    	2. enforcing改为disabled
    	3. 重启
    - getenforce查看状态
    
  • sshd服务是否开启

    systemctl restart sshd # 重启服务端程序

3.2.2 其他

  • IP地址是否正确(ifconfig查看网络)

  • 网卡配置是否正确(route -n查看网关、cat /etc/resolv.conf查看DNS地址)

  • 关闭centos7 NetworkManager

    systemctl stop NetworkManager

    systemctl disable NetworkManager

  • 虚拟网络编辑器

  • VMware服务是否正常启动

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读