-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can successfully connect to a remote server using oil-ssh but ... #521
Comments
It sounds like scp is having some trouble with the command used to download the remote file. Hard to say what that could be without seeing it. Could you update oil.nvim and try again? I just pushed a change that will include the raw |
Hello here is the error that i'm getting :
I just hide the my user name with xxxxxx and the IP address is a fake one even if it's a local one, all the rest is from the original error displayed. So i guess is enough information to confirm the issue ? |
Oh wow I just noticed that you're on a super old version of Ubuntu. That's probably going to have something to do with it, but we can probably get it working. The issue right now is that the
|
So this is not working :
To make it work i had to make it like that (and this is how i usually use scp, but i might probably be use to it like that because of this old system): So looks like it doesn't like the "%2F" and the "scp://" prefix in front of the username, and i need to add this ":" character just after the IP address. So on your end you run scp with something like that and it works ? |
Yes, it looks like the URI format for scp targets was added in OpenSSH 7.7, which was released on April 1 2018. Is there...any way you can upgrade to a newer version of OpenSSH? |
Did you check the docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.1
Operating system/version
Ubuntu 16.04
Describe the bug
I can without any problem connect to a remote server using oil-ssh, but when i try to open and edit a file, i'm getting this error displayed on the buffer :
ssh: Could not resolve hostname scp: Name or service not known
To connect to the remove server at the beginning i was using a password, but after that i used my ssh key to connect to the remote server without having to type my password everytime, but the problem is the same in both cases.
When trying to connect and using a regular vim it works.
When i tried to reproduce the issue with the lua provided on the bug report form, looks like that the oil-ssh command was not available.
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
Expected Behavior
I was expecting to have the selected file to be opened and displayed on the buffer
Directory structure
No response
Repro
Did you check the bug with a clean config?
nvim -u repro.lua
using the repro.lua file above.The text was updated successfully, but these errors were encountered: