1、安装openssh-serversudo apt-get install openssh-server
2、开机自动启动ssh命令sudo systemctl enable ssh
3、关闭ssh开机自动启动命令sudo systemctl disable ssh
4、单次开启sshsudo systemctl start ssh
5、单次关闭sshsudo systemctl stop ssh
6、设置好后重启系统reboot
7、查看ssh是否启动,看到Active: active (running)即表示成功sudo systemctl status ssh
最后
以上就是贪玩可乐最近收集整理的关于ubuntu上安装ssh-server过程的全部内容,更多相关ubuntu上安装ssh-server过程内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复