[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

scponly terminiert sofort



Hallo,

ich nutze das scponly-Paket aus etch.
Nachdem ich das suid-Bit der Shell hinzugefügt habe, funktioniert das chroot soweit, jedoch wird die Verbindung direkt terminiert:

Dec 17 14:57:09 linux sshd[3242]: Accepted publickey for anna from 84.63.78.11 port 51874 ssh2 Dec 17 14:57:09 linux sshd[3245]: (pam_unix) session opened for user anna by (uid=0)
Dec 17 14:57:09 linux sshd[3245]: subsystem request for sftp
Dec 17 14:57:09 linux scponly[26930]: running: /usr/lib/sftp-server (username: anna(1049), IP/port: 84.63.78.11 51874 22)
Dec 17 14:57:09 linux sshd[3245]: (pam_unix) session closed for user anna

scp spuckt hingegen noch eine Fehlermeldung:

scp test.html anna@server:/home/anna/www-pub
Couldn't open /dev/null: No such file or directorylost connection

Woran könnte dies liegen?

Danke,
Bis dene
Thorsten


Reply to: