[scponly] Cannot login SFTP-Server

Newsletter newsletter at andreas-friedrich.info
Mon May 26 04:13:02 EDT 2008


Hi,

here the Logfile:

May 26 12:10:57 Server8 sshd[4387]: Accepted keyboard-interactive/pam  
for test1 from 127.0.0.1 port 21888 ssh2
May 26 12:10:57 Server8 sshd[4390]: subsystem request for sftp
May 26 12:10:57 Server8 scponly[4391]: chrooted binary in place, will chroot()
May 26 12:10:57 Server8 scponly[4391]: 3 arguments in total.
May 26 12:10:57 Server8 scponly[4391]: 	arg 0 is scponlyc
May 26 12:10:57 Server8 scponly[4391]: 	arg 1 is -c
May 26 12:10:57 Server8 scponly[4391]: 	arg 2 is /usr/lib/ssh/sftp-server
May 26 12:10:57 Server8 scponly[4391]: opened log at LOG_AUTHPRIV,  
opts 0x00000009
May 26 12:10:57 Server8 scponly[4391]: determined USER is "test1" from  
environment
May 26 12:10:57 Server8 scponly[4391]: retrieved home directory of  
"/home/test1" for user "test1"
May 26 12:10:57 Server8 scponly[4391]: chrooting to dir: "/home/test1"
May 26 12:10:57 Server8 scponly[4391]: chdiring to dir: "/"
May 26 10:10:57 Server8 scponly[4391]: setting uid to 1001
May 26 10:10:57 Server8 scponly[4391]: processing request:  
"/usr/lib/ssh/sftp-server"
May 26 10:10:57 Server8 scponly[4391]: Using getopt processing for cmd  
/usr/lib/ssh/sftp-server  (username: test1(1001), IP/port: 127.0.0.1  
21888 22)
May 26 10:10:57 Server8 scponly[4391]: Unable to find "LOG_SFTP" in  
the environment
May 26 10:10:57 Server8 scponly[4391]: Found "USER" and setting it to "test1"
May 26 10:10:57 Server8 scponly[4391]: Unable to find "SFTP_UMASK" in  
the environment
May 26 10:10:57 Server8 scponly[4391]: Unable to find  
"SFTP_PERMIT_CHMOD" in the environment
May 26 10:10:57 Server8 scponly[4391]: Unable to find  
"SFTP_PERMIT_CHOWN" in the environment
May 26 10:10:57 Server8 scponly[4391]: Unable to find "SFTP_LOG_LEVEL"  
in the environment
May 26 10:10:57 Server8 scponly[4391]: Unable to find  
"SFTP_LOG_FACILITY" in the environment
May 26 10:10:57 Server8 scponly[4391]: Environment contains "USER=test1"
May 26 10:10:57 Server8 scponly[4391]: running:  
/usr/lib/ssh/sftp-server (username: test1(1001), IP/port: 127.0.0.1  
21888 22)
May 26 10:10:57 Server8 scponly[4391]: about to exec  
"/usr/lib/ssh/sftp-server" (username: test1(1001), IP/port: 127.0.0.1  
21888 22)
May 26 12:10:57 Server8 sshd[4390]: error: channel 0: chan_read_failed  
for istate 3
May 26 12:10:57 Server8 sshd[4390]: error: channel 0: chan_read_failed  
for istate 3
May 26 12:10:57 Server8 sshd[4390]: PAM audit_log_acct_message()  
failed: Operation not permitted





More information about the scponly mailing list