Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-12-2004, 07:40 AM
|
#1
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep:
|
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...
|
|
|
05-12-2004, 09:19 AM
|
#2
|
Member
Registered: Oct 2003
Location: the Netherlands
Distribution: Arch Linux, Ubuntu server
Posts: 145
Rep:
|
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.
|
|
|
05-12-2004, 10:02 AM
|
#3
|
Member
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358
Rep:
|
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.
|
|
|
05-12-2004, 11:05 AM
|
#4
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Original Poster
Rep:
|
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
|
|
|
05-12-2004, 01:49 PM
|
#5
|
Member
Registered: Oct 2003
Distribution: Slackware
Posts: 388
Rep:
|
Phatboyz is correct. No version of windows includes an ssh server.
|
|
|
05-12-2004, 02:00 PM
|
#6
|
Member
Registered: Nov 2003
Location: Canada
Distribution: ArchLinux
Posts: 324
Rep:
|
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.
|
|
|
05-12-2004, 02:45 PM
|
#7
|
Member
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210
Rep:
|
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!!
|
|
|
05-12-2004, 04:24 PM
|
#8
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Original Poster
Rep:
|
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...
|
|
|
All times are GMT -5. The time now is 02:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|