申请key
1
| ssh-keygen -t rsa -C "your_email@example.com"
|
然后一直Enter即可
成功后,可以查看key
安装ssh服务
1 2 3 4 5 6 7 8 9 10
| sudo apt-get install openssh-server
sudo apt-get install openssh-client
sudo systemctl enable ssh
sudo nano /etc/ssh/sshd_config
|
安装远程桌面xrdp
1 2 3 4 5 6 7 8 9
| sudo apt-get install xserver-xorg-core sudo apt-get -y install xserver-xorg-input-all
sudo apt-get install xrdp
sudo apt-get install xorgxrdp
sudo systemctl enable xrdp
|
远程桌面连接
windows: 使用mstsc
mac: 使用Jump Desktop
linux:使用rdsktop
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| sudo apt-get install xserver-xorg-core sudo apt-get -y install xserver-xorg-input-all sudo apt-get install rdesktop sudo apt-get install xorgxrdp
rdesktop -x modem -g 1920x980 -u username -p yourpassword home.yangxl.cn
|