This script allows you to connect to the Alive server and perform various tasks.
-
SSH access to the Alive server
-
Enable StrictHostKeyChecking
In order for the scripts to work, you need to enable passwordless SSH login. Follow these steps to set it up:
- Generate SSH Key Pair:
ssh-keygen -t rsa -b 4096
This command generates a new SSH key pair. Follow the prompts to save the key pair to the default location (~/.ssh/id_rsa) and optionally set a passphrase.
- Copy Public Key to Remote Server:
ssh-copy-id -i ~/.ssh/id_rsa.pub <your_username>@alive.bio.uu.nl
- Verify SSH Key Authentication
ssh <your_username>@alive.bio.uu.nl
- Clone this repository or download the script.
- Ensure you have SSH access to the Alive server.
To run the script, use the following command:
./connect.sh-h: The gateway host for SSH. Default is alive.bio.uu.nl. -u: Your SSH username. Default is bar.
./connect.sh -u john -h alive.bio.uu.nlThe script uses SSH to log into the initial host with pseudo-terminal allocation.
Ensure you have SSH access to the Alive server. Verify that the HOST and USER variables are correctly set in the script.
This project is licensed under the MIT License.