The provided scripts automate the process of logging into the Seneca (Matrix) server via SSH using stored credentials. This automation simplifies the login process, enhancing user convenience and efficiency. The scripts are designed to read the username and password from a hidden credentials file and prompt the user for confirmation before initiating the SSH login process.
-
matrix.sh:
- Bash script for initiating the SSH login process to the Matrix server.
- Reads username and password from a hidden credentials file.
- Provides user prompts for login confirmation.
- Utilizes
sshpass
for automated password authentication.
-
login.cmd:
- Windows batch script for initiating the SSH login process to the Matrix server.
- Reads username and password from a hidden credentials file.
- Provides user prompts for login confirmation.
- Requires PuTTY (specifically
plink
) for SSH connections.
-
.login:
- Hidden file containing the username and password for the Matrix server in the format
username:password
.
- Hidden file containing the username and password for the Matrix server in the format
- Ensure
sshpass
is installed on your system (formatrix.sh
). - Ensure PuTTY is installed on your system and
plink.exe
is available in the PATH (forlogin.cmd
). - Populate the
.login
file with your Matrix server credentials in the formatusername:password
. - Run the appropriate script (
matrix.sh
for Unix-like systems,login.cmd
for Windows), and follow the prompts to initiate the SSH login process.
These scripts are provided as-is, without any warranty or guarantee. Use them at your own risk.
Feel free to fork this repository and contribute to its development. Pull requests are welcome!
This project is licensed under the MIT License.