ssh 发表于 2019-01-29 更新于 2025-02-15 分类于 ssh vi /etc/ssh/sshd_config #PermitRootLogin yes PermitRootLogin no vi /etc/ssh/sshd_config X11Forwarding yes shell: xhost + //允许服务器的的x11界面连接过来 ssh -X foo@ip //-X参数表示转发X11数据