uos安装ssh
安装ssh
sudo apt install openssh-server
查看ssh服务是否运行
ps -e|grep ssh
开启ssh服务
sudo /etc/init.d/ssh start
修改ssh端口
sudo vim /etc/ssh/sshd_config
(#Port 22 处即为修改端口的地方,默认不修改也行)
重启ssh服务
sudo /etc/init.d/ssh stop
sudo /etc/init.d/ssh start
或者
sudo /etc/init.d/ssh restart
版权声明:
作者:k, k
链接:http://kuyour.top/index.php/2023/10/03/uos%e5%ae%89%e8%a3%85ssh/
来源:KuKey
文章版权归作者所有,未经允许请勿转载。
THE END
0
二维码
打赏
海报
![](http://kuyour.top/wp-content/uploads/2024/07/微信赞赏码.png)
![](http://kuyour.top/wp-content/uploads/2024/07/支付宝扫码领红包.png)
uos安装ssh
安装ssh
sudo apt install openssh-server
查看ssh服务是否运行
ps -e|grep ssh
开启ssh服务
sudo /etc/init.d/ssh start
修改ssh端口
sudo vim /etc/ssh/sshd……
![](http://kuyour.top/wp-content/uploads/2023/04/wordpress-logo.png)
共有 0 条评论