Skip to content

Instantly share code, notes, and snippets.

View ajkavanagh's full-sized avatar

Alex Kavanagh ajkavanagh

View GitHub Profile
@basak
basak / lxd-ssh.sh
Created October 11, 2017 02:57
lxd-ssh: wrapper for using ssh/scp/etc with lxd
#!/bin/sh
set -e
# lxd-ssh
# Wrapper for using ssh/scp/etc with lxd
# Author: Robie Basak <robie.basak@canonical.com>
# Last-Update: 2017-10-11
# Instructions:
#
@jedi4ever
jedi4ever / dns tuning ssh login speedup vagrant
Created May 27, 2013 13:37
speeding up DNS/SSH connections in vagrant
- Tune /etc/ssh/sshd_config
UseDNS no # Disable DNS lookups
GSSAPIAuthentication no # Disable negotation of slow GSSAPI
don't forget to restart it, use a script provider to set it , or create it with veewee or snapshot it
- Tune Vagrantfile
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
@gotbadger
gotbadger / gist:5109289
Created March 7, 2013 16:25
compare the changes in two branches. in this case the changes between master and development
git --no-pager diff --stat --color master..development