Blog

Command line: approve a sign-in from the terminal with a code

How to sign in to AI Hosting Panel from a terminal with aihostingpanel login --browser, and how to approve the short code on the Command line page.

Command line: approve a sign-in from the terminal with a code

2026-11-22

The command line can sign in to the panel without a password typed in the terminal. You start the sign-in in the terminal, and approve it in your browser with a short code. The code expires after ten minutes, and it can be used once.

Command line page with the instruction to run aihostingpanel login --browser, the code box with the example ABCD-2345 and the Approve button
The Command line page: the code box, where you type the code the terminal shows.

Approve the code

  1. On your computer, run aihostingpanel login --browser in a terminal.
  2. The terminal shows a code such as ABCD-2345.
  3. Open Server in the sidebar, then Command line, and type that code in Code from the command line.
  4. Press Approve. The terminal then signs in.

If the code has expired

Run the login again to get a new code. A code that has expired or has been used cannot be approved a second time.

All posts