Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix SSL through SSH jump #1178

Closed
wants to merge 1 commit into from
Closed

Conversation

amne
Copy link
Contributor

@amne amne commented Nov 20, 2024

Description

Attempt to fix #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

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).

@amne amne closed this Nov 20, 2024
@amne
Copy link
Contributor Author

amne commented Nov 20, 2024

owned by git! again

@amne amne deleted the fix/ssl_through_ssh_tunnel branch November 20, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'Channel' object has no attribute 'getsockopt' when connecting with SSL through a jump server
1 participant