首页>>帮助中心>>服务器 shh协议远程管理

服务器 shh协议远程管理

2024/1/31 191次
远程管理

•SSH协议,Secure Shell

  • 软件包的安装

[root@server /]# rpm -qa | grep openssh

openssh-7.4p1-16.el7.x86_64

openssh-server-7.4p1-16.el7.x86_64

openssh-clients-7.4p1-16.el7.x86_64

[root@server ~]# ls/usr/sbin/sshd#提供远程管理功能的程序

/usr/sbin/sshd

[root@server ~]# pgrep -l sshd #搜索sshd进程

1181 sshd

  • 远程登录工具 ssh

模板虚拟机:

[root@server /]# ssh root@192.168.88.2

………necting (yes/no)? yes

root@192.168.88.2's password: #输入密码

[root@pc2 ~]# touch /root/hahaxixi.txt

[root@pc2 ~]# exit

登出

Connection to 192.168.88.2 closed.

[root@server /]# cat /root/.ssh/known_hosts #记录曾经远程管理的机器

版权声明

    声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们996811936@qq.com进行处理。