2 Dec 17:56
Re: Finally managed to create a jailed SFTP server, but how secure?
From: Larry Hall (Cygwin <reply-to-list-only-lh <at> cygwin.com>
Subject: Re: Finally managed to create a jailed SFTP server, but how secure?
Newsgroups: gmane.os.cygwin
Date: 2008-12-02 16:56:24 GMT
Subject: Re: Finally managed to create a jailed SFTP server, but how secure?
Newsgroups: gmane.os.cygwin
Date: 2008-12-02 16:56:24 GMT
TheO wrote: > >> If you're happy with the results, that's fine. However, you asked how >> secure SFTP was. The answer is as I've said. Cygwin is not the O/S. >> It cannot enforce restrictions on the O/S. Only the O/S can restrict >> or grant access to users. >> > > Thanks Larry, > > The reason why Cygwin is ideal for me to provide SFTP service is that it > provides a free SFTP solution for Windows platform. My programmers come > from Windows world, they are more familiar with .NET than Unix but sometimes, > they are required to build a system featuring an SFTP server where our user > can upload his files to be processed by our .NET application and finally, > he download the response files from SFTP. Cygwin makes this possible in an > economic way. I understand. If SFTP under Cygwin fits your needs and you can live with the risks, then you should continue using it. I certainly don't understand your application or its requirements for communication but given your description above, it seems to me that 'scp' would serve your purpose and wouldn't rely on a limited 'chroot' capabilities. But I'm assuming you've already thought of that and have ruled it out for your own reasons. >> I have not attempted to set up a jailed SFTP environment on Cygwin. It >> may be that what you've done hems the user into the area you want when >> he/she is using Cygwin tools. However, this does not restrict the user >> with Windows native tools. If he/she is able to leverage those inside(Continue reading)
I lost my /etc/passwd and /etc/group. Do not know why
I create new ones with:
bin>mkpasswd -l > /etc/passwd
bin>mkpasswd -g > /etc/group
create a new file /etc/test.txt
bin>ls -alh /etc/test.txt
bin>-
RSS Feed