Skip to content

ZribeDev/PteroSSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PteroSSH Guide

This guide walks you through the steps to configure your Pterodactyl panel and connect to your server's websocket.

Prerequisites

Before starting, ensure you have:

  • SSH access to the server where Pterodactyl is hosted.
  • The connect.py Python script available on the server.
  • Permissions to edit the Pterodactyl configuration file (if necessary).

Steps

1. SSH Connection

First, connect to your server using SSH. Replace your_username and your_server_ip with your actual SSH username and server IP address.

ssh your_username@your_server_ip

2. Modify Pterodactyl Configuration

Run the following commands as root user:

sed -i '/allowed_origins: \[\]/c\allowed_origins:\n- '\''*'\''' /etc/pterodactyl/config.yml
systemctl restart wings
  • After running these commands you can exit SSH!

3. Install libraries

pip install -r requirements.txt

4. Execute the Connect Script

python connect.py <server_id>
  • The <server_id> can be found by looking at the URL when viewing your server on the Pterodactyl panel.

5. Obtain API Key and Panel URL

To complete the connection, you need your API key and the URL of the Pterodactyl panel.

  • Go to your profile on the Pterodactyl panel to find or generate your API key.
  • The panel URL is the base URL you use to access the Pterodactyl website.

6. Input API Key and Panel URL

When prompted by the connect.py script, input the API key and the URL of the Pterodactyl panel to finally connect.

How to run commands?

Just send them as input on a blank link, press enter, and u get instant output.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages