Hey there everyone! ![]()
The new v0.60.0 just dropped a few days ago and it seems there were a lot of changes regarding ssh.
Now of course I updated straight away, but now am experiencing some issues:
I am currently using VSCode Remote SSH for connecting to my Netbird peers (worked really good!) up until the new update I was able to connect to my peers like always.
After updating my peers to the newest version and connecting to them I noticed that one of the two requested a OIDC authentication (cool, but not what I want), so I added --disable-ssh-auth, but that also didn’t help then it seemed like there was no authentication whatsoever (I guess that’s why it is called disable..ssh..auth, but to my understanding only jwt auth should be disabled with that), I can just ssh into the peer without any password.
Using the terminal was working (great!), but then when trying out VSCode it couldn’t connect, I am not sure why…
The first peer seems to still be working with password-only and it also didn’t change its ssh key, but the second peer (the one where VSCode is failing) did (… change its key).
Now my question is:
-
How do I change it back to requesting a Password each time?
AND
-
Why did the first peer not change its key and still works with VSCode?
Context:
- Yes, I have enabled ssh vai UI and cmdline
- Yes, both the client and peer 1+2 are on
v0.60.2 - Yes, I have restarted both of my peers
- Yes, I can ping both peers, they are connected
- Yes, I have setup an ACL Rule
Logs:
local-server-1> Spawned ssh, pid=335993
OpenSSH_9.6p1 Ubuntu-3ubuntu13.14, OpenSSL 3.0.13 30 Jan 2024
debug1: Server host key: ssh-ed25519 SHA256:REDACTED
Authenticated to peer-2.domain.com ([PEER2_IP]:22) using "none".
no command specified and Pty not requested
Transferred: sent 1904, received 1384 bytes, in 0.0 seconds
Bytes per second: sent 152035.9, received 110513.5
local-server-1> ssh child died, shutting down
Thanks in advance!