[scponly] can not stfp (Erol KAHRAMAN)

Erol KAHRAMAN erol.kahraman at gmail.com
Tue Jan 30 17:05:44 EST 2007


Thanks Gregory, but this not solve my problem.

On 1/30/07, Gregory L. Magnusson <glm at cyborgspiders.com> wrote:
>
> I am guessing that you have to add your sftp user to your sshd_config file
> in
> /etc/ssh/sshd_config
> add the line
> AllowUsers username1 username2 username3
> Then restart sshd
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Tue, 30 Jan 2007 08:38:25 +0200
> > From: "Erol KAHRAMAN" <erol.kahraman at gmail.com>
> > Subject: [scponly] can not stfp
> > To: scponly at lists.ccs.neu.edu
> > Message-ID:
> >       <71416a0e0701292238p4fdaa789q48c79f4488cdf6aa at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > 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
> >
> >
> >
>
>
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly
>



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


More information about the scponly mailing list