LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 09:54 AM   #1
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 440

Rep: Reputation: 46
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, 11:18 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
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, 11:22 AM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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, 12:08 PM   #4
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 440

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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