Skip to content

Releases: windvalley/gossh

Gossh Version 1.7.0

19 Jan 04:25
bead28a
Compare
Choose a tag to compare

[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 file
    • decrypt-file: Decrypt vault encrypted file
    • view: 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

14 Jan 09:01
43fa332
Compare
Choose a tag to compare

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 to Password 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

13 Jan 03:28
9c34e31
Compare
Choose a tag to compare

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.

Changed

  • Flag -a/--auth.file has been changed to -a/--auth.pass-file.

  • Update subcommand config: add auth.vault-pass-file and optimize some annotations.

  • Update configs/gossh.yaml.

Gossh Version 1.4.2

11 Jan 04:56
ac7fe0f
Compare
Choose a tag to compare

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

11 Jan 03:11
8d3d6f6
Compare
Choose a tag to compare

Added

  • Add flag -t/--tmp-dir for subcommand fetch. For details at #19.

Gossh Version 1.4.0

09 Jan 16:04
029348f
Compare
Choose a tag to compare

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

07 Jan 09:00
620675d
Compare
Choose a tag to compare

Fixed

  • Fix sudo password prompt output not be trimmed as expected (#15).

  • Fix the outputs that were originally FAILED are marked as SUCCESS (#16).

Changed

  • Optimize log format. For details at #17.

Gossh Version 1.3.0

06 Jan 06:43
9bc0fef
Compare
Choose a tag to compare

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

05 Jan 07:59
1871425
Compare
Choose a tag to compare

Fixed

  • Fix bug that output in json format by flag -j/--output.json not correct #12

Gossh Version 1.2.0

05 Jan 02:22
035fdb1
Compare
Choose a tag to compare

Added

  • Add $PWD/.gossh.yaml as the default configuration file with higher priority than $HOME/.gossh.yaml.

  • Add -L/--hosts.list for subcommand command,script,push. Just outputs a list of target hosts, and does not do anything else.

Changed

  • Optimized help information.