Debian Minimal可通过以下方式远程访问:
SSH远程登录
sudo apt update && sudo apt install openssh-server
。sudo systemctl start ssh && sudo systemctl enable ssh
。sudo ufw allow ssh
。ssh username@remote_ip
(默认端口22,可自定义)。VNC远程桌面
sudo apt install tigervnc-standalone-server
。vncserver :1
(首次启动需设置密码,端口默认5901)。remote_ip:5901
及密码。xrdp远程桌面(Windows兼容)
sudo apt install xrdp
。sudo systemctl start xrdp
。remote_ip
,端口默认3389。安全建议: