<div dir="ltr">Hey folks,<div><br></div><div>I have spent a little time today working out a cute little bash alias trick for reducing my typing when connecting to various instances in labs.  Adding the following code to your <i>.bash_alias</i> (or just <i>.bashrc</i>) file will change <font face="monospace, monospace" style="background-color:rgb(238,238,238)">$ ssh <your instance>.eqiad.wmflabs</font> to <font face="monospace, monospace" style="background-color:rgb(238,238,238)">$ labs <your instance></font>.</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace, monospace" style="background-color:rgb(238,238,238)"><br></font></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="background-color:rgb(255,255,255)"><span style="font-family:monospace,monospace">labs_ssh() {<br></span><span style="font-family:monospace,monospace">  ssh $1.eqiad.wmflabs<br></span><span style="font-family:monospace,monospace">}<br></span><span style="font-family:monospace,monospace">alias labs=labs_ssh</span></span></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><font face="monospace, monospace" style="background-color:rgb(238,238,238)"><div><br></div></font></blockquote><font face="arial, helvetica, sans-serif">And there you have it.  It's not much, but this helped my sanity a little bit and I wanted to share.</font><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">-Aaron</font></div></div>