[scponly] can not stfp

Erol KAHRAMAN erol.kahraman at gmail.com
Tue Jan 30 01:38:25 EST 2007


hi guys,

i  just installed scponly on my FC6 box with jail options. But i can not
connet to my scponly server. I follow the following steps;
1. tar xzvf scponly-*.tar.gz
2. ./configure --enable-chrooted-binary --enable-scp-compat
--enable-sftp-logging-compat
3. make
4. make jail
after that i leave all options with default settings. Now, when i trying to
connet with sftp command i get the following logs; it looks like there is
not any error. What could be a problem ?
...
Jan 29 15:13:48 scpserver sshd[30719]: Connection closed by 10.11.18.12
Jan 29 15:13:48 scpserver sshd[30720]: Accepted password for scponly from
10.11.18.12 port 39499 ssh2
Jan 29 15:13:48 scpserver sshd[30720]: pam_unix(sshd:session): session
opened for user scponly by (uid=0)
Jan 29 15:13:48 scpserver sshd[30722]: subsystem request for sftp
Jan 29 15:13:48 scpserver scponly[30723]: chrooted binary in place, will
chroot()
Jan 29 15:13:48 scpserver scponly[30723]: 3 arguments in total.
Jan 29 15:13:48 scpserver scponly[30723]:         arg 0 is scponlyc
Jan 29 15:13:48 scpserver scponly[30723]:         arg 1 is -c
Jan 29 15:13:48 scpserver scponly[30723]:         arg 2 is
/usr/libexec/openssh/sftp -server
Jan 29 15:13:48 scpserver scponly[30723]: opened log at LOG_AUTHPRIV, opts
0x00000029
Jan 29 15:13:48 scpserver scponly[30723]: retrieved home directory of
"/home/scponly" for user "scponly"
Jan 29 15:13:48 scpserver scponly[30723]: chrooting to dir: "/home/scponly"
Jan 29 15:13:48 scpserver scponly[30723]: chdiring to dir: "/"
Jan 29 13:13:48 scpserver scponly[30723]: setting uid to 502
Jan 29 13:13:48 scpserver scponly[30723]: processing request:
"/usr/libexec/openssh/sftp-server"
Jan 29 13:13:48 scpserver scponly[30723]: Unable to find "LOG_SFTP" in the
environment
Jan 29 13:13:48 scpserver scponly[30723]: Found "USER" and setting it to
"scponly"
Jan 29 13:13:48 scpserver scponly[30723]: Unable to find "SFTP_UMASK" in the
environment
Jan 29 13:13:48 scpserver scponly[30723]: Unable to find "SFTP_PERMIT_CHMOD"
in the environment
Jan 29 13:13:48 scpserver scponly[30723]: Unable to find "SFTP_PERMIT_CHOWN"
in the environment
Jan 29 13:13:48 scpserver scponly[30723]: Unable to find "SFTP_LOG_LEVEL" in
the environment
Jan 29 13:13:48 scpserver scponly[30723]: Unable to find "SFTP_LOG_FACILITY"
in the environment
Jan 29 13:13:48 scpserver scponly[30723]: Environment contains
"USER=scponly"
Jan 29 13:13:48 scpserver scponly[30723]: running:
/usr/libexec/openssh/sftp-server (username: scponly(502), IP/port:
10.11.18.12 39499 2244)
Jan 29 15:13:48 scpserver sshd[30720]: pam_unix(sshd:session): session
closed for user scponly


-- 
Erol KAHRAMAN
System Network Administrator
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the scponly mailing list