dahlbyk / posh-sshell

PowerShell helpers for SSH (previously part of posh-git.)
MIT License
143 stars 8 forks source link

New parameters for Add-SshConnection #13

Closed JeremySkinner closed 6 years ago

JeremySkinner commented 6 years ago

Add parameters for easily setting up tunnels. Eg:

Add-SshConnection -Name MyProxy -Uri example.com -LocalTunnelPort 81 -RemoteTunnelPort 80 -TunnelHost localhost

If either local/remote port are specified but the other isn't, then the same should be used for both. If TunnelHost is not specified, use localhost.

JeremySkinner commented 6 years ago

Done in 33fb0c8