Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: allow only sftp?

From: Jeff D <blue(at)ev01.net>
Date: Fri Apr 11 2003 - 18:50:04 EDT

Rex Binns wrote:

>I need to allow a user only sftp access, but deny them ssh access?
Hi,

    If you are using key authentication you can do this:

        Add no-pty to the beginning of their authorized_keys file.
        That will stop them from getting a pty, but this only works with key
        authentication.  IF you do this, make sure that the key file is
        read-only.

Jeff Received on Fri Apr 11 22:42:50 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:57 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library