1.ifconfig setup:
sudo apt install net-tools
E: 无法定位软件包 net-tools
sudo apt-get update,sudo apt-get upgrade.
open timnal :ctrl+alt+T
ssh install
sudo apt install openssh-server
ssh start
sudo service sshd start
ssh restart
sudo service sshd restart
ssh status check
sudo systemctl status ssh
enable firewall
sudo ufw allow ssh
enable ssh
sudo systemctl enable
disable ssh
view ip:
ip a,ifconfig

这篇博客介绍了在Linux系统中安装和配置网络工具net-tools,解决无法定位软件包的问题,通过更新和升级系统,安装并启动SSH服务器,以及如何使用防火墙ufw允许SSH连接。同时,还展示了检查SSH服务状态的方法以及查看IP地址的命令。
2693

被折叠的 条评论
为什么被折叠?



