一、xshell:
-
什么是xshell?
xshell是一个远程执行命令的客户端程序,对应的服务端程序openssh-sever(默认22) 套接字客户端------------------网络----------------套接字服务端 xshell openssh-sever
-
为何要用xshell?
方便远程管理操作系统
-
如何用xshell?
mac(没有xshell):iTerm2(推荐使用)
打开命令行终端
ssh root@服务器的ip地址windows:xshell
缓冲区设置:控制内容显示行数
上下翻页
shift+PgUP
shift+PgDn远程连接失败排错 测试网络连通性:ping 服务端ip地址 关闭防火墙 systemctl stop firewalld systemctl disable firewalld 关闭Selinux setenforce 1 # Enforcing-》加载并生效 setenforce 0 # Permissive-》加载但是不生效 # Disabled ->不加载 vim /etc/sysconfig/selinux 修改SELINUX=disabled 查看Selinu