配置SSH快捷连接

2021-04-09

~/.ssh 目录下有个 config 文件,修改该文件添加主机配置:

Host *
    ServerAliveInterval 60

Host 47
    HostName 47.114.62.251
    User root
    Port 22
    IdentityFile ~/.ssh/id_rsa

即可通过命令 ssh 47 连接至服务器

Terminal

Jeff Liu

Scheme 环境搭建

Buffers, Windows, Tabs in Vim