Re: Multiple sshd instances



In article <2%14h.918$Es5.130@trnddc07>, Chuck wrote:
Jim wrote:
Hello,

I am trying to automate pushing code from dev to prod. I currently
have sshd running with password auth and I cannot interrupt that
service. My initial thought was to setup another sshd instance with
key auth only to automate pushing code live. Is this possible? If so,
are there any good docs online that could help with this? Are there
any better solutions?

I am running the latest RHEL with all of the latest patches, etc...

Thank you in advance.

Jim


Why cant you just change the config file and restart sshd? Existing
connections should not be affected as they are separate processes.

That is true. You can also just start *another* sshd with it's
own config file. There's no rule that you can't have two sshds
running at once, only that they can't listen on the same port,
and you can set what port they listen on in the config file,
which in turn can be specified on the sshd command line.

--
Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
.



Relevant Pages

  • Re: Multiple sshd instances
    ... I am trying to automate pushing code from dev to prod. ... have sshd running with password auth and I cannot interrupt that ... My initial thought was to setup another sshd instance with ...
    (comp.security.ssh)
  • RE: SSH with OpenSSH and Putty - Please Help!
    ... It looks like your config file doesn't state exactly which file needs to be ... you may need to truss sshd or run sshd in debug foreground mode ... Then test and see if your key-based authentication works. ... Event Log: No supported authentications offered. ...
    (SSH)
  • SSH newbie questions
    ... Trying to get set up with SSH and SFTP, ... Helper says that to get running, I enable Remote Login in System prefs -> ... and gets stored back in the config file. ... as root, then an sshd process starts, and the .pid file is created. ...
    (comp.sys.mac.system)
  • Re: SSH newbie questions
    ... Note I don't know anything about SSH Helper. ... and gets stored back in the config file. ... as root, then an sshd process starts, and the .pid file is created. ... The process responsible for this used to be xinetd, but is launchd in ...
    (comp.sys.mac.system)
  • Re: OpenSSH and pam_radius_auth.so
    ... Per Hedeland wrote: ... sshd shouldn't offer keyboard-interactive at all. ... I was editing the wrong config file. ... OpenSSH 3.9p1 that ships with EL 4. ...
    (comp.security.ssh)