Commit Graph

43 Commits

Author SHA1 Message Date
7c4868ee4b Revert "Revert "make remote commands run and not fail if an SSH session failed to be created""
This reverts commit affdd0abfd.
2023-07-20 21:21:40 -05:00
affdd0abfd Revert "make remote commands run and not fail if an SSH session failed to be created"
This reverts commit 7224661c71.
2023-07-20 21:20:54 -05:00
7224661c71 make remote commands run and not fail if an SSH session failed to be created 2023-07-20 21:20:16 -05:00
4b382bddd9 v0.3.0
* Getting environment variables and passwords from Vault (not tested
yet)
* Vault configuration to config (not tested yet)
* Ability to run scripts from file on local machine on the remote host
* Ability to get ouput in the notification of a list for individual
commands or all commands
* Make SSH connections close after all commands have been run; reuse
previous connections if needed
2023-07-01 21:46:54 -05:00
5e7c52997c added getting ENV vars from Vault 2023-05-12 00:42:14 -05:00
f7676e73ba Make host connections close last 2023-03-13 20:25:27 -05:00
2ca5f193e4 Close host connections after all command have been run, added some flags to version subcommand 2023-03-10 16:01:02 -06:00
ee83586072 Version 0.2.4
* Notifications now display errors and the output of the failed command.
* CI configs for GitHub and Woodpecker
* Added `version` subcommand
* Console logging can be disabled by setting `console-disabled` in the
`logging` object
* If Host was not defined for an incomplete `hosts` object, any commands
would fail as they could not look up the values in the SSH config files.
2023-02-18 22:42:15 -06:00
02321870b5 fix for remote host ports 2023-02-12 08:48:46 -06:00
3e9138e05a fix for remote host ports 2023-02-12 08:29:55 -06:00
37c20aaafa added new features
- expanding `environment` vars in cmd section
- support for connecting to one proxy/bastion host
- better notification text layout
- better error message on private key failing to open
2023-02-11 23:50:19 -06:00
c3fa74e442 fix for remote host ports 2023-02-02 11:24:01 -06:00
059f4c0097 added some features
- Added `cron` command to run lists with `cron` time specifed
- Changed `-c` flag to `-f` flag for passing config file
- Modified some config keys
  - cmdArgs -> Args
  - Got rid of `hosts.config`
- better SSH handling
  - respects values in config file
2023-02-01 23:54:48 -06:00
03f54c8714 Added command and list execution (#1), small touchups
- Added exec command to execute individual commands
- Added --lists, -l flag to backup command
  - Run command lists (#1)
- Small touchups and documentation
2023-01-20 02:42:52 -06:00
3960d5ec75 small changes, added goreleaser 2023-01-17 22:47:34 -06:00
8e9d563d1f fixes 2023-01-17 00:57:23 -06:00
e2f4553303 A runnable command
- Added backup sub-command
- Added better parsing for config file
- Basis for notifications, no running after a command yet
- Updated docs and added License
2023-01-17 00:55:28 -06:00
15a7ca6c3d Progress on sub-commands, added unmarshalling 2023-01-09 22:18:56 -06:00
ae87ccb4b5 reverted to on hostname, added zerolog 2023-01-03 23:57:19 -06:00
6b85913316 added zerolog 2023-01-03 20:09:02 -06:00
9d07298eb0 ssh host key checking with ssh/knownhosts pkg 2023-01-02 20:02:54 -06:00
9648fe8ab9 debug 2023-01-02 17:50:40 -06:00
14650c4db1 add debug 2023-01-02 17:47:10 -06:00
3863f34fc0 base64 encoding for host 2023-01-02 17:41:42 -06:00
abec574b76 more work on host key checking 2023-01-02 14:55:18 -06:00
198d0ca4b9 fix for host key 2023-01-02 14:46:47 -06:00
b25c7ea5ea re-add panic 2023-01-02 13:30:41 -06:00
59c2c028c8 add ssh timeout 2023-01-02 13:29:12 -06:00
2f73df73b1 debug 2023-01-02 13:25:39 -06:00
34af511a95 start host key auth 2023-01-02 13:18:36 -06:00
c45b537b3f debug info 2023-01-02 12:51:05 -06:00
dabbf6d795 change name 2023-01-02 12:30:29 -06:00
a5f4ba3c2a update connectErr err to panic for multiple hosts 2023-01-02 12:28:33 -06:00
42034a7c15 changes 2023-01-02 12:05:10 -06:00
d701d26938 changes in wording 2023-01-02 12:04:00 -06:00
0a1dbb61a1 changes to ssh configuration 2023-01-02 12:00:11 -06:00
52d49e70f2 redesign started 2023-01-01 23:39:19 -06:00
2daae5cf9e use ssh stdlib 2022-12-26 23:20:11 -06:00
ab12b02dc9 add base for command-line commands 2022-12-15 10:42:21 -06:00
e937259b0f added more logging functions and useSSHagent 2022-11-22 23:20:08 -06:00
0ee7267a18 added HostName to struct 2022-11-22 17:14:54 -06:00
6304866953 added modular packages 2022-11-22 15:09:39 -06:00
62be691fea changed path 2022-10-13 13:38:42 -05:00