[scponly] Scponly and denied request
mike.miller at bmg.com
mike.miller at bmg.com
Mon Sep 8 18:00:03 EDT 2003
I've seen this problem listed a few times on the mailing lists, but haven't
seen any solutions posted.
I am running scponly v3.8 installed via ports on FreeBSD 4.8-RELEASE.
I set the user's shell to "/usr/local/bin/scponly" and have added
"/usr/local/bin/scponly" to the /etc/shells file as well. I've set the
debuglevel to 2. I get this message when trying to copy a file to or from
the machine:
> scp user at host:/usr/home/user/test.pl ./
Password:
[36830]: 3 arguments in total.
[36830]: arg 0 is scponly
[36830]: arg 1 is -c
[36830]: arg 2 is scp -f /usr/home/user/test.pl
[36830]: opened log at LOG_AUTHPRIV, opts 0x00000029
[36830]: retrieved home directory of "/usr/home/user" for user "user"
[36830]: setting uid to 1000
[36830]: processing request: "scp -f /usr/home/user/test.pl"
[36830]: denied request: scp -f /usr/home/user/test.pl [username:
user(1000), IP/port: 192.168.11.13 2354 22]
Does anyone have a solution for this or can point out where else to look?
--
Mike Miller
EMail: mike.miller at bmg.com
More information about the scponly
mailing list