服务器网络"/>
服务器网络
配置
-
通常使用
ping
查看网络 -
如果能
ping
通,不能ssh
登陆,安装sudo apt update sudo apt install openssh-server
-
如果已经安装,查看防火墙状态,inactive(不活跃)
sudo ufw status sudo ufw allow ssh sudo ufw reload
-
查看ssh状态
sudo service ssh status sudo service ssh start sudo systemctl start ssh
-
设置ssh开机自启动
sudo systemctl status ssh sudo systemctl enable ssh sudo systemctl restart ssh
更多推荐
服务器网络
发布评论