Chrooted scponly & groups problem in WinSCP
Hi
I run scponlyc (chrooted scponly) on a FreeBSD box. I try to connect from WinXP machine with RSA key autentif.
Autentification works fine, after entering passphrase, I get a error message with text:
Command 'groups ; echo "WinSCP: this is end-of-file:$status"' failed with invalid output ''.
There is a 'groups' binary in the chrooted environment, also permissions should be fine.
In the auth.log on the scp box, there is not any notice about problems:
Dec 1 13:31:58 scpbox login: login from 192.168.100.28 on tty?? as uuser
Dec 1 13:32:01 scpbox [52429]: running: /usr/bin/groups (username: uuser(1004), IP/port: 192.168.100.28 1851 22)
Dec 1 13:34:45 scpbox[52429]: running: /bin/pwd (username: uuser(1004), IP/port: 192.168.100.28 1851 22)
Dec 1 13:34:45 scpbox[52429]: running: /bin/ls -la (username: uuser(1004), IP/port: 192.168.100.28 1851 22)
After this, connection works... But I don't like that error (or warning...) message.
Where can be the problem?
thanks...
I run scponlyc (chrooted scponly) on a FreeBSD box. I try to connect from WinXP machine with RSA key autentif.
Autentification works fine, after entering passphrase, I get a error message with text:
Command 'groups ; echo "WinSCP: this is end-of-file:$status"' failed with invalid output ''.
There is a 'groups' binary in the chrooted environment, also permissions should be fine.
In the auth.log on the scp box, there is not any notice about problems:
Dec 1 13:31:58 scpbox login: login from 192.168.100.28 on tty?? as uuser
Dec 1 13:32:01 scpbox [52429]: running: /usr/bin/groups (username: uuser(1004), IP/port: 192.168.100.28 1851 22)
Dec 1 13:34:45 scpbox[52429]: running: /bin/pwd (username: uuser(1004), IP/port: 192.168.100.28 1851 22)
Dec 1 13:34:45 scpbox[52429]: running: /bin/ls -la (username: uuser(1004), IP/port: 192.168.100.28 1851 22)
After this, connection works... But I don't like that error (or warning...) message.
Where can be the problem?
thanks...