Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 09-04-2007, 05:50 AM   #1
LQ Newbie
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
how to ssh into windows machine from Linux box

I have 2 machine viz a Linux with cent-os 4.4 and other with windows xp.
I have cygwin installed on my xp machine and sshd running on it.
I want to do authentication less communication between xp machine and my Linux box. I can genererate keys using ssh-keygen utility and achive the same. My query is
- How do I ssh into xp machine ??
- Do I need any other ip or my existing ip for xp machine will do ??
- What else I need to set on both machines ??

Thanks in advance
Old 09-04-2007, 06:53 AM   #2
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
You can do either: ssh (username)@(hostname or ip) or ssh -l (username) (hostname or ip).
Old 09-04-2007, 07:19 AM   #3
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Basically you just
- configure ssh server (sshd) so it can allow logins, but try to make it as secure as you can (deny root logins etc.)
- configure your ssh client if you want to, defaults are often enough
- generate keys and whatever you might need
- ssh just the way you'd do it to a Linux machine; "ssh user@host", if the ssh port is set to the default value (22) on the server; otherwise you would need to specify the target port also when connecting.
- if connection fails, check that firewalls don't block you away
Old 09-04-2007, 12:09 PM   #4
Registered: May 2001
Posts: 29,359
Blog Entries: 55

Rep: Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546
This thread deals with things ClippyOS so I moved it to the appropriate forum, /General.


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
Can't connect to Linux box from one windows machine keimdf Linux - Networking 1 01-04-2007 09:10 PM
SSH forward from a Windows machine to a Linux machine isn't working nickj6282 Linux - Networking 3 08-13-2006 02:47 PM
ssh connection from a Windows machine to a Linux machine pistachio Linux - Networking 1 08-30-2005 10:45 AM
Accessing a printer on a windows XP machine from my Linux box drebbin Linux - Newbie 2 09-20-2004 02:39 PM
Can't see linux box running Samba from Windows machine RBLynch Linux - Newbie 2 03-21-2002 07:59 PM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 04:36 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