admin管理员组

文章数量:1576789

WIFI

连接WiFi:

nmcli device wifi connect "xxx" password "yyy"

查看当前网络:

nmcli con show

SSH

重设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工具连接板子:

本文标签: 泰山设备嘉立创SSHwifi