LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-07-2006, 12:27 AM   #1
bhert
Member
 
Registered: May 2006
Distribution: OpenSUSE 10.3 Kubuntu Hardy Heron
Posts: 268

Rep: Reputation: 30
how to use ssh to connect to xp


I have been trying to connect to win xp remotely from suse using ssh. I have another computer that has xp connected via wireless LAN in my home. When I use ssh with the xp's ip address, it just hangs, won't connect. I tested it using ssh with loopback and localhost and it works. Is there some port or firewall I need to open somewhere to make it work? Thanks

bhert
 
Old 09-07-2006, 05:21 AM   #2
karpi
Member
 
Registered: Oct 2005
Location: Germany
Distribution: Suse
Posts: 134

Rep: Reputation: 15
hi,

to connect with ssh to a host, the host must provide a ssh-server/daemon.
XP usually doesn't provide such a server. You may connect via krdc (VNC) to your XP-box.
Another way to resolve this is to install "cygwin".

HTH
 
Old 09-07-2006, 01:49 PM   #3
EclipseAgent
Member
 
Registered: Oct 2005
Location: California
Distribution: SLED 10, openSuSE 10.2, Ubuntu Drapper
Posts: 713

Rep: Reputation: 30
Microsoft Doesn't use Secure Shell (or much anything with the words secure in it).
 
Old 09-07-2006, 02:26 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Another way to resolve this is to install "cygwin".
That's overkill. Just install and configure the OpenSSH for Windows daemon.
 
Old 09-07-2006, 11:50 PM   #5
bhert
Member
 
Registered: May 2006
Distribution: OpenSUSE 10.3 Kubuntu Hardy Heron
Posts: 268

Original Poster
Rep: Reputation: 30
I installed openssh for windows. The instructions were not very informative. It tells me that I need to make a name to put into /etc/passwd. Am I supposed to put it in the ssh progam in windows or in Linux? Also, if I want to connect from xp to linux at my home, how do I start the ssh program?
 
Old 09-08-2006, 11:23 AM   #6
SkippyBoy
Member
 
Registered: Oct 2005
Distribution: Suse10.2
Posts: 65

Rep: Reputation: 15
For connecting from Windows to Linux - use Putty. It works great and is documented well.
For linux to windows - you can use the VNC as stated above - or check out NX/FreeNX.
 
Old 09-08-2006, 11:24 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
The instructions were not very informative. It tells me that I need to make a name to put into /etc/passwd.
It tells you *exactly* what to do so: reread. It's a client-server thing, so if you want to connect from Linux TO MICROS~1 *then* you need to start the SSH Daemon on the MICROS~1 game console and firewall the box to only allow SSH access from your remote IP or range. If you want to connect from MICROS~1 TO Linux then you only need PuTTY. To start the daemon you need to use the service management console or something like "net start ssh", can't remember.
 
Old 09-11-2006, 03:42 AM   #8
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
If I understand correctly you want to connect TO the Windows XP box.
First you have to enable remote connectivity on the Windows box using Remote Desktop.

I'm not 100% sure how to set this up as I'm no Windows guy but certainly for XP PRO the remote desktop is included.

For XP Home you can download it FREE from the M$ site or you can get it off a Windows XP PRO CD.

Then to connect just use the inbuilt SUSE RDESK (or Rdesktop) -- I'm not sure of the exact command but the program is 100% compatable with windows connectivity.

Type your IP address of the Windows box (or host name if the DNS is working) and away you go. --Note however that Windows XP only allows 1 user so anybody logged on to that windows box will be "a--ho-ed" off it.

Windows 2000 will allow up to 3 (or 5 I think can be "hacked) simultaneous users so you are probably better off using W2K if you need multiple concurrent connections / users on the Windows box (unless you are willing to pay for Windows Server 2003).



(For the other way round - Windows to Linux use something like Secure SSH to login, and if you need a GUI (KDE, GNOME etc) start vncserver on console 2. You'' also need a VNC client piece of software on your windows box - RealVNC
or Tight VNC work fine and are free.)

Here's a snapshot of Linux==>Windows and Windows===>Linux

http://www.1kyle.com/rdesk.jpg

Cheers

-K

Last edited by 1kyle; 09-11-2006 at 03:48 AM.
 
Old 09-12-2006, 10:54 PM   #9
bhert
Member
 
Registered: May 2006
Distribution: OpenSUSE 10.3 Kubuntu Hardy Heron
Posts: 268

Original Poster
Rep: Reputation: 30
Sorry for taking so long to reply. I got remote connection from xp to linux no problem. Using ssh from linux to xp did connect but it asked for a password, since I have no password for xp, how do I make password and where do I put it? Thanks

bhert
 
Old 09-20-2006, 10:27 AM   #10
VorDesigns
LQ Newbie
 
Registered: Jul 2006
Location: The Void
Distribution: SuSe 9.1 or 2
Posts: 2

Rep: Reputation: 0
Depending on how you have your XP enviroment setup, you would do one of the following. Note, these instructions are for WinXP Pro, I don't use Home.
-
Default Environment (PlaySkool View)
1. Start Menu
2. Control Panel
3. User Accounts

Add/remove modify users.

Classic View (Corporate View)
1. Start Menu
2. Control Panel
3. User Accounts

Add/remove modify users.

Notes:
While the system may respond to SSH connection attempts, it may never let you in.
Check to make sure you have allowed Remote Desktop Connections and that you have added at least the user that you want to use to connect. BTW, this is the preferred method for connecting to WinXP and the GNU RDP client functions adequately for this task.

Last edited by VorDesigns; 09-21-2006 at 09:44 AM.
 
Old 09-20-2006, 11:41 AM   #11
tlarkin
Member
 
Registered: Oct 2005
Location: Kansas City
Posts: 160

Rep: Reputation: 30
you can create an ssh tunnel to your router (if it supports it) and then connect via vnc through the ssh tunnel. That is if you are trying to connect to it outside your LAN

Or use an application like putty and set up vnc server on your win xp box and let it run through your router.
 
  


Reply



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
ssh + pop3 with kmail: Could not connect to host localhost, but ok without ssh Emmanuel_uk Linux - Networking 0 07-20-2006 04:56 PM
X connect using ssh suguname Linux - Networking 5 03-06-2005 02:54 AM
SSH Won't allow me to connect predator.hawk Slackware 16 11-09-2004 12:53 PM
ssh will not connect rwalkerphl Linux - Newbie 2 07-26-2004 08:17 AM
Can't connect via ssh _TK_ Linux - Networking 3 04-27-2001 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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