[scponly] AFP(AFP over SSH) can't connect.

hapya2002 at yahoo.co.jp hapya2002 at yahoo.co.jp
Thu Feb 28 02:20:22 EST 2008


Hello list,

I could chroot.
But, AFP(AFP over SSH) can't connect.

log:Debug Level = 3
hostnmae scponly[27266]: chrooted binary in place, will chroot()
hostnmae scponly[27266]: 3 arguments in total.
hostnmae scponly[27266]: arg 0 is scponlyc
hostnmae scponly[27266]: arg 1 is -c
hostnmae scponly[27266]: arg 2 is echo "Connected" ; sleep 30
hostnmae scponly[27266]: opened log at LOG_AUTHPRIV, opts 0x00000029
hostnmae scponly[27266]: determined USER is "username" from environment
hostnmae scponly[27266]: retrieved home directory of "/Users/username"
for user "username"
hostnmae scponly[27266]: chrooting to dir: "/Users/username"
hostnmae scponly[27266]: chdiring to dir: "/"
hostnmae scponly[27266]: setting uid to 22125
hostnmae scponly[27266]: processing request: "echo "Connected" ; sleep
30"\n <=====?
hostnmae scponly[27266]: rejected because of invalid chars (username:
username(22125), IP/port: xxx.xxx.xxx.xxx 49604 22)
hostnmae scponly[27266]: bad request: echo "Connected" ; sleep 30
[username: username(22125), IP/port: xxx.xxx.xxx.xxx 49604 22]

configure:
./configure \
 --enable-winscp-compat \
 --enable-sftp-logging-compat \
 --enable-scp-compat --enable-chrooted-binary \
 --disable-chroot-checkdir \
 --with-default-chdir=/

Ofcource "echo" and "sleep" exist on chroot.
AFP is "Mac OS X 10.4.11"(use the option "Allow secure connections using
SSH").

If someone has an idea ...

Shin.




More information about the scponly mailing list