[scponly] Enabling SCP
Brian Koontz
brian at pongononva.net
Wed Feb 1 23:18:16 EST 2006
Using version 4.6 on OS X 10.3.8, I was unable to effect a file
transfer using scp from a remote machine. After setting the
debuglevel to 2, this was the syslog output:
scponly[28029]: 3 arguments in total.
scponly[28029]: arg 0 is scponly
scponly[28029]: arg 1 is -c
scponly[28029]: arg 2 is scp -t /Users/scpdemo/project.log
scponly[28029]: opened log at LOG_AUTHPRIV, opts 0x00000029
scponly[28029]: retrieved home directory of "/Users/scpdemo" for user
"scpdemo"
scponly[28029]: setting uid to 503
scponly[28029]: processing request: "scp -t /Users/scpdemo/project.log"
scponly[28029]: denied request: scp -t /Users/scpdemo/project.log
[username: scpdemo(503), IP/port: ww.xx.yy.zz 33306 22]
Further investigation revealed ENABLE_SCP2 was not defined in
config.h, despite the inference in the INSTALL file indicating that
SCP is enabled by default. I reconfigured using the following:
./configure --enable-scp-compat
Problem solved!
--Brian
More information about the scponly
mailing list