Wednesday, March 17, 2010

SSH To Remote Solaris Server With X11 Forwarding From Windows Desktop

What is X11?
X11 (also know as X Windows) is basically a GUI for networked computers. Refer this link for details

Softwares used
PuTTy: A ssh and telnet client. Download
Xming: A leading free unlimited X Window server for Microsoft Windows (XP/2003/Vista). Refer this link for details and downloading

Setup
Install and run Xming server on your windows desktop. Next, create a new ssh connection profile on a remote server with X11 forwarding enabled using your PuTTy client. To do this, navigate to your PuTTy configurations under the menu: Connection > SSH > Tunnels and set it up as shown in the snapshot below:

Note: The PuTTy configuration menu might be slightly different depending on the version you are using. This is an example to demostrate the setup.


If you do not have X11 forwarding enabled on the solaris machine you ssh into, the following might help:


vi /etc/ssh/sshd_config

# make sure the following properties are set:
AllowTcpForwarding yes

# X11 tunneling options
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no # this is required because of the IPV6 Solaris problem

svcadm disable /network/ssh
svcadm enable /network/ssh



Bookmark and Share

0 comments:

Post a Comment