glbgpt

 

powershell
glbgpt whoami
Use code with caution.

(This should display your signed-in account details). [1]


Once you complete this, let me know:
    • Did the glbgpt whoami command successfully confirm your account?
    • Are you ready to generate the SSH configuration code for your workplace computer?

Tell me if you have any specific requirements for your workplace SSH setup, and we’ll create exactly what you need!

  • GlobalGPT

    How to Use GlobalGPT CLI in Claude Code
    Keep the terminal open while the browser page is active. Sign in on the page that opens and approve the request. The CLI will cont…

  • GlobalGPT
You said: login confirmed on personal computer

login confirmed on personal computer

2:27 PM

Perfect, your personal PC is now successfully authenticated!
Now we need to bridge the gap to your workplace computer. Since your workplace machine blocks the browser, we will use your authenticated personal PC to generate a long-lived session token or SSH configuration script. You can then safely copy this text directly onto your workplace computer to bypass the login phase entirely.
Generate the Authentication Token
To get the authentication token you need to copy over, run this command in your personal PC’s PowerShell:
powershell
glbgpt auth token
Use code with caution.

(If that specific syntax isn’t supported by their latest CLI build, try glbgpt config get or glbgpt token).
This will output a long string of letters and numbers (your active session token). Copy this token to a text file.

How to Apply it to Your Workplace Computer
Once you open the terminal on your workplace computer (where you already installed Node/npm and the @glbgpt/cli), you can inject this session manually without needing a browser.
Depending on your workplace terminal type, run one of the following commands, replacing YOUR_COPIED_TOKEN with the string you generated above:
    • If your workplace machine uses PowerShell:
      powershell
      $env:GLOBALGPT_TOKEN="YOUR_COPIED_TOKEN"
      
      Use code with caution.

    • If your workplace machine uses a standard Command Prompt (cmd):
      cmd
      set GLOBALGPT_TOKEN=YOUR_COPIED_TOKEN
      
      Use code with caution.

    • If your workplace machine is a Mac/Linux SSH environment:
      bash
      export GLOBALGPT_TOKEN="YOUR_COPIED_TOKEN"
      
      Use code with caution.

Once you set that environment variable, type glbgpt whoami on the workplace computer to verify that it successfully inherits your personal computer’s login session.

Let me know:
  • Did the glbgpt auth token command output your session string successfully on your personal PC?
  • What Operating System / Terminal is your workplace computer running so we can make sure the token stays saved permanently?