tunnel-ssh-mac

Easy extendable SSH tunnel

Usage no npm install needed!

<script type="module">
  import tunnelSshMac from 'https://cdn.skypack.dev/tunnel-ssh-mac';
</script>

README

Folk from Finanzchef24-GmbH/tunnel-ssh

This folked one is making it work on mac.

Two more options are needed:

{
    tryKeyboard:true,
    "keyboard-interactive":function(name,instructions,instructionsLang,prompts,finish){
        finish([yourpassword]);
    }
} 

Add an option in tunnel

tunnel(config, options, callback);
options
   try:boolean // try connection after setup tunnel
   size:number // create how many sshconnection after setup tunnel

Note that, finish args is an array corresponding to prompts array.