From 8601137799f34d4e0067b5d9e229df86be9ac5cd Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Wed, 3 Jun 2020 13:26:00 -0500 Subject: [PATCH] Silence SSH keygen --- CHANGELOG.md | 2 +- VERSION | 2 +- gravity-sync.sh | 11 +++++------ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 016535b..1dd3922 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ - No new Star Trek references. #### 1.7.8 -- SSH connection logic rewritten to be specific to client options between OpenSSH, OpenSSH w/ SSHPASS, and Dropbear. +- SSH/RSYNC connection logic rewritten to be specific to client options between OpenSSH, OpenSSH w/ SSHPASS, and Dropbear. - Removes INFO that SSHPASS is not installed during config, if it's not needed. Redirects user to documentation. - Better error handling of configuration options. diff --git a/VERSION b/VERSION index 73c8b4f..25a6ced 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.7.7 \ No newline at end of file +1.7.8 \ No newline at end of file diff --git a/gravity-sync.sh b/gravity-sync.sh index 7b87534..fbe5112 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -3,7 +3,7 @@ SCRIPT_START=$SECONDS # GRAVITY SYNC BY VMSTAN ##################### PROGRAM='Gravity Sync' -VERSION='1.7.7' +VERSION='1.7.8' # Execute from the home folder of the user who owns it (ex: 'cd ~/gravity-sync') # For documentation or downloading updates visit https://github.com/vmstan/gravity-sync @@ -987,7 +987,7 @@ function config_generate { MESSAGE="Using Existing ~/${SSH_PKIF}" echo_info else - KEYGEN_COMMAND="ssh-keygen -t rsa -f" + KEYGEN_COMMAND="ssh-keygen -t rsa -f -q -N ''" detect_sshkeygen MESSAGE="Generating ~/${SSH_PKIF}" @@ -1284,10 +1284,9 @@ function task_compare { echo_good import_gs - - validate_gs_folders - validate_ph_folders - validate_os_sshpass + validate_gs_folders + validate_ph_folders + validate_os_sshpass md5_compare }