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

PR: Provide username, host and port from hostname info in ssh tunnels #22691

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

hlouzada
Copy link
Contributor

Description of Changes

  • Wrote at least one-line docstrings (for any new functions)
  • Added unit test(s) covering the changes (if testable)
  • Included a screenshot or animation (if affecting the UI, see Licecap)

Split ssh address into host and port provided from the external kernel connections dialog to ssh tunneling handler.

Issue(s) Resolved

Fixes #22555

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @hlouzada

@pep8speaks
Copy link

pep8speaks commented Oct 18, 2024

Hello @hlouzada! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2024-10-28 17:18:51 UTC

Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hlouzada for your work on this! I only left a couple of simple suggestions for you.

Tomorrow I'll give this a manual check.

spyder/plugins/ipythonconsole/utils/client.py Outdated Show resolved Hide resolved
spyder/plugins/ipythonconsole/utils/client.py Outdated Show resolved Hide resolved
@ccordoba12 ccordoba12 changed the title PR: Handle ssh hostname format and provide to ssh connections format PR: Provide username, host and port from hostname info in ssh tunnels Oct 21, 2024
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this manually and it works like a charm, thanks @hlouzada!

@ccordoba12 ccordoba12 merged commit 85df89f into spyder-ide:master Oct 28, 2024
17 checks passed
@ccordoba12
Copy link
Member

@meeseeksdev please backport to 6.x

meeseeksmachine pushed a commit to meeseeksmachine/spyder that referenced this pull request Oct 28, 2024
ccordoba12 pushed a commit that referenced this pull request Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remote spyder kernel not connecting
3 participants