{"id":802,"date":"2015-06-10T04:43:32","date_gmt":"2015-06-10T04:43:32","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=802"},"modified":"2015-06-10T04:45:18","modified_gmt":"2015-06-10T04:45:18","slug":"installing-sshpass-on-os-x","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/installing-sshpass-on-os-x\/","title":{"rendered":"Installing sshpass on OS X"},"content":{"rendered":"<p>Note: To install sshpass you need to make sure you have Xcode installed along with the Xcode command line tools.\u00a0 You can download Xcode from the app store, and then install the command line tools from Xcode&#8217;s Preferences.<\/p>\n<p>Now open up your terminal and run the following commands.<\/p>\n<p>Download sshpass from source forge.<\/p>\n<pre>curl -O -L http:\/\/downloads.sourceforge.net\/project\/sshpass\/sshpass\/1.05\/sshpass-1.05.tar.gz<\/pre>\n<p>Extract the tarball and cd into the directory.<\/p>\n<pre>tar zxvf sshpass-1.05.tar.gz &amp;&amp; cd sshpass-1.05<\/pre>\n<p>make and install.<\/p>\n<pre>.\/configure\r\nmake\r\nsudo make install\r\n<\/pre>\n<p>Now test and make sure it works<\/p>\n<pre>sshpass -V<\/pre>\n<p>You should receive the following.<\/p>\n<pre>sshpass 1.05 (C) 2006-2011 Lingnu Open Source Consulting Ltd.\r\nThis program is free software, and can be distributed under the terms of the GPL\r\nSee the COPYING file for more information.<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Note: To install sshpass you need to make sure you have Xcode installed along with the Xcode command line tools.\u00a0 You can download Xcode from the app store, and then install the command line tools from Xcode&#8217;s Preferences. Now open &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/installing-sshpass-on-os-x\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[165,36,274,227,214],"class_list":["post-802","post","type-post","status-publish","format-standard","hentry","category-os-x","tag-apple","tag-mac","tag-os-x","tag-sshpass","tag-yosemite"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=802"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/802\/revisions"}],"predecessor-version":[{"id":804,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/802\/revisions\/804"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}