No description
Find a file
2024-06-03 12:03:08 +03:00
.gitignore feat. .gitignore 2024-06-03 12:03:08 +03:00
go.mod inital commit 2024-06-03 12:00:30 +03:00
go.sum inital commit 2024-06-03 12:00:30 +03:00
main.go inital commit 2024-06-03 12:00:30 +03:00
README.md fix. README 2024-06-03 12:01:57 +03:00

SSH Manager

Requirements

  • Go 1.22.3

Usage

Connect to a Host

To connect to a specific host, use:

ssh-manager [host]

List Hosts

To list all available hosts, use:

ssh-manager list

Modify Hosts

Modification is done within the .ssh/config file. Below is an example configuration:

Host site-1
    HostName site-1
    User username
    IdentityFile key-1

Host site-2
    HostName site-2
    User username
    Port 22
    IdentityFile key-2