Default Path in sshd_config

Dave Dykstra dwd at bell-labs.com
Tue Jun 19 02:16:51 EST 2001


On Fri, Jun 15, 2001 at 03:20:03PM -0700, Crist Clark wrote:
> I was just building binary Solaris packages of OpenSSH for use at
> our company. While doing so, it occurred to me that the only thing
> that really stops me from being able to make a binary build totally
> relocatable in the filesystem tree is the default path. Other than
> that, I cannot think of any file path that cannot be modified with
> either a command line option or in a configuration file.
> 
> Is there a reason that, for example,
> 
>   DefaultPath /opt/openssh/bin
> 
> Could not be something put into the sshd_config file? Or does this
> exist in the code, but not (or I missed it) in the documentation?
> 
> (Oh, and I still need to hack around with the manpages by hand to
> get them to work in Solaris, but I think that is a known issue?)
> -- 
> Crist J. Clark                                Network Security Engineer
> crist.clark at globalstar.com                    Globalstar, L.P.
> (408) 933-4387                                FAX: (408) 933-4926



There are more compiled-in defaults than that; if you do a 'strings' on all
the binaries you'll see them.  There's at least the 'primes' file, and if
you use the built-in prng there's also the 'ssh_prng_cmds' file.

I use my general-purpose binary relocater, available at
    http://www.bell-labs.com/project/nsbd/breloc.html

- Dave Dykstra



More information about the openssh-unix-dev mailing list