LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-28-2004, 06:21 PM   #1
KidKootenay
LQ Newbie
 
Registered: Apr 2004
Location: Victoria, Canada
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
Putty and ssh connection hangs


I'm having problem getting and ssh connection to a particular Linux box at my school. The putty terminal opens but remains blank and does not time out. The funny thing is I only have this problem from some windows boxes. I can ping the address and get a response. I can also access several other Linux machines with no problems from these machines. I have done some goggle searching and talked to several administrators to no avail.

The Linux box is running Slackware with I believe Open ssh. The windows boxes are running WinXp sp1 and Putty 0.54; the same configuration as other boxes that work.

Does anyone have any suggestions?
 
Old 04-30-2004, 01:10 AM   #2
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
hello

do u have a proxy server? if yes, you have to set this in the putty-options, and don't forget the port.

if it still don't works...ask the system-admin from your school if you have permission to acces the the server from outside. most of these server have a firewall.

cheers, boby
 
Old 04-30-2004, 01:49 AM   #3
KidKootenay
LQ Newbie
 
Registered: Apr 2004
Location: Victoria, Canada
Distribution: Gentoo
Posts: 4

Original Poster
Rep: Reputation: 0
As far as I know there is know proxy sever. Both computers are part of the same domain at the school. There is no firewall to speak of and I can get access from home just not a couple a specific computers at school.
 
Old 04-30-2004, 03:13 PM   #4
mijenks
Member
 
Registered: Mar 2004
Location: NY
Distribution: Gentoo
Posts: 112

Rep: Reputation: 15
I've had a very similar problem with PuTTY the last few days. In fact, I've had a lot of network problems the last few days. Nautilus won't do any smb protocol, my syslogd daemon keeps stopping, and now this PuTTY problem, too.

Anyways, here is the setup.

My school gives each student storage space, so I have the PuTTY.exe on there, so I can ssh to my computer in my room from any computer on campus. This has always worked up until a few days ago. When I click "connect" (I think that is the button, can't remember, I think I actually just press enter), the connection (black terminal) screen opens for a few seconds (five or so), then it exits.

I have telnet, rlogin, insecure connections, etc disabled. Only Port 22 is open as far as remote command protocols go. I'm pretty sure my ssh daemon is still running, though I can't check on that right now.

Hosts.allow:
ALL:.xxxxxx.edu (xxxxx is school's domain name)

Hosts.deny:
ALL:ALL


There are only two reasons I can think of for this problem. (1) sshd has, for some reason, quit and needs to be restarted or (2) as of two days ago, the network no longer allows remote command protocols (which would be weird, and out of the blue, and piss off those in the Chem dept that run Chemistry computations on a Linux cluster via SSH/PuTTY).

I'll check on my ssh daemon later today. Also I'll check with the Chem Prof who admins the Linux cluster to see if he's had problems. Anyone else seen these problems?
 
Old 05-04-2004, 10:50 AM   #5
phatotis
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Here's some more (hopefully useful) information on this problem.

I'm having the exact same problem with almost the same setup (I'm using Redhat 9). This problem started for me on a laptop that had an ip conflict with the Redhat server (yes, i fixed the ip conflict). Since then, the laptop won't connect with putty or the native xp ftp client. The server (a test server) has been re-formatted and re-loaded since the problem started and still the same results. This leads me to believe the problem is with the xp system (thanks, bill).

I also wiped out all of the registry entries and re-created profiles on the xp machine. I've tried host names and ip addresses. The putty log never shows more than the beginning time stamp.

I hate the thought of re-loading the laptop but until I get this figured out I actually have to get out of bed and work from my desk.

Anyway, I hope this gives the smart people a little more info to help figure this out.

Thanks,
phat
 
Old 05-05-2004, 03:07 PM   #6
Antronin
LQ Newbie
 
Registered: May 2004
Location: Hungary - Budapest
Distribution: Debian
Posts: 1

Rep: Reputation: 0
Question Some plus information...

I have the same problem with a Debian 3.0 Linux Server. This is a new installation, and I can't connect to it on SSH. Another anomaly is that if I try to view an HTMl page from that server, the page comes down but the images are not, only the first ~2000byte. If I refresh, than another ~2000byte.
I figure out: if I(on my XP) disable the Ethernet card, and enable it again, in the next ~10seconds I can connect in SSH to the server and the connection stay stable. But when I close the connection and want to connect again, theres only a big black window in PuTTY.
I'm on a UPC broadband, and from any other network the connection and the HTML works perfectly. I tried it on a laptop from the same network and it is not worked, so the problem is on the broadband I think.
I hope somebody (a Linux/NetWork guru) could figure out something from this...

PS.: Sorry for my bad English...
 
Old 08-20-2004, 07:46 AM   #7
Bjorkli
Member
 
Registered: Jul 2003
Location: Norway
Posts: 65

Rep: Reputation: 15
I have a similar problem. (Well. PuTTY actually just disapears after logging in with a valid username)

But with a quick fix (type "service sshd restart") in terminal on the server as root fixes it for me.

Anoying to have to do this every time the machine reboots though...
 
Old 09-03-2004, 11:30 PM   #8
mijenks
Member
 
Registered: Mar 2004
Location: NY
Distribution: Gentoo
Posts: 112

Rep: Reputation: 15
Sorry to not respond for so long. I've been moving in at school.

Sounds to me like your SSH daemon isn't getting started when you boot. I've since switched to Slackware, but I believe you might try the following:

Go to your network settings. Find out where the settings are for services. There should be an option for SSH. If you check this option, the SSH daemon should start automatically when you boot. Under Slackware (and other distros that use the /etc/rc.d/rc.* convention) simply make rc.sshd executable (chmod +x /etc/rc.d/rc.sshd) and that should start up the SSH daemon automatically at boot.
 
  


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
ssh hangs after establishing connection TreeHugger Linux - Security 2 11-03-2004 10:20 AM
putty SSH connection deWin Linux - Newbie 3 03-26-2004 09:47 AM
SSH PuTTy gives "connection refused" Sathington Linux - Networking 5 03-18-2004 05:10 AM
my PuTTY connection over ssh is too slow. chris.pickett Linux - Networking 2 11-22-2003 02:57 AM
Connection from Win98 to RH9 through putty (SSH) mikeshn Linux - Networking 14 07-13-2003 01:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:39 PM.

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