Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: From: "Schonder, Matthias" To: "'cygwin AT cygwin DOT com'" Subject: RE: OpenSSH and cygwin: let a user only connect via sftp. Date: Thu, 5 Dec 2002 12:45:28 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" >Schonder, Matthias wrote: >>> How do I have to set passwd (if it is done there) that he only can >> connect to the server via sftp and not via ssh. >> What do I have to do? >Setting a user's shell to /bin/false might (and I repeat, *might* - this is >speculation) work. Nope, this does not work :( Been there, done that. But when sftp tries to login connection will be closed immediately. But thanks for you help. >Max. >PS: This isn't really Cygwin specific. Well, I would say it is, because in FreeBSD and IRIX it works fine... so.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/