Linux SSH 配置
74 字小于 1 分钟
2026-05-20
打开SHH
sudo apt install openssh-server
sudo systemctl start ssh
sudo systemctl enable ssh
sudo systemctl status ssh
sudo apt install openssh-client
sudo ufw allow ssh修改密码
passwd root
sudo passwd root查看ip
sudo apt install net-tools
ifconfig
sudo chmod a+rwx 文件名如:/dev