Re: Multihomed Configuration
- From: Greg Wooledge <wooledg@xxxxxxxxxxx>
- Date: Fri, 8 Jun 2007 08:22:47 -0400
On Thu, Jun 07, 2007 at 12:06:12PM -0500, Dallas Clement wrote:
On Wed, 2007-06-06 at 22:32 +0530, Nirmal Babu Puliyadi Suriya Kumar -X
(npuliyad - HCL at Cisco) wrote:
But, Is it possible to assign/ configure different default directory for
each IP address with same login username?
I'd run two separate instances of sshd, one for each interface whose
behavior you want to be unique. Give each one a separate config file,
which does whatever it is you need to do.
You could even run one of them inside a chroot, if that is the easiest
way to do whatever it is you want.
e69001# grep "ListenAddress" sshd_config
(You don't want to listen on loopback?!)
It's a shame to have to hard-configure both IP addresses in this config
file -- especially if you are getting them dynamically through DHCP. I
wonder if there is a different way to enable sshd on both NICs without
specifying the IP address...
If he simply went back to
then it would listen on all the machine's interfaces. That is the default.
Heck, he could even remove all the ListenAddress lines entirely, because
these *are* default settings.
- Prev by Date: RE: Multihomed Configuration
- Next by Date: Re: Multihomed Configuration
- Previous by thread: Re: Multihomed Configuration
- Next by thread: RE: Multihomed Configuration