LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-12-2004, 07:40 AM   #1
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
ssh connection; explanations, please?


I've used a network in my home just a few weeks now..it's one kind of a test, actually, and one of the machines (the one that connects to net) is without screen, keyboard, mouse etc. so that the only way I can tune or update it is connecting to it from another machine - this is where ssh comes into picture.

now I'd like an explanation for my little "problem"...I use mainly my Athlon to connect to the machine I described above. from Linux (my Athlon is a dual-boot at the moment, altough I don't know for how long) I can connect to my "net-pc" via ssh easily, and do whatever I want with it - no problems there. but when I boot my Athlon to an old win98se (yes, it's the very same pc but only different os...this is what's interesting) and try to make an ssh-connection to the net-pc using putty (or any other app, really) I only get something like

"Can't connect to xxx.xxx.x.x: Unknown network error"

where xxx.xxx.x.x is the ip of the net-pc. I've made sure the ip's are correct, I can use the win98se in the network allright (I tested it with another windows), all lights are normal, cables connected and so on. I've double checked that in the net-pc there is an entry in /etc/hosts.allow that allows this pc to connect (and in linux, as I told, it works) to it so I can't see any source for this problem...still, it just don't work.

so what's wrong with this. how can a different OS cause me to have a failed ssh-connection, altough everything I can imagine should be right? please, if you know about this, tell....not that I would use my windows a lot, but it would be nice to know what the heck is going wrong...

every piece of help is appreciated...
 
Old 05-12-2004, 09:19 AM   #2
ReefShark
Member
 
Registered: Oct 2003
Location: the Netherlands
Distribution: Arch Linux, Ubuntu server
Posts: 145

Rep: Reputation: 15
I haven't used putty in a while (I like the ssh client from ssh.com better), but I think it is possible to activate logging. Also, check the loggin on the machine you are trying to connect to, perhaps run ethereal to see if the ssh session even manages to find its way to your linux box.
 
Old 05-12-2004, 10:02 AM   #3
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
I am not sure that windows 98 supports an ssh connection with out software installed and running. I believe that this is a add on.
 
Old 05-12-2004, 11:05 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Original Poster
Rep: Reputation: Disabled
hmm..could it be so, phatboyz? :/ damn, I'm going to have to check that out. and ReefShark, good you mentioned ethereal..I have it but didn't think of it until now...there's only the problem that I don't have a screen and/or keyboard for the net-pc, so it makes things a bit more difficult, since I hate changing the plugs from one pc to another..

still..I guess that's the only chance :/ anyway, thanks for advice
 
Old 05-12-2004, 01:49 PM   #5
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
Phatboyz is correct. No version of windows includes an ssh server.
 
Old 05-12-2004, 02:00 PM   #6
colnago
Member
 
Registered: Nov 2003
Location: Canada
Distribution: ArchLinux
Posts: 324

Rep: Reputation: 30
You only need an x-server to pop new windows (tunnel). Putty will allow you to open a terminal. I think by default, putty uses telnet, not ssh. Check to make sure the ssh button is checked.
 
Old 05-12-2004, 02:45 PM   #7
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
Good point colnago !!

Buuuutt, let's not go too far of the error message!!!

Telneting to a non open port would have make a cannot connect error...

Well IMHO I am thinking more about a driver thing... Maybe your 98 nic driver is loading the car at 10 mbps and Lnx does it at 100 Mbps... Then you might have to resset you hub/switch/other nick to sync speed.... Well that's only an example of what a driver's dofference could imply...

Dont give up!!
 
Old 05-12-2004, 04:24 PM   #8
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Original Poster
Rep: Reputation: Disabled
nope, I don't think it's the speed...I use a hub between these two machines so it lowers the speed to 10mbps, instead of 100...

colnago, yes I only would need a terminal...and I checked in putty that the ssh -radio button is checked. altough it didn't give anything different whether I tried telnet or ssh :/ the same error msg just continued to come.

also, I can ping the other pc..no packet losses. so the connection goes, but for some reason ssh/telnet/anything just doesn't seem to get through or something.

thanks for your ideas..I would just need a bit more or them I think hopefully this one will get solved. windows always gets me irritated, just because of this sort of things...
 
  


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
Explanations for Networking and users permissions in Red Hat 9 marinovedder Linux - Networking 1 01-08-2004 07:44 PM
ssh connection jeasimkev Linux - Newbie 2 12-10-2003 10:06 PM
Possible explanations for error code 43 with efax jpfox Linux - Software 0 10-29-2003 10:13 AM
Sourceforge ranking explanations. liguorir Linux - Software 0 07-21-2003 10:32 AM
ssh connection doodah Linux - Networking 2 05-09-2001 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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