Utility methods for ssh connections