Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to enable SFTP access

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 5.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      Lonney
      last edited by

      I'm trying to get SFTP access to my home pfsense box (please spare me the lecture about enabling extra services on a firewall :)

      SSH is enabled under System > Advanced

      I have created a new user via System > User manager, then changed /etc/nologin to /bin/sh in /etc/passwd.

      If try and ssh in as this user, the putty window closes or exits after entering the password, winscp client reports packet too large. As a test I can SFTP ok if I used the root account and the 'admin' password.

      So I cant see what is different? Ideas?

      1 Reply Last reply Reply Quote 0
      • GertjanG Online
        Gertjan
        last edited by

        @Lonney:

        I have created a new user via System > User manager, then …

        just save the newly created user, and open it up again for editing.
        You'll find a new option: "Effective Privileges" - add "User - System - Shell account access" and save.

        Now this new user has SSH ans SFTP access (I tested both).

        No need to edit /etc/passwd manually.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.