Skip to content

feat: connect to hosts that are not in ssh_config - #28

Merged
uhs-robert merged 1 commit into
mainfrom
feat/9-manual-host
Sep 11, 2026
Merged

uhs-robert merged 1 commit into
mainfrom
feat/9-manual-host

Conversation

@uhs-robert

@uhs-robert uhs-robert commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Closes #9.

:SSHConnect user@host parsed the user and then dropped it, so the connection authenticated as the local user, the original complaint in the issue. Typed values now outrank what ssh -G reports for the same name, since a typed user or port cannot have come from ssh_config. An alias still gains its full resolved config.

The picker also offered no way to reach a host that is in no config: with an empty ssh_config it just said "No SSH hosts found" and stopped. It now prompts, and otherwise lists "Enter host manually..." alongside the configured hosts.

The issue also asked for error surfacing, failed-mount cleanup, :SSHDebug and :SSHTest. Those issues were already resolved in #21, #22 and #23.

A typed user or port was parsed and then lost, so `:SSHConnect user@host`
authenticated as the local user. Typed values now outrank what `ssh -G`
reports, and the picker offers manual entry instead of dead-ending when
ssh_config is empty.

Closes #9

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@uhs-robert
uhs-robert merged commit 372fb31 into main Sep 11, 2026
3 of 4 checks passed
@uhs-robert
uhs-robert deleted the feat/9-manual-host branch September 11, 2026 02:00
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.

FEAT: Add ability to input user@host.com manually when using :SSHConnect

2 participants