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

Notices


Reply
  Search this Thread
Old 01-25-2011, 10:28 AM   #1
AKStorch
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Rep: Reputation: 0
Can't Connect via SSH using Lenny as a server


Hi

I am very new to Debian coming from CentOS. I am setting up a server for a customer. I can't SSH to it nor can I get to the port for the 3ware Disk Admin. I have checked this forum and tried:

Flushing the iptable
verifying sshd is running
verifying inetd is running

I can PING the server and I can PING yahoo from the server.

Help?


Thanks
 
Old 01-25-2011, 10:37 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
What is SSHd listening on? (netstat -nap | grep LISTEN.*sshd)
Do you have a firewall in place? (iptables -L)
Is this behind a hardware firewall such as a commercial router?
 
Old 01-25-2011, 10:38 AM   #3
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Debian doesn't install the ssh server by default. Install the appropriate packages if you haven't done so. If these are installed, check, if multiple NIC's are available, if you try to connect to the right one. Check also for SELinux components/policies, these may also get in your way... (especially if the machine is re-installed from an RH based system, having stale config files left over)

To give your customer a headstart, consider upgrading to Squeeze, the upcoming Stable, to be released as such next month.
 
Old 01-25-2011, 10:48 AM   #4
AKStorch
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
What is SSHd listening on? (netstat -nap | grep LISTEN.*sshd)
server responded with nothing
Quote:
Do you have a firewall in place? (iptables -L)
no
Quote:
Is this behind a hardware firewall such as a commercial router?
no. the computer and the Lenny server are both on the private 192.x.x.x office network
 
Old 01-25-2011, 11:04 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
server responded with nothing
Start/install the sshd on the server.

Kind regards
 
Old 01-25-2011, 11:25 AM   #6
AKStorch
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
Start/install the sshd on the server.

Kind regards
This worked:

apt-get install openssh-server

sooooooo I gues my question is why did it not install initially?
 
Old 01-25-2011, 12:06 PM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
sooooooo I gues my question is why did it not install initially?
As Dutch Master said,
By default Debian does NOT install the ssh server if you start with just a base install of the OS.

Kind regards
 
  


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
[SOLVED] Debian Lenny unable to log in over SSH or straight to the server qwerewq Linux - Newbie 10 03-17-2010 03:18 AM
how to connect to my SSH Server shahz Linux - Networking 4 09-10-2006 04:25 PM
can not connect to x server in ssh YellowFin Linux - Newbie 3 03-22-2005 08:35 PM
ssh server I can connect to glennt11 General 1 01-20-2005 12:05 PM
cannot connect to X server over ssh ocularbob Linux - General 1 02-03-2003 04:11 PM

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

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