-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Description
:SSHConnect command fails silently after "Connecting to hostname" and ignores user specification for raw hostnames
Issues
- User ignored for raw hostnames:
:SSHConnect user@hostnameuses local username instead of specified user for IPs/hostnames not in~/.ssh/config - Silent failures: No error messages when connections fail, leaving empty mount directories
- No debugging tools: Impossible to troubleshoot connection issues
Expected vs Actual
Expected:
:SSHConnect user@hostauthenticates as specified user- Clear error messages for failures
- Failed connections clean up empty directories
Actual:
:SSHConnect remoteusername@[raw server ip]connects as local userlocalusername:SSHConnect mystandcreates empty~/mnt/mystanddirectory with no feedback- Manual
sshcommands work but plugin fails silently
Reproduction
-
Run
:SSHConnect remoteusername@[raw server ip] -
Connection succeeds but uses wrong user (local username instead of
remoteusername) -
Have host in
~/.ssh/config -
Run
:SSHConnect host -
Creates empty
~/mnt/host/directory, no error shown
Environment
- Neovim 0.10+
- macOS/Darwin
- OpenSSH
Proposed Fixes
- Fix user handling in authentication for raw hostnames
- Add persistent error display and debug logging
- Implement proper cleanup of failed mount directories
- Add
:SSHDebugand:SSHTestcommands
20-12-2025_sEtMxmQh.mp4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request