Socket
Socket
Sign inDemoInstall

@types/tunnel-ssh

Package Overview
Dependencies
2
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @types/tunnel-ssh

TypeScript definitions for tunnel-ssh


Version published
Maintainers
1
Install size
3.37 MB
Created

Readme

Source

Installation

npm install --save @types/tunnel-ssh

Summary

This package contains type definitions for tunnel-ssh (https://github.com/agebrock/tunnel-ssh).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tunnel-ssh.

index.d.ts

// Type definitions for tunnel-ssh 4.1
// Project: https://github.com/agebrock/tunnel-ssh
// Definitions by:  Maz Ahmadi <https://github.com/cmdshepard>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node"/>

import { Server } from "net";

export = tunnel;

declare function tunnel(config?: tunnel.Config, cb?: (error: Error, server: Server) => void): Server;

declare namespace tunnel {
    import ReadableStream = NodeJS.ReadableStream;

    interface Config {
        dstHost?: string | undefined;
        dstPort?: number | undefined;
        localHost?: string | undefined;
        keepAlive?: boolean | undefined;
        host?: string | undefined;
        port?: number | undefined;
        localAddress?: string | undefined;
        localPort?: number | undefined;
        forceIPv4?: boolean | undefined;
        forceIPv6?: boolean | undefined;
        hostHast?: string | undefined;
        hostVerifier?: ((hashedKey: string, ...cb: Array<(doContinue: boolean) => void>) => boolean) | undefined;
        username?: string | undefined;
        password?: string | undefined;
        agent?: string | undefined;
        agentForward?: boolean | undefined;
        privateKey?: Buffer | string | undefined;
        passphrase?: string | undefined;
        localHostname?: string | undefined;
        localUsername?: string | undefined;
        tryKeyboard?: boolean | undefined;
        authHandler?: ((methodsLeft: null | string[], partialSuccess: null | boolean, cb: (nextMethod: string) => void) => string) | undefined;
        keepaliveInterval?: number | undefined;
        keepaliveCountMax?: number | undefined;
        readyTimeout?: number | undefined;
        sock?: ReadableStream | undefined;
        strictVendor?: boolean | undefined;
        algorithms?: {
            key?: string[] | undefined;
            cipher?: string[] | undefined;
            serverHostKey?: string[] | undefined;
            hmac?: string[] | undefined;
            compress?: string[] | undefined;
        } | undefined;
        compress?: "force" | boolean | undefined;
        debug?: ((info: string) => void) | undefined;
    }
}

Additional Details

  • Last updated: Fri, 02 Jul 2021 19:37:21 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Maz Ahmadi.

FAQs

Last updated on 02 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc