fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Multiple sshd instances - SSH

This is a discussion on Multiple sshd instances - SSH ; 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 ...


Fix Unix > Technologies & Tools > Protocols > SSH > Multiple sshd instances

Reply
 
LinkBack Tools
  #1  
Old 10-03-2007, 04:04 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Multiple sshd instances

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

Reply With Quote
  #2  
Old 10-03-2007, 04:04 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: Multiple sshd instances

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.
Reply With Quote
  #3  
Old 10-03-2007, 04:04 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default 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?"
Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running multiple sshd instances on one server unix SSH 5 04-10-2008 10:55 AM
Multiple instances unix Mozilla 3 12-26-2007 04:57 PM
multiple ne instances unix SNMP 6 10-02-2007 08:30 PM
Zebra: Multiple instances and routing between instances? unix Networking 1 09-30-2007 03:39 PM
Multiple SQL instances unix Veritas Backup Exec 0 09-06-2001 04:42 PM


All times are GMT. The time now is 09:52 AM.