Hello dear redditors,
I have a problem using tramp with my ssh config file and `ProxyJump` . I just can't figure out why it does not work. The situation is the folowoing:
Machine\_A ---> JumpMachine ---> Machine\_B
My ssh config for that looks as follows:
Host Machine_B
Hostname <some_ip>
User <my_username>
Port <some_port>
ProxyJump JumpMachine
ServerAliveInterval 60
Host JumpMachine
Hostname <some_ip>
User <Some_user>
Port <some_port>
ProxyCommand <a_simple_bashscript>
IdentityFile <my_identiyfile>
Host Machine_B_admin
Hostname <some_ip>
User <my_admin_username>
Port <some_port>
ProxyJump JumpMachine
ServerAliveInterval 60
Machine B has no PW auth, only the jumpmachine. Both can be obviously accesed using ssh. The setup works with my shell (fish) as well as other shells and with vscode.
​
What is really strange, is that that tramp always asks me for `ssh:Machine_B passsword:` while only the `JumpMachine` has a password. The PW auth is turned off for ssh on `Machine_B`. I tried using the password for `JumpMachine` and `Machine_B` and neither works. TBH I am not really sure what to do by now.
I just wanted to mention that there is also another entry for my admin account. Don't know if that matters in any way.
Any tips?