[scponly] rsync with scponly on CentOS
GADOT Frank
Frank.Gadot at alcatel-lucent.com
Wed Oct 22 15:03:47 EDT 2008
HI ,
Here you go, thank you:
root at galaxy:/usr/local/etc/scponly> echo 1 > debuglevel
root at galaxy:/usr/local/etc/scponly> rsync debuglevel
eduardo at localhost:~/
eduardo at localhost's password:
invalid characters in scp command!
here:~/
try using a wildcard to match this file/directory
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(632)
[sender=3.0.4]
Server side:
Oct 22 12:02:57 galaxy sshd[5777]: Accepted password for eduardo from
127.0.0.1 port 51495 ssh2
Oct 22 12:02:57 galaxy sshd[5777]: pam_unix(sshd:session): session
opened for user eduardo by (uid=0)
Oct 22 12:02:57 galaxy scponly[5782]: 3 arguments in total.
Oct 22 12:02:57 galaxy scponly[5782]: arg 0 is scponly
Oct 22 12:02:57 galaxy scponly[5782]: arg 1 is -c
Oct 22 12:02:57 galaxy scponly[5782]: arg 2 is rsync --server -e.s .
~/
Oct 22 12:02:57 galaxy scponly[5782]: opened log at LOG_AUTHPRIV, opts
0x00000009
Oct 22 12:02:57 galaxy scponly[5782]: determined USER is "eduardo" from
environment
Oct 22 12:02:57 galaxy scponly[5782]: retrieved home directory of
"/home/eduardo" for user "eduardo"
Oct 22 12:02:57 galaxy scponly[5782]: setting uid to 502
Oct 22 12:02:57 galaxy scponly[5782]: processing request: "rsync
--server -e.s . ~/"
Oct 22 12:02:57 galaxy scponly[5782]: rejected because of invalid chars
(username: eduardo(502), IP/port: 127.0.0.1 51495 22)
Oct 22 12:02:57 galaxy scponly[5782]: bad request: rsync --server -e.s .
~/ [username: eduardo(502), IP/port: 127.0.0.1 51495 22]
Oct 22 12:02:57 galaxy sshd[5777]: pam_unix(sshd:session): session
closed for user eduardo
More information about the scponly
mailing list