collect and raise rc of ssh-keygen if non-zero