Releases: windvalley/gossh
Gossh Version 1.1.0
Changed
-
For ease of understanding, the subcommand
exec
has been renamed tocommand
. -
Optimized help examples of subcommand
command
.
Gossh Version 1.0.3
Fixed
- Fix flag
--timeout.command
does not work in some case. For details at (#7).
Changed
- Flag
--timeout.command
for subcommandpush
changed topushing files/dirs to each remote host
frompushing each file/dir to each remote host
.
Gossh Version 1.0.2
Gossh Version 1.0.1
Fixed
- Fix the bug that proxy case is not recognized when connecting to proxy server timeout.
Gossh Version 1.0.0
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 featureproxy
. -
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 subcommandconfig
fixed asauth.identity-files
.
Gossh Version 0.9.1
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
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
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 entiregossh
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
Fixed
Fix the problem of compression ratio of zip for improving files/dirs transmission efficiency.
Gossh Version 0.8.0
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 theunzip
command is required on the remote server.