SSH -X 登入

把 ssh-genkey生成的id_rsa複製到PC的termux_debian.rsa

把id_rsa.pub複製成authorized_keys

chmod 0600 termux_debian.rsa
ssh 192.168.43.1 -XY -l root -p 2222 -i termux_debian.rsa

export DISPLAY=:11.0

Last updated