35 Commits

Author SHA1 Message Date
8f12a0b976 Update vars & version 2025-04-27 08:19:32 +02:00
b484d9a264 * Add ignore_errors flag to skip errors during key deployment
* Some other minor updates
2025-04-27 08:15:52 +02:00
71eb0acc02 Fixes in resolve_alias() & resolve_targets() 2021-06-16 22:25:43 +02:00
Patrick Van der Veken
c8297aaad2 Version up 2021-03-24 11:24:32 +01:00
Patrick Van der Veken
902dd31116 Fix wrong pattern match 2021-03-24 11:23:55 +01:00
Patrick Van der Veken
d90ad7d30b Bad copy/paste, urgh 2021-03-24 11:23:03 +01:00
Patrick Van der Veken
ec158b2c62 whitespace fix 2021-01-11 16:03:35 +01:00
Patrick Van der Veken
c3fdf58666 ksh88 fix 2021-01-11 15:52:32 +01:00
Patrick Van der Veken
fe836edadf * Fix problem in count_fields() with old AWK
* Make fingerprinting more robust (incl support for newer key types).
2021-01-09 14:20:09 +01:00
Patrick Van der Veken
77a332e324 * added support for standard home directory location for public keys ($HOME/.ssh). Set $key_location=use_sshd in update_ssh.conf[.local] with AuthorizedKeysFile set to the default value in sshd_config (or use the value .ssh/authorized_keys).
* added support for SELinux (CentOS/RHEL 8.x)
* various fixes (incl. shellcheck + quoting)
2020-12-30 17:06:02 +01:00
Patrick Van der Veken
b8004afe62 * Fixed bug in sftp_file(): when file does not contain a directory path, the $TRANSFER_DIR was wrongly calculated
* Fixed wrong filename in distribute2host()
2020-05-28 17:31:55 +02:00
patvdv
9e6ca1b813 Fix for ksh93 -> ksh88 compatability (Peter Stoops) 2018-11-24 10:12:24 +01:00
patvdv
a99decbf95 * Added support to specify @group values for the --targets parameter and in the targets file(s)
* Added support for nested aliases: up to 5 levels deep instead of just
one level
* Added --resolve-alias/--alias command-line parameter to manually check
the resolution any alias
* Fixed propagation of --debug flag (to clients & slaves)
* Fixed propagation of --create-dir flag (to clients & slaves)
* Fixed problem in --fix-local routine (by adding optional --fix-user
command-line parameter and code)
* Fixed check when adding key to ssh-agent
* Added checking on alias resolution in --check-syntax routine
* Better trap setting
* Added typeset-ing to vars
* Switched version numbering (now date based)
* Code cleanup (now error & warning free in shellcheck/perlcritic
linters)
2018-11-03 16:35:36 +01:00
patvdv
af8bf6a665 Fix comments + linter erors 2018-10-28 21:44:55 +01:00
patvdv
65e336d1b1 Fix linter errors 2018-10-28 21:35:07 +01:00
patvdv
d59f91997a Stupid fix 2018-08-18 18:20:52 +02:00
patvdv
f18086b0e2 * Fix for poor awk statements in update_fingerprints (Credits: Peter Stoops)
* Added FINGERPRINT_TYPE as configuration option (md5,sha256) (OpenSSH >v6.8)
2018-08-18 18:18:46 +02:00
Van der Veken Patrick
69ef9a72e0 Added missing code for --make-finger. Removed HISTORY comments 2017-10-26 09:09:33 +02:00
patvdv
ad9f5782a4 Comment update 2015-12-13 15:12:52 +01:00
patvdv
49229f9d55 fix for DO_SLAVE, improved check_root_user() calls (VRF 1.5.2) [Patrick Van der Veken] 2015-12-13 15:07:40 +01:00
patvdv
f03a0403ca simplified handling of SSH agent handling, obsoleted DO_SLAVE_SSH_AGENT option (VRF 1.5.1) [Patrick Van der Veken] 2015-10-10 21:15:06 +02:00
patvdv
7f23f5ac8b added --slave option, 3 new configuration parameters & supporting functions for master->slave operations, several bug fixes (VRF 1.5.0) [Patrick Van der Veken] 2015-10-03 20:03:06 +02:00
patvdv
9aa4d8cbd3 added SSH host keys discovery, re-assigned '-d' command-line option to this function, 2 new parameters in manage_ssh.conf (VRF 1.4.0) [Patrick Van der Veken] 2015-09-27 17:53:33 +02:00
Patrick Van der Veken
7ca0a08be7 added $GLOBAL_CONFIG_FILE
added $GLOBAL_CONFIG_FILE to fix ownership/permissions routine (VRF
1.3.3) [Patrick Van der Veken]
2015-09-23 13:13:47 +02:00
Patrick Van der Veken
871e7ca1bb small fix in wait_for_children()
# @(#) 2015-09-15: small fix in wait_for_children() (VRF 1.3.2) [Patrick
Van der Veken]
2015-09-15 12:35:25 +02:00
Patrick Van der Veken
7d337f3185 Failure in local update should be die() 2015-09-09 13:22:15 +02:00
Patrick Van der Veken
34f358f7fb Log handling
better handling of leading log sigils in die(), log(), logc() and
warn(), fix in count_fields() (VRF 1.3.1)
2015-09-09 12:50:18 +02:00
patvdv
19cccb4a4c VRF 1.3.0: proper error checking for asynchronous jobs, using logc(). Other fixes. 2015-09-06 12:58:50 +02:00
Patrick Van der Veken
be909a8f5b Fix in wait_for_children()
wait should not be called in a sub-shell
2015-09-04 09:57:08 +02:00
Patrick Van der Veken
bc952e64c2 check_config() update
check_config() update
2015-08-28 08:55:05 +02:00
Patrick Van der Veken
4c44fc6679 Added DO_SFTP_CHMOD parameter & pwgetent()
update_ssh.pl: replace read of /etc/passwd by pwgetent() call, small and
not so small fixes (VRF 1.2.0)
Fixes!!!
2015-08-26 15:13:38 +02:00
Patrick Van der Veken
ba260576b5 Sanitation
Whitespace fixes etc
2015-08-18 07:46:23 +02:00
patvdv
c927fe8f1f manage_ssh.sh: moved essential configuration items of the script into a separate configuration file (global/local), fix in wait_for_children (VRF 1.2.0) [Patrick Van der Veken]
update_ssh.pl: VRF 1.1.0: replace uname/hostname syscalls, now support for FQDN via $use_fqdn, other fixes [Patrick Van der Veken]
2015-08-15 21:58:04 +02:00
patvdv
9ce94e58d8 Env correction 2015-08-09 18:10:52 +02:00
Patrick Van der Veken
8528787e97 Initial commit 2015-05-19 11:34:18 +02:00