Joerg Sonnenberger wrote:
On Tue, Aug 04, 2009 at 12:28:21PM -0400, Louis Guillaume wrote:I have security/openssh installed on AIX. The binaries are, of course, in /usr/pkg. But the clients don't know that. I can't find a setting in sshd_config that will set the path properly, and it's unrealistic (at least very cumbersome) to have each client set up their ssh environment just for this.Do you have /usr/pkg/bin in the PATH when starting the daemon?
Yes. I'm using the rc.d script in runlevel 2. I *think* that init will initialize the PATH from /etc/profile (which has the pkgsrc paths).
But sshd has been restarted manually since boot time using the /etc/rc.d/sshd script from pkgsrc and we still have the problem. A "ps auxwwwe" shows /usr/pkg/bin in the PATH.
For sftp you can specify the path directly in sshd_config, but not for the others.
Yes, sftp works fine and the default config from pkgsrc has the right paths in there...
Subsystem sftp /usr/pkg/libexec/sftp-server Thanks for looking, Louis
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature