Download your favorite Linux distribution at LQ ISO.
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 05-19-2014, 11:18 PM   #1
Registered: Jan 2014
Posts: 100

Rep: Reputation: Disabled
SSH server configuration


Is it possible to configure LINUX just to run SSH and SSHD services? If so, what are non related services to stop and how to go about it?

Thanks in advance.
Old 05-20-2014, 12:02 AM   #2
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288

normally the ssh service is called sshd, and the ssh client is normally just called ssh. Yes, you can configure a Linux system to essentially just run sshd. The way to stop and start sshd depends on your init system and distro.

Old 05-20-2014, 12:24 AM   #3
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian
Posts: 2,207

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
Originally Posted by LYC View Post
Is it possible to configure LINUX just to run SSH and SSHD services? If so, what are non related services to stop and how to go about it?
Sure, you can run only sshd if that's what you want to do.

To figure out how to stop other unwanted services, first you need to know what those services are. Then find their startup scripts and disable them. There's probably a GUI way to do this, but I'm a command line person. The GUI way would probably be distro specific.

As root, you can run "netstat -anp | grep tcp | grep LISTEN" from the command line to get a feel of what your system is running.
Old 05-20-2014, 02:24 AM   #4
Senior Member
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 273Reputation: 273Reputation: 273
I've seen some your old posts and so I guess you use Red Hat. Is it correct?
If yes, you can read the documentation.
1 members found this post helpful.


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
[SOLVED] Server side configuration changes if ssh client is disconnected. user@123 Linux - Software 3 05-05-2014 05:32 AM
ssh to get port configuration of one box/server jpacol Linux - Networking 2 05-16-2012 03:30 AM
LXer: PAM configuration to limit who can use SSH Server based on a list of users LXer Syndicated Linux News 0 07-31-2006 01:36 AM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 01:34 PM
open ssh ftp server configuration? linuxmandrake Linux - Software 10 06-22-2005 08:23 PM > Forums > Linux Forums > Linux - Newbie

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