Skip to content

Added SFTP Question to FAQ's #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: 2.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,48 @@ To:
}
}

Q: How do I change the SFTP Port?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

In the ``config.json`` file, you need to change ``daemon.sftp.host`` to the port you require. Default is:``"host": "0.0.0.0:5657"``.

PEASE NOTE: You cannot use ports 1-1024 as these are reserved and you will not be able to bind PufferPanel to them unless from root.


.. code-block:: javascript

"daemon": {
"auth": {
"url": "https://panel.domain.com/oauth2/token",
"clientId": ".node_2",
"clientSecret": "SECRET"
},
"data": {
"cache": "/var/lib/pufferpanel/cache",
"servers": "/var/lib/pufferpanel/servers"
},
"sftp": {
"host": "0.0.0.0:5657"
}
}

To:

.. code-block:: javascript

"daemon": {
"auth": {
"url": "https://panel.domain.com/oauth2/token",
"clientId": ".node_2",
"clientSecret": "SECRET"
},
"data": {
"cache": "/var/lib/pufferpanel/cache",
"servers": "/var/lib/pufferpanel/servers"
},
"sftp": {
"host": "0.0.0.0:12000"
}
}

After you have changed the port, restart PufferPanel on the Node. Make sure to update the SFTP Port field in the panel with the new SFTP port for that node.