Cross-Platform Command Line Interface for editing ssh config file.
-
You can download the binary file from release page
-
Unzip the file (
ssh-conf-cli_linux_amd64_<versions>.zip) and put it in your$PATHdirectory as needed.- For linux
$ unzip ssh-conf-cli_linux_amd64.zip -d ~/.local/bin - For Windows
Unzip the file (
ssh-conf-cli_win_amd64_<versions>.zip) using your favorite unzip tool and put the filessh-conf-cli.exein your$PATHdirectory.
- For linux
To get the version:
$ ssh-conf-cli versionTo Edit value of any targeted-host:
$ ssh-conf-cli edit -T [target-pattern] <subcommand> For example, to edit the value of HostName configlated for host remote-machine:
$ ssh-conf-cli edit -T remote-machine hostName -n 0.0.0.0To make binary file for your platform:
go build -ldflags "-s -w -X github.com/quag-cactus/ssh-conf-cli/cmd.version=<VERSION_STRING>" -trimpath ./...