Search
K

SSH

If you are running the OnePub CLI tooling over an ssh connection then the onepub login command won't work.
Instead, you need to export the OnePub authentication Token from your PC and import it into the ssh session.
Exit your ssh session and run:
onepub login
onepub export
Note: you only need to run onepub login if you are not currently logged in.
Restart your ssh session and run:
onepub import --ask
When prompted for the ONEPUB_TOKEN, enter the token displayed when you ran the onepub export command.
You are now logged in to OnePub on the remote server.