LinuxQuestions.org
Visit Jeremy's Blog.
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-10-2004, 02:59 PM   #16
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244

What do you call an blank screen when you attempt to telnet <linux box> 22 from the dos cmd
prompt ?

From linux could you 'ssh localhost' ?
 
Old 12-10-2004, 03:21 PM   #17
shy
Member
 
Registered: Dec 2002
Location: Russia
Distribution: ASP linux
Posts: 94

Rep: Reputation: 15
Usually a blank screen (even without a prompt for user name) means that connection can't be established. Try to look at putty's logs (when you see the blank screen, click on the left-upper corner, and point to 'log' in menu), when does it stop?
 
Old 12-10-2004, 05:16 PM   #18
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
OK, so PuTTY works with a different machine, so neither PuTTy nor XP are a problem. You don't have a firewall on your linux machine, so that isn't the problem. About all that is left is the ssh daemon on the linux box or the ethernet interface. If you can connect OUT of your linux box, then the ethernet card is working OK and isn't the problem You also might want to have a look at the output of ifconfig and see if anything looks funky there. If you look in your /var/log/messages file, you should see attempts to log into ssh. If you don't, get on your linux box and try to ssh localhost. If that doesn't work, then I think you are looking at a re-install of ssh.
 
Old 12-10-2004, 05:34 PM   #19
cummic
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Original Poster
Rep: Reputation: 15
This is what I get for puTTY:
2004-12-10 15:26:40 Looking up host "192.168.0.99"
2004-12-10 15:26:40 Connecting to 192.168.0.99 port 22

There is nothing the the /var/log/messages file after I attempt to connect through puTTY. This is what i get in the var/log/messages file after I type ssh localhost:

Dec 10 16:35:07 xmans sshd[2142]: Accepted Password for root 127.0.0.1 port 32795 ssh2
 
Old 12-10-2004, 05:48 PM   #20
cummic
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Original Poster
Rep: Reputation: 15
What is the best way to uninstall ssh and re-install it none of this works?
 
Old 12-11-2004, 09:15 AM   #21
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
That depends on how you installed ssh. You said that you dumped the Slackware version and installed your own. If you compilied from source, and still have that on your disk, you can try make uninstall and hope that works. If it doesn't, you'll have to look at the makefile to figure out where stuff was installed and delete it by hand. If you complied from source and used checkinstall or installed a Slackware package, then removepkg should do the trick.

The messages you posted do suggest that ssh is running on your machine (you can connect from localhost) but it isn't seeing any connections from outside. Since you haven't posted any info about the ethernet card itself, I still view this as a suspect. It would be very possible to have a bad ethernet card and still be able to connect to ssh through localhost.

And finally don't log into ssh as root! Very bad practice.
 
Old 12-11-2004, 09:44 AM   #22
shy
Member
 
Registered: Dec 2002
Location: Russia
Distribution: ASP linux
Posts: 94

Rep: Reputation: 15
Reinstall of ssh most likely won't help. Your log
Quote:
This is what I get for puTTY:
2004-12-10 15:26:40 Looking up host "192.168.0.99"
2004-12-10 15:26:40 Connecting to 192.168.0.99 port 22
says that the connection opened by putty didn't reach linux box with ssh. It was just lost somewhere in the middle...

Last edited by shy; 12-11-2004 at 09:46 AM.
 
Old 12-11-2004, 09:54 AM   #23
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Here's a crazy idea. You cannot connect to your Linux box via PuTTY when outside your LAN. You get a log that says:

Quote:
2004-12-10 15:26:40 Looking up host "192.168.0.99"
2004-12-10 15:26:40 Connecting to 192.168.0.99 port 22
If I am understanding this correctly, this is the log from a PuTTY that is not in the LAN that has the ssh server. That would mean that you are looking for the wrong IP address.

Maybe I am reading this wrong?
 
Old 12-11-2004, 01:24 PM   #24
cummic
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Original Poster
Rep: Reputation: 15
The computer that was trying to connecting to that server was in the LAN and that was the local address. The server has an apache server and people can connect and see it from the outside world. and someone can connect the the linux server through a linux machine. Does that still mean that it could be the ethernet card? How do I get info on my ethernet card?
 
Old 12-11-2004, 01:29 PM   #25
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Another idea, D/L a port scanner for the Windows box and scan 192.168.0.99 . That will tell you if the Slack box is reachable from the Windows box.
 
Old 12-11-2004, 02:17 PM   #26
cummic
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Original Poster
Rep: Reputation: 15
I ran one and this is what it says:

Warning: OS detection will be MUCH less reliable because we did not find atleast 1 open and 1 closed TCP port
All 1663 scaned ports on CC <192.168.0.99> are: filtered
MAC Address: 00:0C:6E:38:E2:59 <Asustek Computer>
Too many fingerprints match this host to give specific OS details

Nmap run completed -- 1 IP address <1 host up> scanned in 398.838 second

Last edited by cummic; 12-11-2004 at 02:27 PM.
 
Old 12-11-2004, 02:19 PM   #27
cummic
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Original Poster
Rep: Reputation: 15
And I can also connect from the linux box to the windows machine and vice versa through samba
 
Old 12-11-2004, 02:27 PM   #28
shy
Member
 
Registered: Dec 2002
Location: Russia
Distribution: ASP linux
Posts: 94

Rep: Reputation: 15
It is very strange that you can connect to linux samba ports from windows machine while your port scanner says that
Quote:
All 1663 saned ports on CC <192.168.0.99> are: filtered
what means that some intermediate comp in your LAN blocks all these ports.

Can you please show the output of
Code:
telnet 192.168.0.99 139
telnet 192.168.0.99 80
telnet 192.168.0.99 22
from windows machine?

Last edited by shy; 12-11-2004 at 02:29 PM.
 
Old 12-11-2004, 02:43 PM   #29
cummic
LQ Newbie
 
Registered: Dec 2004
Posts: 23

Original Poster
Rep: Reputation: 15
When I telnet 192.168.0.99 22 I try and type things but i can't see anything and then after a little while i get SSH-1.99-OpenSSH_3.9p1
Connection to host lost.

When I do the same for 80 i start typing and can't see anything and then i get back to the cmd prompt.

For 139 i can type and still not see and nothing ever happens
 
Old 12-11-2004, 03:10 PM   #30
shy
Member
 
Registered: Dec 2002
Location: Russia
Distribution: ASP linux
Posts: 94

Rep: Reputation: 15
Wierd. That means you are able to connect to ssh. It crosses out the words
Quote:
2004-12-10 15:26:40 Looking up host "192.168.0.99"
2004-12-10 15:26:40 Connecting to 192.168.0.99 port 22
becase putty should definitely continue these logs, if you see ssh's prompt by telnet ("SSH-1.99-OpenSSH_3.9p1"), and finally show you the login prompt.

It also means that all the things said about blocked network packets were not the case here.
I'm really surprised. The only thing I can suggest after all this - try to get the most up-to-date putty version and try again....
 
  


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
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 05:35 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