Attempt to fix https://github.com/dbcli/mycli/issues/1176
The error is caused by paramiko.channel.Channel class that implements a subset of python's socket API and cannot be properly wrapped in SSL because of this.
These changes replace the use of Channel with a straightforward approach of opening a python socket to local bound host and port of a tunnel to the jump host.
Checklist
[x] I've added this contribution to the changelog.md.
[x] I've added my name to the AUTHORS file (or it's already there).
Description
Attempt to fix https://github.com/dbcli/mycli/issues/1176 The error is caused by paramiko.channel.Channel class that implements a subset of python's socket API and cannot be properly wrapped in SSL because of this.
These changes replace the use of Channel with a straightforward approach of opening a python socket to local bound host and port of a tunnel to the jump host.
Checklist
changelog.md
.AUTHORS
file (or it's already there).