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