[scponly] Error getting name of current remote directory
Alejandro
alejandritox at ciudad.com.ar
Sun Nov 12 18:18:53 EST 2006
Dear all, I'm new at scponly and I have a problem. Here are my data:
- Debian Etch with "apt-get install scponly"
- Setup with chroot
- I execute the "setup_chroot" script and follow all the steps
- The default directory is /home/scponly/incoming with "drwxr-xr-x" rights
- Then I use a Windows PC with WinSCP 3.8.2 but I get an error
connection that can't find the user groups, so I compile the "groups.c"
file (gcc -o groups groups.c) and copy it to /home/scponly/bin/groups
into the jail as saying in the README.Debian text file.
- After that I start WinSCP again but I get a new error:
ERROR GETTING NAME OF CURRENT REMOTE DIRECTORY
CONNECTION HAS BEEN UNEXPECTEDLY CLOSED. SERVER SENT COMMAND EXIT STATUS 0.
The "scponly" user is correctly authenticated and the content of
/var/log/auth.log from my Debian box is this:
Nov 11 22:26:10 sala1 sshd[26822]: Accepted keyboard-interactive/pam for
scponly from 192.168.10.2 port 1219 ssh2
Nov 11 22:26:10 sala1 sshd[26826]: (pam_unix) session opened for user
scponly by (uid=0)
Nov 11 22:26:11 sala1 scponly[26826]: running: /bin/pwd (username:
scponly(5002), IP/port: 192.168.10.2 1219 22)
Here is the WinSCP lof file:
2006-11-11 23:13:14.841 WinSCP: this is end-of-file:0
2006-11-11 23:13:15.111 unset "LC_ALL" ; echo "WinSCP: this is
end-of-file:$status"
2006-11-11 23:13:15.371 WinSCP: this is end-of-file:0
2006-11-11 23:13:15.642 unset "HUMAN_BLOCKS" ; echo "WinSCP: this is
end-of-file:$status"
2006-11-11 23:13:15.912 WinSCP: this is end-of-file:0
2006-11-11 23:13:16.203 Looking up groups and users.
2006-11-11 23:13:16.473 groups ; echo "WinSCP: this is end-of-file:$status"
2006-11-11 23:13:16.753 *** glibc detected *** free(): invalid pointer:
0x0804dae0 ***
2006-11-11 23:13:17.034 *** glibc detected *** free(): invalid pointer:
0x0804dae0 ***
2006-11-11 23:13:17.364 Server exited on signal "ABRT"
2006-11-11 23:13:17.695 All channels closed. Disconnecting
2006-11-11 23:13:17.995 Server closed network connection
* 2006-11-11 23:13:18.316 (ESshFatal) Error looking up user groups.
* 2006-11-11 23:13:18.316 Connection has been unexpectedly closed.
Server sent command exit status 0.
What can I do in order to use scponly with WinSCP as my client ???
Thanking in advance, cheers.
Alejandro.-
More information about the scponly
mailing list