View Single Post
  #1 (permalink)  
Old 09-28-2006, 05:39 PM
Mac Write Mac Write is offline
Registered User
 
Join Date: May 2006
Posts: 7
Mac Write is on a distinguished road
How do I only allow SFTP access and restrict just root to certain IP's for SSH login?

In an effort to secure my VPS which is for friends/family use, I want to temrinate FTP and only allow SFTP while preventing all other SSH functions. How can I pull this off? I also want to restrict root login to a couple IPs (Datacenter and my home IP), while allowing SFTP access for other users to any IP.
Reply With Quote