/// <summary> /// Execute a kinit /// </summary> /// <param name="connection"></param> /// <param name="username"></param> /// <param name="password"></param> /// <param name="dumpOnly">Dump commands to logging interface rather than execute them</param> /// <returns></returns> public static ISSHConnection Kinit(this ISSHConnection connection, string userName, string password, bool dumpOnly = false) { return(connection.KinitAsync(userName, password, dumpOnly) .WaitAndUnwrapException()); }