Re: AIX restricted shell & OpenSSH
From: Darren Tucker (dtucker@dodgy.net.au)
Date: 02/25/03
- Next message: Richard E. Silverman: "Re: SSH2 Public Key Problems for users other than root"
- Previous message: Richard E. Silverman: "Re: Can't login to an OS X box using ssh"
- In reply to: albertpz@teleline.es: "AIX restricted shell & OpenSSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: dtucker@dodgy.net.au (Darren Tucker) Date: Tue, 25 Feb 2003 08:11:45 GMT
In article <3E5A14EA.35AA215C@teleline.es>, <albertpz@teleline.es> wrote:
>I have an AIX 4.3.3 with OpenSSH 3.4p1 installed. I set up an account
>with restricted shell /usr/bin/Rsh and I can do terminal conection with
>Putty to this account, however, when starting a psftp connection I can't
>get into the system getting the message "unable to initialise SFTP:
>could not connect".
The problem is probably that the restricted shell does not permit
running executables with an absolute path while the default "Subsystem"
definition in sshd_config contains an absolute path.
Try copying sftp-server to somewhere in the restricted shell's path and
change the "Subsystem" line in sshd_config to be
Subsystem sftp sftp-server
then restart sshd.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Next message: Richard E. Silverman: "Re: SSH2 Public Key Problems for users other than root"
- Previous message: Richard E. Silverman: "Re: Can't login to an OS X box using ssh"
- In reply to: albertpz@teleline.es: "AIX restricted shell & OpenSSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|