This Go application allows you to manage SSH connections securely using encryption. You can add SSH connection details, encrypt them, and easily connect to your SSH servers through the command line.
- Add SSH Connections: Save SSH connection details securely.
- Connect to SSH: Select from saved SSH connections and connect automatically.
- Encryption: All connection details are encrypted using NaCl
secretbox
to ensure security.
- Go 1.19 or higher
- SSH and SSHPass installed on your system
sudo apt install openssh-client sshpass
- Clone the repository
git clone https://github.com/emirhangumus/sshmanager.git && cd sshmanager
- Build the application
go build -o sshmanager
- Run the application
./sshmanager
- Add the executable to your PATH to run the application from anywhere (Optional)
- --clean: Clean the saved SSH connections (Including the encrypted file)
./sshmanager --clean
-
Run the application
./sshmanager
-
Select
Add SSH Connection
-
Enter the connection details
- Host: The hostname or IP address of the SSH server
- Username: The username to connect to the SSH server
- Password: The password to connect to the SSH server
-
The connection details will be encrypted and saved to the
~/.sshmanager/conn
file.
-
Run the application
./sshmanager
-
Select
Connect to SSH
-
Select the SSH connection you want to connect to
-
The application will automatically connect to the SSH server using the saved connection details