LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2008, 12:42 PM   #1
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Rep: Reputation: 41
Question connection between windows and linux


Hi All,
I have a RHEL5 machine and few win-xp sp2 machines at my workplace. I am able to connect any windows machine to the RHEL5 machine through Cygwin.
But, i am not able to connect to any windows machine through RHEL5 machine. I tried "ssh user@<IP>" to connect to windows machines from RHEL5 machine, but got the error messgae : "ssh: connect to host <IP> Port 22: Connection Refused"
This is the error i am getting with every windows machine

Could anyone suggest me how to rectify this problem....

Thank You in advance,
Kapil Bajpai
 
Old 11-14-2008, 12:57 PM   #2
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Probably no ssh server running on your Win machines

or

there are firewalls on them blocking port 22.
 
Old 11-14-2008, 01:51 PM   #3
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Question windows and linux

Hi There(clearview)

Thank You for the concern..
I think ssh is running on every computer, otherwise how would i got connected to RHEL machine via Windows machines.
The process is not working other way round. How can I check Firewall settings for the port blockage?? This might be the reason....

Thank You,
Kapil.
 
Old 11-14-2008, 02:05 PM   #4
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
No, on Cygwin you are using ssh client to dial into Red Hat which has OpenSSH server running. SSH server and client are different things - for every machine you want to dial into you need to have a running ssh server on it.
 
Old 11-14-2008, 02:13 PM   #5
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Original Poster
Rep: Reputation: 41
Question windows and linux

Hi Klearview,

Well, in that case, could you please suggest me how to check for running SSH server on windows machines?? If this would be the case then, is it like that we have to install ssh server on every windows machine ??

Do we have any other way to connect RHEL machine to Windows machine, apart from SSH way ?? If yes, then please tel me about that .

Thank you,
Kapil.
 
Old 11-14-2008, 02:24 PM   #6
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
If you haven't installed an ssh server on a Windows machine it will not have one. Historically ssh was more of a Unix/Linux thing although I believe Windows Server 2008 now comes with ssh server (I might be wrong on details here as I haven't seen Win machine in ages but one thing is for sure - no desktop machine will have ssh server installed and running unless you have installed and started it).

The best way to administer XP machines from Linux is to use RDP - on XP you need to enable remote desktop (right-click on 'My Computer' and go to 'Remote' tab - I think that only applies to Professional edition, don't know about 'Home'). Once you've enabled remote management on Windows you need RDP client on Linux. In KDE use KRDC, in Gnome I don't know but open your package manager and search for RDP and you'll find a couple of clients.
 
  


Reply

Tags
linux, windows


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
[SOLVED] DSL connection slow on Linux wired connection but fast on Windows wireless Pandarsson Linux - Wireless Networking 9 12-17-2010 06:55 PM
connection between windows and linux kapilbajpai88 Linux - Newbie 9 10-15-2008 10:55 PM
Windows - Linux Connection rengo.Java Linux - Wireless Networking 2 04-05-2007 08:51 AM
connection between linux and windows wweiy Linux - General 4 12-14-2006 03:35 AM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 08:02 PM


All times are GMT -5. The time now is 06:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration