ssh-script/index.html

55 lines
2.2 KiB
HTML
Raw Permalink Normal View History

2015-03-30 20:11:24 -04:00
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<title>ssh Script by tfmm</title>
</head>
<body>
<div id="container">
<div class="inner">
<header>
<h1>ssh Script</h1>
<h2>ssh, OSX, yosemite</h2>
</header>
<section id="downloads" class="clearfix">
<a href="https://github.com/tfmm/ssh-script/zipball/master" id="download-zip" class="button"><span>Download .zip</span></a>
<a href="https://github.com/tfmm/ssh-script/tarball/master" id="download-tar-gz" class="button"><span>Download .tar.gz</span></a>
<a href="https://github.com/tfmm/ssh-script" id="view-on-github" class="button"><span>View on GitHub</span></a>
</section>
<hr>
<section id="main_content">
<h1>
<a id="ssh-script" class="anchor" href="#ssh-script" aria-hidden="true"><span class="octicon octicon-link"></span></a>SSH Script</h1>
<p>This was created when the original version of OSX Yosemite was released, which removed the "AlwaysAppendSearchDomains" functionality of the built-in DNS Resolver.</p>
<p>All this does, is an nslookup of the domain following the script, egreps out the IP address, and ssh's to that IP, for example:</p>
<p><code>./ssh.sh example.com</code></p>
<p>Will actually ssh, as your current user, to 93.184.216.34.</p>
</section>
<footer>
ssh Script is maintained by <a href="https://github.com/tfmm">tfmm</a><br>
This page was generated by <a href="https://pages.github.com">GitHub Pages</a>. Tactile theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.
</footer>
</div>
</div>
</body>
</html>