The addSSHTimeout and disablePseudoTerminalAllocation were added in commitsa5ebe2282aandf3c2c26b10, and called inside the Dialer function, which means they're called every time the Dialer is called. Given that the sshFlags slice is not mutated by the Dialer, we can call these functions once. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>