Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-04-2001, 02:53 PM   #1
LQ Newbie
Registered: Apr 2001
Posts: 1

Rep: Reputation: 0

I've just installed Slackware 7 on a box and am trying to configure it for reasonable security (hence the installation of openssh). It's taken me a good bit of time just to get the correct libraries in place, ssl installed, and ssh itself installed. I've gotten to the point where I've generated a public key and individual keys for two users (me and my roomate). The daemon is running and still the connections are refused by my system. I'm fairly sure I have everything installed correctly (including a bug listed for Slack on the openssh website)and the configuration seems to be the problem. I don't care if it's configured using generated keys or password authentication. The whole idea of this is just so I can ssh in from work and mess around with the box for learning purposes. I've cut all services except for telnet in the inetd.conf file also.

I don't know enough to know what to even ask on this one. I've read through the documentation but a good bit of it is above my head. Since the question of 'how do I fix this' is so broad, I'd appreciate it if anyone can point me to a good openssh configuration guide, suggest a few things I could check, or anything you think I would find helpful.

I'd even be willing to let someone telnet in to my box and see if he sees the problem. My box is running strictly for learning purposes and I don't care if I end up having to reinstall or whatever. Anyone have any suggestions??
Thanks for your help.

Old 10-25-2003, 08:27 PM   #2
Registered: Jul 2003
Location: Houston Texas
Distribution: Mandrake
Posts: 38

Rep: Reputation: 15
check yer firewall

Old 10-26-2003, 02:27 AM   #3
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Hi there,

You need to figure out whether the problem is with sshd or whether its something else, like a firewall. Bear in mind that ssh should allow you to get a login prompt with no configuration at all. If you just install it and its running, you should get a login prompt when you ssh to the box just like with telnet.

So, question 1 is whether you can get this login prompt if you ssh to the box and don't have anything set up.

One way you should be able to tell if its a network or ssh issue is to ssh to the box from itself - e.g. log onto myserver and type "ssh myserver". This will often connect when a firewall is blocking connections from other sources.

Two other things to try :
1. When you do an ssh, use the -vvv flag (e.g. ssh -vvv myserver). You can post the output here if its not clear.
2. Look in /var/log/messages on the server you are connecting to. If something is refusing a connection, it will often give a clue why in this file (could be another similar file).


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
Routing Nightmare pianochef Linux - Networking 0 02-05-2005 03:28 PM
The Installlation Nightmare TuxFreak Linux - General 2 12-14-2004 06:20 AM
Permission Nightmare edigital Linux - General 1 02-04-2004 05:36 PM
Network nightmare cavy Linux - Networking 8 03-27-2003 09:35 AM
ML 8.2 Nightmare! descras Linux - General 2 08-22-2002 05:06 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration