[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 411
  • Last Modified:

Inetd vs Rc.D

Suppose that I want to run SSH Daemon, what is the benefit of having the daemon integrated within Inetd Daemon??? Or is it better to have the daemon available under rc.d initialization script?

Another way .. why someone prefer to put SSHD into inetd where another people prefer to put in RC.D Script?
0
kecoak
Asked:
kecoak
  • 3
  • 2
1 Solution
 
chris_calabreseCommented:
Inetd is easier to manage since you can update the binary without shutting down the main daemon, but there is a minor performance penalty. Whether the performance penalty is an issue in your environment is something you'll have to test. Also most pre-packaged installation packages use the rc.d method.
0
 
ravenplCommented:
shd running from inetd takes more system resources and therefore has less performance.
Well, it's true if there is rather high ssh traffic(at least one session at time).
If You use ssh for Yourself only, and logging in once a day - the inetd way would take less resources ;)

Is it homework? Does not look like in fact.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
gheistCommented:
inetd is uncontrollable.
0
 
ravenplCommented:
> inetd is uncontrollable.
What You mean by that?
One can use firewall, tcpwrappers, set max concurrent services. And for successors of inetd like xinetd much more...
0
 
gheistCommented:
    -i      Specifies that sshd is being run from inetd(8).  sshd is normally
             not run from inetd because it needs to generate the server key
             before it can respond to the client, and this may take tens of
             seconds.  Clients would have to wait too long if the key was
             regenerated every time.  However, with small key sizes (e.g.,
             512) using sshd from inetd may be feasible.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now