From 700d058c205462adb801a2f6c54b1ae67a7b56f7 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 21 Jul 2010 22:03:41 -0700 Subject: [PATCH] SSH performance tip --- docs/base_boxes.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/base_boxes.md b/docs/base_boxes.md index ad4978872..d1d1eb826 100644 --- a/docs/base_boxes.md +++ b/docs/base_boxes.md @@ -200,6 +200,16 @@ If this box is meant to be private, we recommend you create your own custom pair of keys and set that up. Users of your box can then specify the private key you created by setting `config.ssh.private_key_path`. +
+

Additional SSH Tweaks

+

+ In order to keep SSH access speedy even when your host computer can't + access the internet, be sure to set UseDNS to no + in /etc/ssh/sshd_config. This will disable DNS lookup of + clients connecting to the server, which speeds up SSH connection. +

+
+ ### Setup the Vagrantfile By default, Vagrant only forwards SSH (from port 22 to 2222 with automatic port