Skip to content

Commit

Permalink
* Added informative messages to the user to inform which method of ke…
Browse files Browse the repository at this point in the history
…ys generation/conversion was used.
  • Loading branch information
grazzolini committed Aug 15, 2016
1 parent d33c5b7 commit 3fe5d56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tinyssh_install
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ generate_keys() {
if [ ! -d /etc/tinyssh/sshkeydir ]; then
tinysshd-makekey /etc/tinyssh/sshkeydir
if [ $? -eq 0 ]; then
echo "Generated tinyssh keys..."
return 0
fi
fi
Expand All @@ -34,6 +35,10 @@ copy_openssh_keys() {
fi
fi

if [ $return_code -eq 0 ]; then
echo "Converted keys from OpenSSH..."
fi

return $return_code
}

Expand Down

0 comments on commit 3fe5d56

Please sign in to comment.