ssh2 with node doesn't work correctly ?
Hello
I am trying to connect to the gpu cloud using ssh2 via the [email protected] using a ssh key.
It work using ssh.shell but not ssh.exec (it asks for PTY and when it is set, it doesn't no send any command).
I don't know what to do because I faced this problem with runpod and I can yet connect using my linux terminal instead of going through my script)
Any idea ?
Solution:Jump to solution
RunPod Blog
How to Achieve True SSH in RunPod
RunPod allows you to get a terminal access pretty easily, but it does not run a true SSH daemon by default. There are plenty of use cases, like needing to SCP or connecting an IDE that would warrant running a true SSH daemon inside the pod. We'll go through the
3 Replies
You can't use basic SSH for that, you need to use normal SSH.
Solution
RunPod Blog
How to Achieve True SSH in RunPod
RunPod allows you to get a terminal access pretty easily, but it does not run a true SSH daemon by default. There are plenty of use cases, like needing to SCP or connecting an IDE that would warrant running a true SSH daemon inside the pod. We'll go through the
Idk if this is valid - cause I didn't test it beyond just connecting, but I found a new way to do ssh, doing:
https://discord.com/channels/912829806415085598/1185336794309468210/1192614128137814144