摘要: 环境 lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 Codename: noble 先说原理 iptables 如果服务 阅读全文
posted @ 2024-04-28 15:43 vx_guanchaoguo0 阅读(38) 评论(0) 推荐(0) 编辑
摘要: Ubuntu安装后,root用户默认是被锁定了的,不允许登录,也不允许 su 到 root ,可以通过更改root的密码来登录root。 需要设置密码 sudo passwd root password for ubuntu18:当前用户的密码 Enter new UNIX password:这个是 阅读全文
posted @ 2024-04-28 10:42 vx_guanchaoguo0 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 开启sshd netstat -tlp # cp6 0 0 *:ssh *:* LISTEN - 安装 sudo apt-get install openssh-server 启动 systemctl start ssh systemctl status ssh 连接 ifconfig ssh sa 阅读全文
posted @ 2024-04-28 10:13 vx_guanchaoguo0 阅读(8) 评论(0) 推荐(0) 编辑