Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
3ddba69
Remote Client: Finish support for OpenSSH client config file specific…
dalthviz May 2, 2025
8e0c598
Remote Client: Improve fields tips for config file based connection page
dalthviz May 2, 2025
ed3079f
Merge branch 'master' into fixes_issue_22464
dalthviz May 5, 2025
f8957be
Remote Client: Add optional fields for config file based connection
dalthviz May 9, 2025
83965c7
Apply suggestions from code review
dalthviz May 20, 2025
2e55e08
Merge branch 'master' into fixes_issue_22464
dalthviz May 20, 2025
4625411
Remote client: Add initial extra validations using OpenSSH client con…
dalthviz May 24, 2025
89b125f
Merge branch 'master' into fixes_issue_22464
dalthviz May 30, 2025
09ebedf
Merge branch 'master' into fixes_issue_22464
dalthviz Jun 1, 2025
e45a823
Merge branch 'master' into fixes_issue_22464
dalthviz Jun 17, 2025
59ba911
Remote Client: Add more default values to connect dialog for config f…
dalthviz Jun 17, 2025
8f11ebb
Merge branch 'master' into fixes_issue_22464
dalthviz Jul 9, 2025
c9c4097
Merge branch 'master' into fixes_issue_22464
dalthviz Aug 4, 2025
2dbeabb
Apply suggestions from code review
dalthviz Sep 22, 2025
08191f0
Merge branch 'master' into fixes_issue_22464
dalthviz Sep 22, 2025
9aae452
Merge branch 'master' into fixes_issue_22464
dalthviz Oct 23, 2025
f1cd227
Remote client: Revert height change and add advanced config section
dalthviz Oct 23, 2025
033cbc9
Merge branch 'master' into fixes_issue_22464
dalthviz Oct 27, 2025
2038673
Remote client: Remove config file as authentication method. Add confi…
dalthviz Oct 31, 2025
294e628
Merge branch 'fixes_issue_22464' of https://github.com/dalthviz/spyde…
dalthviz Oct 31, 2025
ad0fbe0
Merge branch 'master' into fixes_issue_22464
dalthviz Oct 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions spyder/plugins/remoteclient/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,24 @@ def _load_ssh_client_options(self, config_id):
f"{config_id}/passphrase", "", secure=True
):
options["passphrase"] = passphrase
elif config := self.get_conf(f"{config_id}/configfile"):
options["config"] = config
else:
# Password is mandatory in this case
password = self.get_conf(f"{config_id}/password", secure=True)
options["password"] = password

if config := self.get_conf(f"{config_id}/{auth_method}/configfile"):
options["config"] = [config]

# Some validations to avoid passing empty values
if options["port"] == 0:
# Ignore value if 0 is set because it means the port we'll be
# read from the config file.
options.pop("port")

if not options["username"]:
# Ignore empty username
options.pop("username")

# Default for now
options["platform"] = "linux"

Expand Down
2 changes: 1 addition & 1 deletion spyder/plugins/remoteclient/widgets/connectiondialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ConnectionDialog(SidebarDialog):
TITLE = _("Remote connections")
FIXED_SIZE = True
MIN_WIDTH = 895 if MAC else (810 if WIN else 860)
MIN_HEIGHT = 740 if MAC else (655 if WIN else 690)
MIN_HEIGHT = 855 if MAC else (780 if WIN else 795)
PAGE_CLASSES = [NewConnectionPage]

sig_start_server_requested = Signal(str)
Expand Down
Loading
Loading