Skip to content

Releases: windvalley/gossh

Gossh Version 1.1.0

04 Jan 04:48
312ac34
Compare
Choose a tag to compare

Changed

  • For ease of understanding, the subcommand exec has been renamed to command.

  • Optimized help examples of subcommand command.

Gossh Version 1.0.3

01 Jan 15:28
466ae11
Compare
Choose a tag to compare

Fixed

  • Fix flag --timeout.command does not work in some case. For details at (#7).

Changed

  • Flag --timeout.command for subcommand push changed to pushing files/dirs to each remote host from pushing each file/dir to each remote host.

Gossh Version 1.0.2

31 Dec 14:09
b50c7d4
Compare
Choose a tag to compare

[1.0.2]

Fixed

  • Subcommand config: fix issue(#8).

  • Fix an issue that sudo command will stuck on remote server when wrong password was provided(#6).

Changed

  • Optimized help information about flag proxy.

  • configs/gossh.yaml: fixed about issue #8.

Gossh Version 1.0.1

30 Dec 13:42
75426ec
Compare
Choose a tag to compare

Fixed

  • Fix the bug that proxy case is not recognized when connecting to proxy server timeout.

Gossh Version 1.0.0

30 Dec 08:46
6cd11c8
Compare
Choose a tag to compare

Added

  • Supports SSH Proxy, it can connect to the target hosts by specifying the ssh proxy server.
    Add flags:

    -X, --proxy.server string        proxy server address
    --proxy.identity-files strings   identity files for proxy(default the same as 'auth.identity-files')
    --proxy.passphrase string        passphrase of the identity files for proxy(default the same as 'auth.passphrase')
    --proxy.password string          password for proxy(default the same as 'auth.password')
    --proxy.port int                 proxy server port (default 22)
    --proxy.user string              login user for proxy(default the same as 'auth.user')
    
  • Support parsing identity-files(private keys) with passphrase.
    Add flag -K/--auth.passphrase for parsing identity files with passphrase.

  • Add flag -k/--auth.ask-pass for asking password of login user.

Changed

  • Auto detected supported authentication methods: ssh-agent authentication -> pubkey authentication -> password from flag/config -> username:password from a file.
    If no legal authentication method is detected, you will be prompted to enter password.

  • Add more detailed authentication debug messages(print by flag -v/--verbose).

  • Subcommand config add items: auth.ask-pass, auth.passphrase, and flags about new feature proxy.

  • Optimized help examples of subcommand exec, script.

  • Demo config file configs/gossh.yaml updated.

Removed

  • Delete flag -k/--auth.pubkey.
    Changed to: If the identity files specified by flag -i/--auth.identity-files are valid,
    the pubkey authentication method will be used automatically.

Fixed

  • Item auth.identity-file of subcommand config fixed as auth.identity-files.

Gossh Version 0.9.1

28 Dec 03:05
be90fa6
Compare
Choose a tag to compare

Fixed

  • Fix the bug that while the host contains blank characters at the beginning and end of the host,
    it will cause the host to fail to resolve.

  • Fix the bug that if there is a blank line in the host list file,
    it will cause the client host to be regarded as the target host.

Gossh Version 0.9.0

24 Dec 07:31
9218b52
Compare
Choose a tag to compare

Added

  • Support expanding host pattern that from commandline arguments or from host list file(specified by -H flag) to host list, and deduplicate the host list.
    Supported host patterns e.g.:

    10.16.0.[1-10]
    foo[01-03].bar.com
    foo[01-03,06,12-16].bar.com
    foo[01-03,06,12-16].[beijing,wuhan].bar.com
    foo[01-03,06,12-16].idc[1-3].[beijing,wuhan].bar.com
    

Changed

Change the identifier of the success or failure of each remote host output result:

Success to SUCCESS and Failed to FAILED.

Fixed

Fix a typo that coz output elapsed field not shown in correct way. E.g.:

Fix before:

level=info msg=success count: 955, failed count: 0, elapsed: 8s time=2021-12-15 22:17:33

Fix after:

level=info msg=success count: 936, failed count: 0, elapsed: 5.93s time=2021-12-22 23:17:36

Gossh Version 0.8.2

22 Dec 09:40
6532844
Compare
Choose a tag to compare

Added

  • Subcommand push supports timeout for pushing each file/dir to each remote host by flag --timeout.command.
    This feature solves the problem of the entire gossh task stuck if the network of a few remote servers is slow.

  • Add more help examples for subcommand push, exec, script.

Fixed

  • Fix the problem that if pushing files/dirs fails, the temporary hidden files are not automatically deleted.

Gossh Version 0.8.1

22 Dec 06:53
9487f2e
Compare
Choose a tag to compare

Fixed

Fix the problem of compression ratio of zip for improving files/dirs transmission efficiency.

Gossh Version 0.8.0

22 Dec 04:04
7ad7211
Compare
Choose a tag to compare

Added

  • Subcommand 'push' supports copying directories.
    Also supports push files and directories efficiently at the same time. For efficient transmission, gossh adopts the method of first compressing locally and then decompressing files and directories on the remote server, so the unzip command is required on the remote server.