Don't commit all. That's dangerous.
Don't wait for SSH passphrases. Let the user add them later.
Pass all parameters (e.g.: man section) to the man command.