LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-19-2014, 10:18 PM   #1
LYC
Member
 
Registered: Jan 2014
Posts: 109

Rep: Reputation: Disabled
SSH server configuration


Hi,

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-19-2014, 11:02 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

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.

Evo2.
 
Old 05-19-2014, 11:24 PM   #3
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
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, 01:24 AM   #4
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 275Reputation: 275Reputation: 275
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.
  


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] Server side configuration changes if ssh client is disconnected. user@123 Linux - Software 3 05-05-2014 04:32 AM
ssh to get port configuration of one box/server jpacol Linux - Networking 2 05-16-2012 02: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 12:36 AM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 12:34 PM
open ssh ftp server configuration? linuxmandrake Linux - Software 10 06-22-2005 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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