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
Get remote OS failed: command not found #63
Comments
I was also able to reproduce this with minimal config, taken from the comment of other issue local M = {}
function M.root(root)
local f = debug.getinfo(1, "S").source:sub(2)
return vim.fn.fnamemodify(f, ":p:h:h") .. "/" .. (root or "")
end
---@param plugin string
function M.load(plugin)
local name = plugin:match(".*/(.*)")
local package_root = M.root(".tests/site/pack/deps/start/")
local uv = vim.fn.has("0.10") and vim.uv or vim.loop
if not uv.fs_stat(package_root .. name) then
print("Installing " .. plugin)
vim.fn.mkdir(package_root, "p")
vim.fn.system({
"git",
"clone",
"--depth=1",
"https://github.com/" .. plugin .. ".git",
package_root .. "/" .. name,
})
end
end
function M.setup()
vim.cmd([[set runtimepath=$VIMRUNTIME]])
vim.opt.runtimepath:append(M.root())
vim.opt.packpath = { M.root(".tests/site") }
vim.opt.termguicolors = true
vim.env.XDG_CONFIG_HOME = M.root(".tests/config")
vim.env.XDG_DATA_HOME = M.root(".tests/data")
vim.env.XDG_STATE_HOME = M.root(".tests/state")
vim.env.XDG_CACHE_HOME = M.root(".tests/cache")
M.load("MunifTanjim/nui.nvim")
M.load("nvim-lua/plenary.nvim")
M.load("rcarriga/nvim-notify")
M.load("nvim-telescope/telescope.nvim")
M.load("amitds1997/remote-nvim.nvim")
require("remote-nvim").setup({
log = {
level = "debug",
max_size = 0,
},
})
require("notify").setup({
background_colour = "#000000",
})
end
M.setup() |
Thanks for reporting this. Let me have a look! |
We were not parsing connection options correctly for hostname which needs to be removed from connection string. We have now implemented a more robust mechanism for handling this instead of relying on regular expressions. Fixes #63.
We were not parsing connection options correctly for hostname which needs to be removed from connection string. We have now implemented a more robust mechanism for handling this instead of relying on regular expressions. Fixes #63.
This should be fixed next time you pull for updates from the plugin. Feel free to re-open this if you still face the issue. |
Could you share the output of |
Here is the contents of the log (I've replaced some identifiable information with Some additional information: I'm on Windows (powershell) using password auth
|
The plugin is not tested on Windows OS currently. I did not have access to a Windows machine so this was not possible but this is something I plan to work on soon. So, it failing is kind of expected, sorry. Please open a new issue and I would try to look into this on priority. |
Describe the bug
I installed the plugin and executed
RemoteStart
withichirou2910@192.168.1.101
in the ssh promptTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Connect successfully
System Info
The text was updated successfully, but these errors were encountered: