sshd running with "-R" ?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have several versions of openSSH running on Sun Solaris systems of
various architecture and Solaris versions.  On a 3.9p1 install, I see
sshd running with the -R option:

 root   662     1  0 23:27:44 ?        0:00 /usr/local/sbin/sshd -R

( and every new connection made spawns a new "sshd -R".)

All of my other openSSH installs have sshd processes such as:

 root 26402   242  0 23:31:44 ?        0:00 /usr/local/sbin/sshd

(without -R).  What is -R?  It's not getting that from my RC scripts,
and there's nothing about -R in the manpage for sshd.  The sshd_config
files are identical on all systems.

Any info would be useful.


Re: sshd running with "-R" ?

It indicates that the sshd process was started by another sshd (or by inetd).

  Richard Silverman

Re: sshd running with "-R" ?

Richard E. Silverman wrote:
Quoted text here. Click to load it
Quoted text here. Click to load it

Inetd is not starting sshd.

sshd is being started via RC3 as follows:


More system specifics:
SunOS 5.9 Generic_117171-15 sun4u sparc SUNW,Ultra-80
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004

Compiled as follows:


These options are no different than any of my other openSSH installs.

Is the "-R" something that shows up with OpenSSH_3.9p1 and newer?

Re: sshd running with "-R" ?

Quoted text here. Click to load it

Apply elementary logic to my statement and yours, and see what you come up

- Richard

Re: sshd running with "-R" ? wrote:
Quoted text here. Click to load it

Yes, you are correct.  This is something that started with 3.9.  See
this post:

Re: sshd running with "-R" ?

jessica6 wrote:

Quoted text here. Click to load it

That appears to be the answer!  I had problems getting google to let me
search for a "-R".
Thanks for the help!

Site Timeline