From 0705bd71df9d0dd666efc1e657f885ab4c4e20fa Mon Sep 17 00:00:00 2001 From: Bryan Bonvallet Date: Wed, 19 Feb 2014 15:46:05 -0500 Subject: [PATCH] Making better use of the ssh-config output --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b9330dc..ca39766 100644 --- a/README.md +++ b/README.md @@ -425,17 +425,17 @@ access the virtual machine. This is done by running `vagrant ssh-config` from (usually found at `~/.ssh/config`). This can be done more simply by typing this on the host machine: - vagrant ssh-config >> ~/.ssh/config + vagrant ssh-config --host karmavm >> ~/.ssh/config The VM will, by default, route its SSH connection through localhost port 2222 on the host machine and the base user with be vagrant. Point Fabric there when running fab commands from `{project_root}`. So the command will look like this: - fab -H 127.0.0.1 --port=2222 -u vagrant + fab -H karmavm In unix, it might be convenient to create and use an alias like so: - alias vmfab='fab -H 127.0.0.1 --port=2222 -u vagrant' + alias vmfab='fab -H karmavm' vmfab Removing a unix alias is done with `unalias`. -- 2.25.1