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 |
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.
|
 |
04-28-2004, 06:21 PM
|
#1
|
LQ Newbie
Registered: Apr 2004
Location: Victoria, Canada
Distribution: Gentoo
Posts: 4
Rep:
|
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?
|
|
|
04-30-2004, 01:10 AM
|
#2
|
Member
Registered: Feb 2004
Posts: 781
Rep: 
|
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
|
|
|
04-30-2004, 01:49 AM
|
#3
|
LQ Newbie
Registered: Apr 2004
Location: Victoria, Canada
Distribution: Gentoo
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
04-30-2004, 03:13 PM
|
#4
|
Member
Registered: Mar 2004
Location: NY
Distribution: Gentoo
Posts: 112
Rep:
|
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?
|
|
|
05-04-2004, 10:50 AM
|
#5
|
LQ Newbie
Registered: May 2004
Posts: 1
Rep:
|
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
|
|
|
05-05-2004, 03:07 PM
|
#6
|
LQ Newbie
Registered: May 2004
Location: Hungary - Budapest
Distribution: Debian
Posts: 1
Rep:
|
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...
|
|
|
08-20-2004, 07:46 AM
|
#7
|
Member
Registered: Jul 2003
Location: Norway
Posts: 65
Rep:
|
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...
|
|
|
09-03-2004, 11:30 PM
|
#8
|
Member
Registered: Mar 2004
Location: NY
Distribution: Gentoo
Posts: 112
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:39 PM.
|
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
|
|