Releases: windvalley/gossh
Gossh Version 1.7.0
[1.7.0]
Added
-
gossh vault encrypt
: adding the feature of obtaining plaintext from promt. For details at (#24). -
Add following new commands for subcommand
vault
, for details at (#25).encrypt-file
: Encrypt a filedecrypt-file
: Decrypt vault encrypted fileview
: View vault encrypted file
Changed
-
Hide following global flags for
vault
.-j/--output.json
-q/--output.quiet
-o/--output.file
-C/--output.condense
-
Optimize some flags description.
Gossh Version 1.6.0
Changed
-
Hide global flags that are not used by some subcommands (#21).
-
Hide following global flags for subcommand
config
.--config
-i/--auth.identity-files
--proxy.identity-files
-L/--hosts.list
-
Hide all global flags for subcommand
version
. -
Hide all global flags except following for
vault
.-V/--auth.vault-pass-file
-v/--output.verbose
-j/--output.json
-q/--output.quiet
-o/--output.file
-C/--output.condense
-
Hide following global flags for subcommand
push
.-s/--run.sudo
-U/--run.as-user
-L/--run.lang
-
-
Optimize the order of available commands.
Before:Available Commands: command Execute commands on target hosts completion Generate the autocompletion script for the specified shell config Generate gossh configuration file fetch Copy files/dirs from target hosts to local help Help about any command push Copy local files/dirs to target hosts script Execute a local shell script on target hosts vault Encryption and decryption utility version Show gossh version information
After:
Available Commands: command Execute commands on target hosts script Execute a local shell script on target hosts push Copy local files/dirs to target hosts fetch Copy files/dirs from target hosts to local vault Encryption and decryption utility config Generate gossh configuration file version Show gossh version information help Help about any command completion Generate the autocompletion script for the specified shell
-
Optimize the order of flags to make them more friendly (#23).
-
Password prompt for login user changed from
Password
toPassword for zhangsan
. -
Optimize output error messages that caused by improper use.
Fixed
- Fix default
completion
command description is inconsistent with others (#22).
Gossh Version 1.5.0
Added
- Add subcommand
vault
that helps you encrypt/decrypt confidential information without compromising security.
For details at (#14).
$ gossh vault -h
Encrypt sensitive content such as passwords so you can protect it rather than
leaving it visible as plaintext in public place. To use vault you need another
password(vault-pass) to encrypt and decrypt the content.
Usage:
gossh vault [command]
Available Commands:
decrypt Decrypt content encrypted by vault
encrypt Encrypt sensitive content
Flags:
-h, --help help for vault
Global Flags:
-V, --auth.vault-pass-file string file that holds the vault password for encryption and decryption
- Add flag
-V/--auth.vault-pass-file
for:- Subcommand
vault
: providing vault password to encrypt sensitive content or decrypt content. - Decrypting password/passphrase(that encrypted by subcommand
vault
) that provided by:--auth.password
--auth.passphrase
--auth.pass-file
--proxy.password
--proxy.passphrase
.
- Subcommand
Changed
-
Flag
-a/--auth.file
has been changed to-a/--auth.pass-file
. -
Update subcommand
config
: addauth.vault-pass-file
and optimize some annotations. -
Update
configs/gossh.yaml
.
Gossh Version 1.4.2
Added
-
Subcommand
fetch
supports using flag-s/--run.sudo
to copy files and directories to which the user does not have access permission (#20). -
Add more examples for subcommand
fetch
.
Changed
- Update help description for flag
-s/--run.sudo
. - Update
configs/gossh.yaml
.
Gossh Version 1.4.1
Added
- Add flag
-t/--tmp-dir
for subcommandfetch
. For details at #19.
Gossh Version 1.4.0
Added
- Add subcommand
fetch
for copying files and dirs from target hosts to local. For details at #18.
Changed
- Optimize help information. E.g.
remote host(s)
->target host(s)
.
Gossh Version 1.3.1
Gossh Version 1.3.0
Added
-
Supports colorful output(that not in json format). For details at #13.
-
Add flag
-C/--output.condense
for condensing output and disable colorful.
It is generally suitable for output to a file to avoid recording color characters(like^[[35m
).
Changed
- The log fields order is changed from random to the following order:
level
,time
,msg
.
Gossh Version 1.2.1
Fixed
- Fix bug that output in json format by flag
-j/--output.json
not correct #12
Gossh Version 1.2.0
Added
-
Add
$PWD/.gossh.yaml
as the default configuration file with higher priority than$HOME/.gossh.yaml
. -
Add
-L/--hosts.list
for subcommandcommand
,script
,push
. Just outputs a list of target hosts, and does not do anything else.
Changed
- Optimized help information.