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.
- Automated SSH Segfault Connection: Connects to the remote server using SSH without manual input.
- Command Execution: Automatically runs commands such as
apt update
andapt upgrade
. - No Sleeping Execution: Adding a script python for 24/24 server by print time each second.
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.
-
Clone this repository:
git clone https://github.com/bitkeyhash/ALIENSSH.git && cd ALIENSSH
-
Make the scripts executable:
pkg install expect or apt install expect chmod +x aliens.sh seg.sh
-
Run the main script:
./aliens.sh
-
The script will:
- Automatically connect to
segfault.net
via SSH. - Execute predefined commands on the server.
- Running 24/24 with python script No sleep.
- Automatically connect to
- Executes
seg.sh
to handle the SSH automation.
- Uses Expect to:
- Log in to the server with username and password.
- Execute system update commands.
- Maintain an interactive session after completing task.
- Running script 24/24 printing time second value inside instance ssh.
- Update the server address and credentials in
seg.sh
as needed. - Ensure proper permissions and security measures when storing sensitive information like passwords.
This project is open-source and available under the MIT License.
Contributions are welcome! Feel free to fork this repository, create a feature branch, and submit a pull request.