下shell下载方式 请参考:https://blog.csdn.net/weixin_40928253/article/details/80621724

xshell使用教程请参考:https://blog.csdn.net/Hanani_Jia/article/details/78732033

开启ssh服务需要root权限,先用root账户登陆

先检查有没有安装ssh服务:rpm -qa | grep ssh



如果没有安装ssh服务就安装 : yum install openssh-server

安装好后在ssh配置文件里进行配置 : vim /etc/ssh/sshd_config







用esc+:wq 保存退出



修改完后用 /bin/systemctl start sshd.service 开启ssh服务,这个命令没有回显



开启后用 ps -e | grep sshd 检查一下ssh服务是否开启



再用netstat -an | grep 22检查一下22端口是否开启

将ssh服务添加到自启动列表中:systemctl enable sshd.service

打开xshell6




友情链接
KaDraw流程图
API参考文档
OK工具箱
云服务器优惠
阿里云优惠券
腾讯云优惠券
华为云优惠券
站点信息
问题反馈
邮箱:ixiaoyang8@qq.com
QQ群:637538335
关注微信