Bestiary of Special-purpose sshds

 in
Need management software on your Linux boxes? It might already be in /usr/sbin.
______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Bestiary of Special-purpose sshds

Anonymous's picture

Using /bin/false as shell doesn't permit to create tunnels with ssh.

Diaolin(diaolin@diaolin.com)

Re: Bestiary of Special-purpose sshds

Anonymous's picture

Here's an example of when you might need 2 sshds on the same box.

I want to be able to ssh from any of the machines on my test network to the box that does masquerading for the test network, with only a password (it's a test network and I don't have my ssh keys on the machines under test). But I don't want people to be able to get into the masquerading box from the rest of the company, or from outside, without a key. So I should run one sshd on the internal interface (10.4.0.1 in my case) and another on the other interfaces of the box -- and only allow password authentication on the first one.

Since they're on different interfaces they can both use the standard ssh port.

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Upcoming Webinar
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
11am CDT, April 29th
Moderated by Linux Journal Contributor Mike Diehl

Sign up now

Sponsored by Skybot