@prismshadow/penguin-library-machine · library/machine/src/commands.ts:74

PasswordLogin

interface

How a machine that signs in with a password gets it to ssh.

API

@Interface("@prismshadow/penguin-server#PasswordLogin")
export abstract class PasswordLogin {
  abstract get askpass(): string;
  abstract read(): string | null;
}

Members (1)

read

read(): string | null

The stored password now; null when none is stored any more.

@returnsstring | null