Posted: 2003-12-01 12:35
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 : running: /usr/bin/groups (username: uuser(1004), IP/port: 192.168.100.28 1851 22)
Dec 1 13:34:45 scpbox: running: /bin/pwd (username: uuser(1004), IP/port: 192.168.100.28 1851 22)
Dec 1 13:34:45 scpbox: 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?
Location: Prague, Czechia
I'm not sure, but it seems that your 'groups' command has empty output and WinSCP does not expect it. I can fix it in next release. Meanwhile, you may just turn off 'Lookup user groups' option on SCP tab of login dialog.
Posted: 2003-12-03 09:26
You can post new topics in this forum
And it's free!