Back to Spacevim

SpaceVim ssh layer

docs/layers/ssh.md

2.4.01.0 KB
Original Source

Available Layers >> ssh

<!-- vim-markdown-toc GFM --> <!-- vim-markdown-toc -->

Intro

This layer provides ssh connection support for SpaceVim. By default this layer is not enabled. To use this configuration layer, add following snippet to your custom configuration file.

toml
[[layers]]
  name = "ssh"

Layer options

  • ssh_port: set the port of ssh server
  • ssh_address: set the ip of ssh server
  • ssh_user: set the user name of ssh server

Example:

[[layers]]
    name = 'ssh'
    ssh_command = 'D:\Programs\Git\usr\bin\ssh.exe'
    ssh_user = 'root'
    ssh_address = '192.168.1.10'
    ssh_port = '8097'

Key bindings

Key BindingDescription
SPC S oopen ssh connection windows

Commands

  • :SSHCommand: run comamnd in ssh client.

    for example:

    :SSHCommand nvim --version