 <p>When installing rancid, clogin was placed in <code>/usr/lib/rancid/bin/clogin</code>, which wasn't in my path. It still runs from the command line just fine, though.</p> <p>I had to create my own ~/.cloginrc file, and <code>chmod 700 ~/.cloginrc</code> before it would let me run the command.</p> <p>This was on Ubuntu 12.04.</p> <p>A basic run-through, I installed it via <code>apt-get install rancid</code>. Then I had to add these lines to my (non-existent) ~/cloginrc:</p> <pre><code>add user 192.168.11.1 admin add password 192.168.11.1 MyPassword </code></pre> <p>Then at the command line, I typed:</p> <pre><code>/usr/lib/rancid/bin/clogin 192.168.11.1 </code></pre> <p>It performed the login process for me, based on the IP address.</p> <p>That's pretty much it, though I might point out you could even leave your <code>.cloginrc</code> empty and just type <code>/usr/lib/rancid/bin/clogin -u admin -p MyPassword 192.168.11.1</code> instead.</p> <p>Here is a sample <code>~/.cloginrc</code> from their GitHub:</p> <p><a href="https://github.com/dotwaffle/rancid-git/blob/master/cloginrc.sample" rel="nofollow">https://github.com/dotwaffle/rancid-git/blob/master/cloginrc.sample</a> </p>