LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-27-2009, 10:54 AM   #1
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 13.1,12.1,12.2; Debian Sqeeze; Centos 5,6
Posts: 254

Rep: Reputation: 34
sshd and Debian Lenny


I run an ssh server on most of my Linux machines, Centos 4 & 5, and Slackware, but am having difficulties on Lenny. I searched using apt to find sshd, the normal server daemon, but didn;t locate it. When I went to the gnu web site, I learned that the daemon is a sub portion of openssh which is installed on the machine. I do not see any configuration files to manipulate and start the daemon, and am currently at a loss as to how to proceed. Perhaps someone can help.
 
Old 05-27-2009, 12:18 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,650

Rep: Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525
Code:
alucard@karrde:~$ apt-cache search sshd
libjsch-java - java secure channel
libjsch-java-doc - java secure channel examples
openssh-server - Secure shell server, an rshd replacement
Code:
apt-get install openssh-server
 
Old 05-27-2009, 12:22 PM   #3
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
The configuration files should be under /etc/ssh (or maybe it's sshd, I'm not in front of my box). For starting and stopping the daemon, you just do (as root) /etc/init.d/sshd start (or stop or restart).

To make it start at boot time, you have to add a symlink to the /etc/rc.X/ directory. Debian defaults to runlevel 2. I prefer to install and use sysv-rc-conf, a handy command line interface for managing startup processes. It's a simple "press the spacebar to put an X in the box" kind of interface.
 
Old 05-27-2009, 01:08 PM   #4
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 13.1,12.1,12.2; Debian Sqeeze; Centos 5,6
Posts: 254

Original Poster
Rep: Reputation: 34
Thank you, all. I'll install the openssh-server. I guess I missed that while installing initially.
 
  


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
LXer: How To Upgrade A Debian Etch System (Server & Desktop) To Debian Lenny LXer Syndicated Linux News 0 02-20-2009 05:30 PM
LXer: The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 2] LXer Syndicated Linux News 0 02-19-2009 12:00 PM
Reboot of Debian Lenny now Windows PCs cannot see Debian. sr_25 Debian 3 02-14-2009 03:03 PM
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 05:59 AM
Updating Debian Etch to Debian Lenny bartock Debian 4 02-09-2008 09:15 AM


All times are GMT -5. The time now is 08:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration