Results 1 to 4 of 4
  1. #1

    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.

  2. #2
    This can be done in your /etc/ssh/sshd_config file.

    for help, do man sshd_config

    Search Google on restricting ssh to sftp. There's a ton of info.

  3. #3
    Join Date
    Jun 2004
    Posts
    37
    I just let my firewall handle that kind of stuff.

  4. #4
    Join Date
    Oct 2005
    Posts
    435
    on the tutorials subforum.. you can find this info.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •