.ssh/config 配置文件

|

05年”来弄我“ Lenovo小本一台,现在是我常的一个工作平台,喜欢用这个远程连接我其”她“正在提供服务的“小鸡”,在~/.ssh目录下创建config文件,格式如下

Host DB
        HostName 192.168.99.126
Host WEB
        HostName 192.168.99.125
以后远程连接的时候就可以

ssh tea@DB  or   ssh tea@WEB 这样就可以了,方便

 

小记一下,人老健忘

About this Entry

This page contains a single entry by 清茶 published on March 22, 2010 3:29 PM.

换了只"小鸡"接客 was the previous entry in this blog.

Smart Q5 on Android is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.31-zh-cn