在Xshell终端SSH远程服务器端的时候,在导出的对话框中选择使用public key登录,输入私钥密码即可登录:
三、使用VNC远程连接服务
首先在被控端安装VNC服务:
[root@linuxidc pluginconf.d]# yum install tigervnc\* -y
安装服务完毕,打开vncserver设置远程访问密码:
[root@linuxidc pluginconf.d]# vncserver
You will require a password to access your desktops.
Password:
Verify:
使用list选项查看当前开启的远程服务端口:
[root@linuxidc pluginconf.d]# vncserver -list
TigerVNC server sessions:
X DISPLAY #PROCESS ID
:15198
在Windows使用vncviewer远程连接服务端:
使用kill杀死一个远程连接端口:
[root@linuxidc ~]# vncserver -kill :1899
Killing Xvnc process ID 6732
Xvnc seems to be deadlocked. Kill the process manually and then re-run
/usr/bin/vncserver -kill :1899
to clean up the socket files.
2015职称计算机考试书PowerPoint2007中 .. 定价:¥45 优惠价:¥42 更多书籍 | |
2015年全国职称计算机考试教材(2007模 .. 定价:¥225 优惠价:¥213 更多书籍 |