SFTP connect don't use correctly ProxyJump in .ssh/config
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- c
- Domain
- desktop, networking
Research direction
Start by reproducing the issue in Nemo with the two-host ~/.ssh/config example, then compare its SFTP connection path with the validated sftp h2 command. Trace how Nemo handles the proxy and final host credentials; done means each hop uses its own configured User, with both password prompts showing the correct username.
Written by the indexing model from the issue text.
Description
Distribution
Mint 22.3
Package version
6.6.3
Frequency
Always
Bug description
When typing sftp://<alias> in explorer bar, and that alias being a ~/.ssh/config entry with a ProxyJump field, the username used in always the same as the proxy one despite having a different configuration for final host's User.
You are prompted for proxy's password with proxy's User, then prompted for final host's password with proxy's User.
Steps to reproduce
- Setup
~/.ssh/configto have 2 hosts with 2 differentUserfield, one proxying the other, exemple:
Host h1
HostName foo
User u1
Host h2
HostName bar
User u2
ProxyJump h1 # or u1@foo
- Validate your conf in cli with
sftp h2 - Type
sftp://h2in nemo's address bar, hit Enter - A prompt dialog ask for h1's User's password on h1's Host, type it in
- A 2nd prompt ask for h1's User's password on h2's Host, instead of h2's User's password
Expected behavior
Expect each hop's step to use each Host's User in config.
Additional information
No response
- Dominant language
- C
- Stars
- 1.6k
- Forks
- 373
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/nemo
-
"Follow link to original file" item has no underlined mnemonic letterPossibly taken @ronitgupta138 claimed this 7 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Desktop rename box: white text on a hardcoded white gradient with any dark theme (also black caret)Open
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
linuxmint/nemo#3843 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
linuxmint/nemo#3838 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
Similar issues
-
bug Component component: net
Difficulty 1/5 Under an hour Newbie friendliness 90/100
RT-Thread/rt-thread#11852 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
siderolabs/pkgs#1710 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100