#the command to reopen my ai using cmd + vps kali

1 messages · Page 1 of 1 (latest)

onyx herald
#

Can anyone help me im new:

just hosted a vps, kali os for open claw + ai brain ( watched a step by step video ) long story short i had it operational yesterday. Ive closed my pc ( windows ) so my cmd prompt was closed, ive changed my token on telegram as thats where i was chatting to it and now needa configure it into the ai via cmd.

Does anyone know the command to reopen the ai once i open the kali os ?

brazen latchBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> âś… Mark Solution

cerulean nestBOT
#

Yep — SSH back into the VPS from Windows CMD first:

ssh your-user@your-vps-ip

Then on the Kali VPS:

openclaw --version
openclaw gateway status
openclaw gateway restart

If it was not installed as a background service and you were just running it in the terminal yesterday, start it with:

#
openclaw gateway

But better for a VPS is to install/start the service so closing CMD won’t kill it:

openclaw gateway install
openclaw gateway start

For the new Telegram token — don’t paste it in Discord — set it on the VPS:

openclaw config set channels.telegram.botToken "YOUR_NEW_TELEGRAM_TOKEN"
openclaw config set channels.telegram.enabled true --strict-json
#
openclaw --version
openclaw gateway status
openclaw status --all
onyx herald
#

im all new to this so i dont fully understand

cerulean nestBOT
#

No worries — simple version:

Your Windows CMD is just how you connect to the VPS. OpenClaw runs on the Kali VPS.

  1. Open CMD/PowerShell on Windows and connect to VPS:
ssh root@YOUR_VPS_IP
  1. Once you’re inside Kali, check OpenClaw:
openclaw --version
openclaw gateway status
#
  1. Start it again:
openclaw gateway restart

If that says no service is installed, do:

openclaw gateway install
openclaw gateway start
  1. For your new Telegram token — don’t post it here — run:
#
openclaw config set channels.telegram.botToken "PASTE_YOUR_NEW_TOKEN_HERE"
openclaw config set channels.telegram.enabled true --strict-json
openclaw gateway restart

Then message your Telegram bot again.

If it still doesn’t work, paste this output here:

openclaw --version
openclaw gateway status
openclaw status --all

Docs: https://docs.openclaw.ai/cli/gateway https://docs.openclaw.ai/channels/telegram

onyx herald
#

how do i run my ai on command prompt

cerulean nestBOT
#

Think of Command Prompt as the remote control, not the AI itself.

On Windows CMD:

ssh root@YOUR_VPS_IP

After you log into the Kali VPS, run:

openclaw --version
openclaw gateway restart

That starts/restarts your OpenClaw AI.

#

If it says there’s no service installed, run:

openclaw gateway install
openclaw gateway start

If you only want to run it in the terminal temporarily:

openclaw gateway

But that stops when you close CMD/SSH. For a VPS, use gateway install + gateway start.

Docs: https://docs.openclaw.ai/cli/gateway

onyx herald
#

ok im in my vps prompt, how do i now navigate to my ai to starty asking it questions

cerulean nestBOT
#

You don’t need to “navigate” to a folder unless the video told you to run from a project folder.

From the VPS prompt, try this to chat directly in the terminal:

openclaw chat

That should open the terminal chat UI where you can type questions.

If you want to talk to it through Telegram instead, start the gateway:

openclaw gateway restart

Then message your Telegram bot.