Skip to content
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.