LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-09-2004, 12:12 PM   #1
cummic
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Rep: Reputation: 15
Black Screen PuTTY and SSH on Slackware 10


I have slackware 10 installed and the OpenSSH 3.9p1. When I try and connect to the server through PuTTY on Windows XP sp2 I just get a blank screen. The logon prompt never comes up. When I first installed the server I connected once and then I got the above problem. I thought it was my version of OpenSHH so I upgraded it. I cannot connect to the server outside of my local network on my and a different XP machine. Also, I can connect to the server through another linux box that is outside of the LAN. Any ideas how to get it to connect?

Thanks,
C

Last edited by cummic; 12-09-2004 at 04:21 PM.
 
Old 12-09-2004, 12:29 PM   #2
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
are you using a valid user name? when you connect?

you also might wana see if you can try to log on using ssh on a *nix machine (that will tell you for sure where the problem lies,client or server)
 
Old 12-09-2004, 12:29 PM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Are you sure the server is running, in linux side try:

netstat -an | grep tcp.*22.*LISTEN

And in windows side what is the output for :
telnet <your linux machine IP> 22
in a cmd prompt
 
Old 12-09-2004, 01:38 PM   #4
drj000
Member
 
Registered: Sep 2004
Location: Houston, TX
Distribution: Fedora
Posts: 261

Rep: Reputation: 33
Re: Black Screen PuTTY and SSH on Slackware 10

Quote:
Originally posted by cummic
When I try and connect to the server through PuTTY on Windows XP sp2 I just get a blank screen.
Is it just when you try to connect through Putty? Have you tried to connct through another SSH client? Have you tried connecting through a Linux box? Maybe there's something wrong with your version of Putty.
Also, is the IP for the Windows box you're using on your hosts.allow file to allow connection to your Linux box? I had that problem once when I came back to my parent's house for a weekend. I added their IP to my hosts.allow file before I left, but their IP changed while I was here (somone turned off the DSL modem for some reason, and it got a new IP when it was turned back on), and I could no longer connect to my computer. I would get just a blank screen on Putty when that happened.
 
Old 12-09-2004, 04:28 PM   #5
cummic
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Original Poster
Rep: Reputation: 15
When I type the netstat command I get this:

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN

On the XP machine I get a blank screen.

I re-posted my original reply and can connect on trhough a linux machine outside of my network.
 
Old 12-09-2004, 04:31 PM   #6
cummic
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Original Poster
Rep: Reputation: 15
I don't have anything in my host.allow file.
 
Old 12-09-2004, 09:02 PM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
I re-posted my original reply and can connect on trhough a linux machine outside of my network.
How is your ssh server connected to the Internet? Is it directly connected or is there a router? If there is a router, do you have it set up to forward port 22 to the ssh server box?
 
Old 12-09-2004, 09:45 PM   #8
cummic
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Original Poster
Rep: Reputation: 15
It is connected through a router and it is already set to foward the port to it.
 
Old 12-10-2004, 07:03 AM   #9
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
I would think you have a built-in firewall in XP that block tcp 22 port, it should
display the SSH banner when telnet to linux machine with port tcp 22 at cmd prompt.

Last edited by Cedrik; 12-10-2004 at 07:04 AM.
 
Old 12-10-2004, 07:29 AM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
OK, after re-reading your posts, I guess I'm confused about what you can and cannot do. Let me rephrase your posts and please tell me where I'm wrong.

- You cannot connect to the ssh server from XP either from within your LAN or from outside
- You can connect to the ssh server from Linux both from within your LAN and from outside


If this is the case, then I'd bet that the XP firewall is the problem.
 
Old 12-10-2004, 10:11 AM   #11
cummic
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Original Poster
Rep: Reputation: 15
Just one correction to what you stated above:
-I don't know if I can connect to the server through a Linux box
within my LAN b/c I don't have another linux box.

Second, my XP firewall is turned off on my laptop.

Third, I get a blank screen on PuTTY and never get a loging prompt.

Fourth, when I use puTTY from the XP machine to connect to another Linux server on port 22 outside my LAN I get a login prompt
 
Old 12-10-2004, 10:22 AM   #12
cythrawll
Member
 
Registered: Nov 2004
Location: IL, USA
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 31
hmm this is quite odd, I use PuTTy daily at work from a XP machine to a server (outside on the internet)... I never had an issue with it. But one difference that I see is that I used the sshd that came with the distro,
 
Old 12-10-2004, 10:23 AM   #13
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
That seems more clear now, you did never success to connect with SSH to your linux box in your
lan ?
Have you a firewall in the linux box, could you ping the linux box from cmd XP prompt ?
 
Old 12-10-2004, 10:38 AM   #14
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
If you've never been able to make an ssh connection to your linux box in any form, I second the notion that your linux firewall may be the problem. Please post your firewall script or the output of iptables -L
 
Old 12-10-2004, 10:49 AM   #15
cummic
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Original Poster
Rep: Reputation: 15
I did use the sshd with the distrubution and it didn't work either that is why I upgraded

I can ping the server from the xp machine

The iptables gives me this:

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FOWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
 
  


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
Black border on LCD screen, Slackware 9 artisan Linux - Laptop and Netbook 9 03-10-2006 07:00 PM
'startx' gives me a black screen on new slackware 10 install evank Linux - Newbie 5 01-07-2005 09:59 PM
After slackpkg update(all current p'kges), Slackware 10 stops loading (black screen). SlawioG Slackware 3 11-28-2004 09:19 AM
Black Screen after Slackware 10.0 installation snoopydoo Slackware 1 09-05-2004 10:36 AM
Slackware 9.1 new kernel compile displays black screen on boot. Krenn Slackware 3 03-29-2004 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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