连接WiFi:
nmcli device wifi connect "xxx" password "yyy"
查看当前网络:
nmcli con show
重设Linux密码:
sudo passwd root
安装防火墙:
sudo apt-get install firewalld firewall-config
查看防火墙状态:
systemctl status firewalld
安装ssh:
apt-get update
sudo apt-get install openssh-client
sudo apt-get install openssh-server
启动ssh服务:
/etc/init.d/ssh start
[ ok ] Starting ssh (via systemctl): ssh.service.
查看是否安装成功:
sudo ps -e | grep ssh
更改ssh配置:
vim /etc/ssh/sshd_config
将#PermitRootLogin without-password改为PermitRootLogin yes
重启ssh:
/etc/init.d/ssh restart
使用ssh工具连接板子: