return { "nosduco/remote-sshfs.nvim", dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" }, opts = { connections = { ssh_configs = { -- which ssh configs to parse for hosts list vim.fn.expand "$HOME" .. "/.ssh/config", "/etc/ssh/ssh_config", -- "/path/to/custom/ssh_config" }, ssh_known_hosts = vim.fn.expand "$HOME" .. "/.ssh/known_hosts", -- NOTE: Can define ssh_configs similarly to include all configs in a folder -- ssh_configs = vim.split(vim.fn.globpath(vim.fn.expand "$HOME" .. "/.ssh/configs", "*"), "\n") sshfs_args = { -- arguments to pass to the sshfs command "-o reconnect", "-o ConnectTimeout=5", "-o follow_symlinks" }, }, }, }