virtualbox+vagrant学习-2(command cli)-18-vagrant ssh-config命令

SSH Config

格式:

vagrant ssh-config [options] [name|id]

这将从SSH直接将SSH配置文件的有效配置输出到正在运行的vagrant 计算机(而不是使用vagrant ssh命令)。

userdeMacBook-Pro:~ user$ vagrant ssh-config -h
Usage: vagrant ssh-config [options] [name|id]

Options:

        --host NAME                  Name the host for the config 配置的主机名
    -h, --help                       Print this help 打印帮助信息

 

posted @ 2018-12-25 19:33  慢行厚积  阅读(392)  评论(0)    收藏  举报