Upgrading to the latest version of sshnp is identical to the installation process.
Please see the installation guide to proceed.
To check the current version of sshnp installed on your machine simply execute the binary:
{% tabs %} {% tab title="Linux" %}
sshnp
The first line of output should contain the version information:
Version : x.x.x
{% endtab %}
{% tab title="macOS" %}
sshnp
The first line of output should contain the version information:
Version : x.x.x
{% endtab %}
{% tab title="Windows" %}
sshnp.exe
The first line of output should contain the version information:
Version : x.x.x
{% endtab %} {% endtabs %}
If you continue to get an old version number, it's likely that there's an old binary which wasn't replaced on the machine. Try the following to debug your binary location:
{% tabs %} {% tab title="Linux" %} First, use this command to locate the sshnp binary:
command -v sshnp
The command should output the location of the binary which is on the PATH
. Try deleting this binary then rerunning the installer.
rm "$(command -v sshnp)"
{% endtab %}
{% tab title="macOS" %} First, use this command to locate the sshnp binary:
command -v sshnp
The command should output the location of the binary which is on the PATH
. Try deleting this binary then rerunning the installer.
rm "$(command -v sshnp)"
{% endtab %}
{% tab title="Windows" %} Since Windows doesn't include a dedicated installer, upgrading should be as simple as moving the new binary to wherever you installed the previous one. {% endtab %} {% endtabs %}