歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Putty && Xming 遠程登錄 CentOS

Putty && Xming 遠程登錄 CentOS

日期:2017/2/28 15:56:57   编辑:Linux教程

--------------------------------------------------------------------


Host OS : Windows 7.

Guest OS : CentOS 5.7

Virtual Machine : Vmware Player 4 build.

Connection Type: Nat

參考:http://www.linuxidc.com/Linux/2012-02/53988.htm

--------------------------------------------------------------------

英文官方 putty 下載地址(目前不要下載中文版的,有後門) : http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html


貌似centos 安裝就已經能支持 ssh 登錄, 當然別忘了檢查selinux 是否信任 ssh 服務。


#setup

|- Firewall configuration-> Customize -> Allow incoming : ssh (選中 )

直接啟動 putty , 填入 GuestOS ip , 端口 : 22 . 登錄就行了 。

PS :


中文支持一: Putty Configuration->Window->Appearance->Font settins-> change-> 新宋體

中文支持二 : Translation-> Character Set Translation -> Remote Character Set -> UTF-8


-----------------------------------------------------------

xming 下載地址 : http://sourceforge.net/projects/xming/


#vi /etc/ssh/sshd_config

|- X11Forwrding yes ( 允許 x 通信)


* 啟動 xlauch -> one window (display number:0),

* Run Remote -> using Putty(plink.exe) -> Connect to computer(GuestOS's IP)->

login as user(username) -> Passward

* next -> skip -> finish(open) .

打開gnome 界面。


#gnome-session

Copyright © Linux教程網 All Rights Reserved