1.系统:Unbuntu 20+
ifconfig 查ip地址
然后 给服务器端设置ssh服务
安装ssh
sudo apt-get install sshd
sudo apt-get install openssh-server
启动ssh
service sshd start
or
/bin/systemctl restart sshd.service
or
/etc/init.d/sshd start
or
sudo systemctl restart sshd
查看ssh服务状态
sudo service sshd status
在WIFI设置中修改IP映射表即可。
本文介绍了如何在Ubuntu20系统中使用ifconfig获取IP地址,设置并启用SSH服务,包括apt-get安装sshd和openssh-server,启动与检查服务状态,以及在WIFI设置中修改IP映射表的操作步骤。

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



