Skip to content

bitkeyhash/ALIENSSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ALIENSSH 👽

ALIENSSH is a Bash and Expect script designed to automate SSH connections to a remote server (e.g., segfault.net) and execute nosleep command and essential commands like system updates. The script also includes a colorful ASCII art banner for a fun visual touch.


Features

  • Automated SSH Segfault Connection: Connects to the remote server using SSH without manual input.
  • Command Execution: Automatically runs commands such as apt update and apt upgrade.
  • No Sleeping Execution: Adding a script python for 24/24 server by print time each second.

Prerequisites

Ensure the following are installed:

  • Bash: For running the main script.
  • Expect: Required for automating SSH interactions (sudo apt install expect on Debian-based systems).
  • Python: For running the No sleep Script.

Installation

  1. Clone this repository:

    git clone https://github.com/bitkeyhash/ALIENSSH.git && cd ALIENSSH
    
  2. Make the scripts executable:

    pkg install expect
          or
    
    apt install expect
    
    
    
    chmod +x aliens.sh seg.sh
    

Usage

  1. Run the main script:

    ./aliens.sh
    
  2. The script will:

    • Automatically connect to segfault.net via SSH.
    • Execute predefined commands on the server.
    • Running 24/24 with python script No sleep.

Script Details

aliens.sh

  • Executes seg.sh to handle the SSH automation.

seg.sh

  • Uses Expect to:
    • Log in to the server with username and password.
    • Execute system update commands.
    • Maintain an interactive session after completing task.

time.py

  • Running script 24/24 printing time second value inside instance ssh.

Notes

  • Update the server address and credentials in seg.sh as needed.
  • Ensure proper permissions and security measures when storing sensitive information like passwords.

License

This project is open-source and available under the MIT License.


Contributing

Contributions are welcome! Feel free to fork this repository, create a feature branch, and submit a pull request.

About

ALIENSSH. Automatique 24/24 no sleep segfault SSH connexion without token

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published