This is the mail archive of the
mailing list for the Cygwin project.
Re: michael's openssh for windows
I decided to give that a shot, however, as I expected, that gave no
Last login: Tue Aug 12 10:50:24 2003 from xxxx.yyyy.com
Somehow, nothing is getting passed. Like I said before, it could be the
distribution. If anyone has any free time, download it and see what I'm
It's such a wonderful quick solution, It would be nice to get this so it
can act as a "substitute" for a normal ftp server (and even better for
some cases only using a single port).
Igor Pechtchanski wrote:
You might try to change that script to
echo "Parameters: $@"
exec /bin/sh "$@"
Hope this helps,
On Tue, 12 Aug 2003, jwaterbrook wrote:
> A comment about the script method:
> for some reason, this didn't seem to return any result.
> I added /usr/bin/sftponly to the passwd file instead of /bin/sh or
> and created a /usr/bin/sftponly file with this inside:
> echo "$*"
> however, this did not create any output. So I have a feeling, nothing
> is being passed in this build.
> I may be going at this the wrong way, so if anyone would like to
> me, please do so.
> Igor Pechtchanski wrote:
> > The thread starting at
> > <http://cygwin.com/ml/cygwin/2003-07/msg01379.html>
> > might be of help.
> > Igor
> > On Mon, 11 Aug 2003, jwaterbrook wrote:
> > > I haven't seemed to get very far with this,
> > > I was hoping someone might be able to point a blind man in the
> > > direction
> > >
> > > Waterbrook, Johnny wrote:
> > >
> > > > I'd prefer not to start a new thread, but I've been searching
> > > > past few hours with no luck.
> > > >
> > > > I needed a fast way to set up sftp on a winXP box, so I did a
> > > > google search and found lexa.mckenna.edu/sshwindows/ had a
> > > > easy way of doing this.
> > > > I changed the regestry setting "/home" to a different drive,
> > > > passwd file's entry form :/home/USERNAME: to :/home: so when
> > > > ex-uncle" wants to login to my sftp server, they can't browse
> > > > directory structure.
> > > >
> > > > However, when my "aunts ex-uncle" realizes he can also ssh
into the box,
> > > > I don't want him running "windows" commands such as cmd,
> > > > etc. I just want to "limit" him to what is available in /bin
> > > >
> > > > Am I going about this wrong? Is there a cygwin/openssh
> > > > that "stands alone" from windows so I could set up a sftp
> > > > like a normal ftp server?
> > > >
> > > > Thanks in advance,
> > > > Johnny
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html