LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2006, 11:20 PM   #1
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Rep: Reputation: 31
winxp remote desktop via sshd linux box?


HI,

I have an linux firewall guarding my windows workgroup (winXP). Now I need to allow remote access
and i heard sshopen is easy way to enchance security of RDC. What i would like to know is if there is a way
using the existing linux box to act as sshd listener instead of installing windows version sshd on winxp then port forwarding to linux box?


thx in advance

chris
 
Old 05-31-2006, 03:54 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
sounds like you jsut want to have a look at ssh tunneling in general if you run xp on the client, try an app like putty to ssh to the firewall and in the same config add a tunnel to point at the remote windows boxes rdp port. then just connect to localhost on whatever port you chose to tunnel from.
 
Old 06-05-2006, 01:41 AM   #3
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Original Poster
Rep: Reputation: 31
|remote XP | ========> | Linux Firewall with SSHD | ===> |WorkGrp XP |

(L3388 192.168.50.79:19800) (192.168.50.79) (R19800 localhost:3389)



But when i try localhost:3388 , I got 'client couldn't establish a connection to the remote computer'. I dont' want to install openssh on the workgrp XP .

Last edited by taiwf; 06-05-2006 at 01:43 AM.
 
Old 06-05-2006, 01:50 AM   #4
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Original Poster
Rep: Reputation: 31
double post.. where is the delete buttom lol

Last edited by taiwf; 06-05-2006 at 01:52 AM.
 
Old 06-06-2006, 09:42 PM   #5
taiwf
Member
 
Registered: Jun 2005
Distribution: debian, ubuntu, redhat,knoppix
Posts: 194

Original Poster
Rep: Reputation: 31
ok , i found the solution from my question and thinking it might be helpful if anyone encounter the same problem like this.

remote xp ip =192.168.1.5
workgrp xp ip=192.168.50.222
firewall sshdserver ip = 222.55.55.55


1) workgrp computer need not to do anything.
2) merely configure putty on the remote xp .
--> in tunnel pages, make sure you have source 127.0.0.2:60001
--> destinatino , is 192.168.50.222:3389

3) connect to sshd in firewall server .
4) open MS remote desktop and type in 127.0.0.2:60001

OK, you will wonder why 127.0.0.2 ? Because default 127.0.0.1 won't work for some strange reason. I got this from an article:
http://www.bluestream.org/Networking/SSHTunnelRDP.htm

Hope this help !
 
  


Reply


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
Remote Administration Of WinXP From Linux Box Infernal211283 Linux - Software 4 01-28-2005 12:12 PM
Setting up to do remote desktop to my Suse box from Winxp LoungeLizard Linux - Software 0 09-01-2004 10:29 AM
Remote Control Linux desktop from WinXP Funkester Linux - Newbie 1 12-19-2003 11:40 AM
remote desktop on mandrake... can you log into winxp? Alkaline Mandriva 2 10-07-2003 04:15 PM
Help: Can't see the Linux box in WinXP Rhett Linux - Networking 3 04-17-2002 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:46 AM.

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