Hey, having trouble with VSCode Remote SSH to my pod. Need help.
I can SSH into the pod from my terminal using both:
ssh root@<ip> -p <port> -i ~/.ssh/id_ed25519(SSH over TCP)ssh <user>@ssh.runpod.io -i ~/.ssh/id_ed25519(stable gateway)
Both work perfectly in terminal.
However, VSCode Remote-SSH fails with:
No hints found in the recent session
If I paste the raw TCP SSH command directly into VSCode, it connects.
But using an SSH config alias (Host runpod) does not work, even though ssh runpod works fine in terminal.
So VSCode can SSH, but fails during the server bootstrap on the pod.
Is there something missing in the pod environment that prevents VSCode server from starting?
Thanks!
My ssh config file:
Host 194.68.xxx.xx
HostName 194.68.xxx.xx
User root
Port xxxxx
IdentityFile ~/.ssh/id_ed25519Host runpod
HostName ssh.runpod.io
User j1wxxxxxxxxx-xxxxxd
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
ServerAliveInterval 30
ServerAliveCountMax 3
TCPKeepAlive yes