Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 01-26-2005, 01:53 AM   #1
LQ Newbie
Registered: Jan 2005
Location: Pretoria, South-Africa
Distribution: Mandrake 10
Posts: 19

Rep: Reputation: 0
Cygwin/Xwin - SSH tunnel?

I've blocked port 177/udp on our server but the ppl still want to you Xwin to start a gui session to our server box. Useing PuTTy, howcan i set up a ssh tunnel to connect through port 22(ssh) and go about bussiness as usual? Or is cygwin/xwin secure enough and can i leave port 177 open?


Old 01-26-2005, 03:40 AM   #2
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372

Rep: Reputation: 42
177 UDP is for XDMCP, right?

If you can login through putty, and have X forwarding on, you could start X applications when you have the cygwin/X server running.

If you desire a whole X environment with an X manager like KDE, you could consider using 'startx' to have the X session start through the tunnel.

If the putty tunnel is not desirable but you want a desktop environment from the linux box, you should reopen port 177 to allow xdmcp again.

I personally have the cygwin/X server running all the time, patiently waiting for connects, and I have set up putty to do X forwarding. When I log in to my router / server, and start some management tool requiring X (Fedora, duh), it just pops on my screen without hassle.

Hope this helps..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with Cygwin X tunnel through ssh kooshball Linux - Software 1 09-09-2005 11:23 AM
SSH Tunnel - need some help on this MeridianRebel Linux - Networking 2 08-11-2005 02:10 PM
ssh tunnel crep Linux - Networking 2 08-25-2004 08:24 PM
Ssh Tunnel tinaa Linux - Software 7 07-29-2003 07:52 PM
SSH tunnel? tarballedtux Linux - Networking 3 04-09-2002 03:52 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration