Failed to connect to server #236
-
This plugin is so promising. It would totally change my life. I'm experiencing enormous lag sshing into my virtual machine and running nvim like that. I really hope this plugin can solve this for me. But enough about that. I have been watching your videos and reading the docs for a few hours. My client is Windows and I'm trying to connect to a Debian VM running on the same machine (eventually I'd like to connect to a docker container inside the VM, but baby steps). I have the nvim plugin installed, the executable installed on the client and the server, and the system service set up. I am trying to do
When I try from nvim, I get:
The ssh port is 1234. I opened port 8080 to the VM. I tried running I put
Also, I have an ssh key set up, but it asks me for my password every time. Is that normal? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The ssh client code we're using (written in C) has been a bit unreliable, so there's work to update it (found in the RusshSupport branch). In addition, since you're interested in Docker, there's also work to support Docker directly instead of needing to host the distant server within containers or use ssh. In the meantime, the error you're getting appears to be refusal to connect to the TCP port, which means that the server may not be listening properly. Here's what I would try:
|
Beta Was this translation helpful? Give feedback.
The ssh client code we're using (written in C) has been a bit unreliable, so there's work to update it (found in the RusshSupport branch). In addition, since you're interested in Docker, there's also work to support Docker directly instead of needing to host the distant server within containers or use ssh.
In the meantime, the error you're getting appears to be refusal to connect to the TCP port, which means that the server may not be listening properly. Here's what I would try: