<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Salomon Johns &#187; ssh</title>
	<atom:link href="http://salomonjohns.com/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://salomonjohns.com</link>
	<description>Just a personal blog.</description>
	<lastBuildDate>Mon, 15 Feb 2010 12:54:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WinRAR on CentOS with cPanel</title>
		<link>http://salomonjohns.com/2009/09/winrar-on-centos-with-cpanel/</link>
		<comments>http://salomonjohns.com/2009/09/winrar-on-centos-with-cpanel/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 17:31:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[winrar]]></category>

		<guid isPermaLink="false">http://salomonjohns.com/?p=80</guid>
		<description><![CDATA[I&#8217;ve seen alot of people get stumped by an error that looks like this, rar: /lib/libc.so.6: version `GLIBC_2.7&#8242; not found (required by rar) even I did for a while, after numerous google searches I found nothing, however today I finally ran into the site that saved me!
Basically
rm -rf /usr/bin/rar
ln -s /usr/local/rar/rar_static /usr/bin/rar
For me the location [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen alot of people get stumped by an error that looks like this,<strong> rar: /lib/libc.so.6: version `GLIBC_2.7&#8242; not found (required by rar)</strong> even I did for a while, after numerous google searches I found nothing, however today I finally ran into the site that saved me!</p>
<p>Basically</p>
<p>rm -rf /usr/bin/rar<br />
ln -s /usr/local/rar/rar_static /usr/bin/rar</p>
<p>For me the location varied a little because I extracted everything in a different spot!</p>
<p><a href="http://www.123tweak.com/how-to-install-winrar-on-centos/">http://www.123tweak.com/how-to-install-winrar-on-centos/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://salomonjohns.com/2009/09/winrar-on-centos-with-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Experimenting with Perl</title>
		<link>http://salomonjohns.com/2009/09/experimenting-with-perl/</link>
		<comments>http://salomonjohns.com/2009/09/experimenting-with-perl/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 07:52:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fetch]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://salomonjohns.com/?p=56</guid>
		<description><![CDATA[Well, this is my first actual experiment with Perl. All it does is chmod 750 some fetch utilities. In my next build I want to set it up so that if the file exists, and if it doesnt, it will prompt you that the file is not on the system and it is being skipped.

#!/usr/bin/perl
# [...]]]></description>
			<content:encoded><![CDATA[<p>Well, this is my first actual experiment with Perl. All it does is chmod 750 some fetch utilities. In my next build I want to set it up so that if the file exists, and if it doesnt, it will prompt you that the file is not on the system and it is being skipped.</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">#!/usr/bin/perl
# Revision 1 - 09-03-09
# Initial Build
# Chmod 750 of rcp, wget, lynx, links, elinks, scp, nc, ftp, telnet, curl
&nbsp;
print (&quot;Permissions?\n&quot;);
system ('chmod 750 -v /usr/bin/rcp');
system ('chmod 750 -v /usr/bin/wget');
system ('chmod 750 -v /usr/bin/lynx');
system ('chmod 750 -v /usr/bin/links');
system ('chmod 750 -v /usr/bin/elinks');
system ('chmod 750 -v /usr/bin/scp');
system ('chmod 750 -v /usr/bin/nc');
system ('chmod 750 -v /usr/bin/ftp');
system ('chmod 750 -v /usr/bin/telnet');</pre></div></div>

<p>Lets see how this turns out over the next few days.</p>
<p>Update before I go to bed:</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">#!/usr/bin/perl
# Revision 1 - 09-03-09 0055
# Initial Build
# Chmod 750 of rcp, wget, lynx, links, elinks, scp, nc, ftp, ssh, telnet, curl
#
# Revision 2 - 09-03-09 0113
# If else statements are in place, they can handle if the file does or does not exist
&nbsp;
print (&quot;Permissions lol...\n&quot;);
$filename = '/usr/bin/wget';
if (-e $filename) {
print &quot;Found $filename\n&quot;;
system (&quot;chmod 750 -v '/usr/bin/wget'&quot;);
}
else
{ print &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/curl';
if (-e $filename) {
print &quot;Found $filename\n&quot;;
system (&quot;chmod 750 -v '/usr/bin/curl'&quot;);
}
else
{ print &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/rcp';
if (-e $filename) {
print &quot;Founds $filename\n&quot;;
system ('chmod 750 -v /usr/bin/rcp');
}
else
{ print &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/lynx';
if (-e $filename) {
print &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/lynx');
}
else
{ print &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/elinks';
if (-e $filename) {
print &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/elinks');
}
else
{ print &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/scp';
if (-e $filename) {
print &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/scp');
}
else
{ print &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/nc';
if (-e $filename) {
print &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/nc');
}
else
{ print &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/ftp';
if (-e $filename) {
print &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/ftp');
}
else
{ print &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/telnet';
if (-e $filename) {
print &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/telnet');
}
else
{ print &quot;File $filename, not found\n&quot;;</pre></div></div>

<p>}<br />
print &#8220;Permissions set to 750 across the board.\n&#8221;</p>
<p>And now the last revision of the night, colors.</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">#!/usr/bin/perl
# Revision 1 - 09-03-09 0055
# Initial Build
# Chmod 750 of rcp, wget, lynx, links, elinks, scp, nc, ftp, ssh, telnet, curl
#
# Revision 2 - 09-03-09 0113
# If else statements are in place, they can handle if the file does or does not exist
#
# Revision 3 - 09-03-09 0124
# Colors?
&nbsp;
use Term::ANSIColor qw(:constants);
$Term::ANSIColor::AUTORESET = 1; #reset colors after each line, otherwise everything will be green and red
&nbsp;
print (&quot;Permissions lol...\n&quot;);
$filename = '/usr/bin/wget';
if (-e $filename) {
print GREEN &quot;Found $filename\n&quot;;
system (&quot;chmod 750 -v '/usr/bin/wget'&quot;);
}
else
{
print RED &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/curl';
if (-e $filename) {
print GREEN &quot;Found $filename\n&quot;;
system (&quot;chmod 750 -v '/usr/bin/curl'&quot;);
}
else
{ print RED &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/rcp';
if (-e $filename) {
print GREEN &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/rcp');
}
else
{ print RED &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/lynx';
if (-e $filename) {
print GREEN &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/lynx');
}
else
{
print RED &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/elinks';
if (-e $filename) {
print GREEN &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/elinks');
}
else
{ print RED &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/scp';
if (-e $filename) {
print GREEN &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/scp');
}
else
{ print RED &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/nc';
if (-e $filename) {
print GREEN &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/nc');
}
else
{ print RED &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/ftp';
if (-e $filename) {
print GREEN &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/ftp');
}
else
{ print RED &quot;File $filename, not found\n&quot;;
}
$filename = '/usr/bin/telnet';
if (-e $filename) {
print GREEN &quot;Found $filename\n&quot;;
system ('chmod 750 -v /usr/bin/telnet');
}
else
{ print RED &quot;File $filename, not found\n&quot;;
}
print &quot;Permissions set to 750 across the board.\n&quot;</pre></div></div>

<p>Additional reading:<br />
<a href="http://perl.about.com/od/programmingperl/qt/perlexists.htm">http://perl.about.com/od/programmingperl/qt/perlexists.htm</a><br />
<a href="http://perl.active-venture.com/lib/Term/ANSIColor.html">http://perl.active-venture.com/lib/Term/ANSIColor.html</a><br />
<a href="http://www.linuxforums.org/forum/linux-programming-scripting/116383-how-can-i-use-wget-perl.html">http://www.linuxforums.org/forum/linux-programming-scripting/116383-how-can-i-use-wget-perl.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://salomonjohns.com/2009/09/experimenting-with-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.0.4 &#8211; Installing SSHD</title>
		<link>http://salomonjohns.com/2009/08/ubuntu-9-0-4-installing-sshd/</link>
		<comments>http://salomonjohns.com/2009/08/ubuntu-9-0-4-installing-sshd/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 20:31:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://salomonjohns.com/?p=7</guid>
		<description><![CDATA[So after isntalling a fresh copy of Ubuntu today, I try:
r00t@r00t-laptop:~$ sudo apt-get install openssh-server
Reading package lists&#8230; Done
Building dependency tree
Reading state information&#8230; Done
Package openssh-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package openssh-server has no installation [...]]]></description>
			<content:encoded><![CDATA[<p>So after isntalling a fresh copy of Ubuntu today, I try:</p>
<p>r00t@r00t-laptop:~$ sudo apt-get install openssh-server<br />
Reading package lists&#8230; Done<br />
Building dependency tree<br />
Reading state information&#8230; Done<br />
Package openssh-server is not available, but is referred to by another package.<br />
This may mean that the package is missing, has been obsoleted, or<br />
is only available from another source<br />
E: Package openssh-server has no installation candidate</p>
<p>No big deal, lets look up how to fix this online.</p>
<p>After a whole 2 minutes of googling I figure out all I need to run are:</p>
<blockquote><p>sudo apt-get update</p></blockquote>
<blockquote><p>sudo apt-get install ssh-server</p></blockquote>
<p>Done. Now fire up putty and try to connect or &#8220;ssh -p 22 localhost&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://salomonjohns.com/2009/08/ubuntu-9-0-4-installing-sshd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
