How to use the ssh-config.DIRECTIVE function in ssh-config

To help you get started, we’ve selected a few ssh-config examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ionic-team / ionic-cli / packages / ionic / src / lib / ssh-config.ts View on Github external
export function isDirective(entry: any): entry is SSHConfig.ConfigDirective {
  return entry && entry.type === SSHConfig.DIRECTIVE;
}
github ionic-team / ionic-cli / packages / cli-plugin-cloud / src / commands / ssh / use.ts View on Github external
function isConfigDirective(entry: SSHConfig.Config): entry is SSHConfig.ConfigDirective {
  return entry.type === SSHConfig.DIRECTIVE;
}

ssh-config

SSH config parser and stringifier

MIT
Latest version published 3 months ago

Package Health Score

69 / 100
Full package analysis