UNPKG

pure-js-sftp

Version:

A pure JavaScript SFTP client with revolutionary RSA-SHA2 compatibility fixes. Zero native dependencies, built on ssh2-streams with 100% SSH key support.

10 lines 503 B
/** * Revolutionary Proxy Fix for ssh2-streams RSA Authentication * * This module uses JavaScript Proxy to intercept ssh2-streams method calls * and modify RSA key algorithm names from "ssh-rsa" to "rsa-sha2-256" at runtime. * This enables RSA key authentication with modern SSH servers without modifying * the ssh2-streams library. */ export declare function applyRevolutionaryProxyFix(ssh2Stream: any, debugFn?: (msg: string) => void): any; //# sourceMappingURL=revolutionary-proxy-fix.d.ts.map