Hi all,
After upgrading from 8.4 to 8.6 chrooted bash doesn't work anymore.
This is the login procedure from the SFTP cliënt:
Finding Host customerdomain.com ...
Connecting to XX.XX.XX.XX:22
Connected to XX.XX.XX.XX:22 in 0.015625 seconds, Waiting for Server
Response
Server Welcome: SSH-2.0-OpenSSH_4.3
Client Version: SSH-2.0-WS_FTP-9.01-2006.07.25
DSS Signature Verified
Session Keys Created
Ciphers Created
New Client->Server ciphers in place.
New Client->Server ciphers in place.
Completed SSH Key Exchange. New Keys in place.
User Authenticated OK!
Completed SSH User Authentication.
Started subsystem "sftp" on channel 0760a2ce
Received channel close/eof(0x60) message for channel 0760a2ce
Error 842c0000 receiving sftp packet
error 842c0000 initializing sftp protocol
Sending channel close message for channel 0760a2ce
SSH Transport closed.
This user has /bin/bash (chrooted) as the login shell (/usr/local/psa/bin/chrootsh). A user with /bin/bash as login shell everything works fine. When I run /usr/local/psa/bin/chrootsh at command line this is the result:
# /usr/local/psa/bin/chrootsh
mkdtemp() failed
system error: No such file or directory
Anyone a suggestion? I'm stuck. Thanks in advance.
After upgrading from 8.4 to 8.6 chrooted bash doesn't work anymore.
This is the login procedure from the SFTP cliënt:
Finding Host customerdomain.com ...
Connecting to XX.XX.XX.XX:22
Connected to XX.XX.XX.XX:22 in 0.015625 seconds, Waiting for Server
Response
Server Welcome: SSH-2.0-OpenSSH_4.3
Client Version: SSH-2.0-WS_FTP-9.01-2006.07.25
DSS Signature Verified
Session Keys Created
Ciphers Created
New Client->Server ciphers in place.
New Client->Server ciphers in place.
Completed SSH Key Exchange. New Keys in place.
User Authenticated OK!
Completed SSH User Authentication.
Started subsystem "sftp" on channel 0760a2ce
Received channel close/eof(0x60) message for channel 0760a2ce
Error 842c0000 receiving sftp packet
error 842c0000 initializing sftp protocol
Sending channel close message for channel 0760a2ce
SSH Transport closed.
This user has /bin/bash (chrooted) as the login shell (/usr/local/psa/bin/chrootsh). A user with /bin/bash as login shell everything works fine. When I run /usr/local/psa/bin/chrootsh at command line this is the result:
# /usr/local/psa/bin/chrootsh
mkdtemp() failed
system error: No such file or directory
Anyone a suggestion? I'm stuck. Thanks in advance.