<?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>Sun Solaris System Admin &#187; SSH</title>
	<atom:link href="http://www.sunsolarisadmin.com/category/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 21 Sep 2011 19:57:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
<link>http://www.sunsolarisadmin.com</link>
<url>http://www.sunsolarisadmin.com/wp-content/mbp-favicon/favicon.ico</url>
<title>Sun Solaris System Admin</title>
</image>
		<item>
		<title>How to Install OpenSSH in Sun Solaris 9 (x86)</title>
		<link>http://www.sunsolarisadmin.com/solaris-8/how-to-install-openssh-in-sun-solaris-9-x86/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-openssh-in-sun-solaris-9-x86</link>
		<comments>http://www.sunsolarisadmin.com/solaris-8/how-to-install-openssh-in-sun-solaris-9-x86/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 13:01:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris 8]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[x86]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-8/how-to-install-openssh-in-sun-solaris-9-x86/</guid>
		<description><![CDATA[OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH <a href='http://www.sunsolarisadmin.com/solaris-8/how-to-install-openssh-in-sun-solaris-9-x86/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><div style="float: left"><script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* sunsoladm_336x280_post */
google_ad_slot = "5048319182";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></p>
<p>OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.</p>
<p><span id="more-18"></span></p>
<p>The easiest way to install OpenSSH in Sun Solaris is to use the pre-compiled packages from sunfreeware.</p>
<p>The following are the packages that are required to be installed for OpenSSH to work properly in Solaris 9:</p>
<blockquote><p>OpenSSL (Latest stable: openssl-0.9.8f)</p>
<p>ZLib (Latest stable: zlib-1.2.3)</p>
<p>GNU Compiler Collection (gcc Latest stable: libgcc-3.4.6)</p>
<p>TCPWrapper (Optional tcp_wrappers-7.6)</p>
<p>and OpenSSH itself (Latest Stable: openssh-4.7p1)</p></blockquote>
<p>To start of, download the packages from the following sunfreeware.com links Solaris 9 x86:</p>
<p><strong><u>gcc</u></strong></p>
<blockquote><p><strong><u><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/9/libgcc-3.4.6-sol9-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/9/libgcc-3.4.6-sol9-x86-local.gz</a></u></strong></p></blockquote>
<p><strong><u>Zlib</u></strong></p>
<blockquote><p><strong><u><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/9/zlib-1.2.3-sol9-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/9/zlib-1.2.3-sol9-x86-local.gz</a></u></strong></p></blockquote>
<p><strong><u>OpenSSL</u></strong></p>
<blockquote><p><strong><u><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/9/openssl-0.9.8f-sol9-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/9/openssl-0.9.8f-sol9-x86-local.gz</a></u></strong></p></blockquote>
<p><strong><u>OpenSSH</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/9/openssh-4.7p1-sol9-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/9/openssh-4.7p1-sol9-x86-local.gz</a></p></blockquote>
<p>Once done, upload the files onto the server so we can start to unzip the files and install.</p>
<p><strong><u>Unzip and install gcc</u></strong></p>
<blockquote><p>solaris9# gunzip libgcc-3.4.6-sol9-x86-local.gz</p>
<p>solaris9# pkgadd -d libgcc-3.4.6-sol9-x86-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCgcc&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install zlib</u></strong></p>
<blockquote><p>solaris9# gunzip  zlib-1.2.3-sol9-x86-local.gz</p>
<p>solaris9# pkgadd -d zlib-1.2.3-sol9-x86-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCzlib&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSL</u></strong></p>
<blockquote><p>solaris9# gunzip openssl-0.9.8f-sol9-x86-local.gz</p>
<p>solaris9# pkgadd -d openssl-0.9.8f-sol9-x86-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSH</u></strong></p>
<blockquote><p>solaris9# gunzip openssh-4.7p1-sol9-x86-local.gz</p>
<p>solaris9# pkgadd -d openssh-4.7p1-sol9-x86-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p>The packages are now installed.</p>
<p><strong><u>Create /var/empty directory</u></strong></p>
<blockquote><p>solaris9# mkdir /var/empty</p></blockquote>
<p><strong><u>Change directory ownership to Root user and sys group</u></strong></p>
<blockquote><p>solaris9# chown root:sys /var/empty</p></blockquote>
<p><strong><u>Change permissions</u></strong></p>
<blockquote><p>solaris9# chmod 755 /var/empty</p></blockquote>
<p><strong><u>Add sshd user &amp; group</u></strong></p>
<blockquote><p>solaris9# groupadd ssh</p>
<p>solaris9# # useradd -g sshd -c &#8216;sshd privsep&#8217; -d /var/empty -s /bin/false sshd</p></blockquote>
<p><strong><u>Edit the default /usr/local/sshd_config file and make the following changes:</u></strong></p>
<p>Replace the line</p>
<blockquote><p>Subsystem sftp /usr/libexec/sftp-server</p></blockquote>
<p>with</p>
<blockquote><p>Subsystem sftp /usr/local/libexec/sftp-server</p></blockquote>
<blockquote><p>Generate Keys for the server</p></blockquote>
<blockquote><p>solaris9# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N &#8220;&#8221;<br />
solaris9# ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N &#8220;&#8221;<br />
solaris9# ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N &#8220;&#8221;</p></blockquote>
<p><strong><u>sshd at Solaris startup</u></strong></p>
<p>Add a startup script <strong><em>/etc/init.d/sshd</em></strong> as follows to enable the OpenSSH server daemon &#8220;sshd&#8221; at the startup</p>
<blockquote><p>case &#8220;$1&#8243; in<br />
&#8216;start&#8217;)<br />
        if [ -x /usr/local/sbin/sshd ]; then<br />
                echo &#8220;Starting the secure shell daemon&#8221;<br />
                /usr/local/sbin/sshd &amp;<br />
        fi<br />
        ;;</p>
<p>&#8216;stop&#8217;)<br />
        echo &#8220;Stopping the secure shell daemon &#8221;<br />
        pkill -TERM sshd<br />
        ;;<br />
*)<br />
        echo &#8220;Usage: /etc/init.d/sshd { start | stop }&#8221;<br />
        ;;<br />
esac<br />
exit 0</p></blockquote>
<p><strong><u>Change the ownership &amp; permissions on the startup script</u></strong></p>
<blockquote><p>solaris9# chown root:sys /etc/init.d/sshd<br />
solaris9# chmod 555 /etc/init.d/sshd</p></blockquote>
<p><strong><u>Create a Symlink to the startup script at /etc/rc2/d/S98sshd</u></strong></p>
<blockquote><p># ln -s /etc/init.d/sshd /etc/rc2.d/S98sshd</p></blockquote>
<p>That is it. All done and ready to go. Try connecting to the server using a ssh client like PUTTY.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-8/how-to-install-openssh-in-sun-solaris-9-x86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install OpenSSH in Sun Solaris 9 (SPARC)</title>
		<link>http://www.sunsolarisadmin.com/solaris-9/how-to-install-openssh-in-sun-solaris-9-sparc/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-openssh-in-sun-solaris-9-sparc</link>
		<comments>http://www.sunsolarisadmin.com/solaris-9/how-to-install-openssh-in-sun-solaris-9-sparc/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 12:55:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris 9]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-9/how-to-install-openssh-in-sun-solaris-9-sparc/</guid>
		<description><![CDATA[OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH <a href='http://www.sunsolarisadmin.com/solaris-9/how-to-install-openssh-in-sun-solaris-9-sparc/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><div style="float: left"><script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* sunsoladm_336x280_post */
google_ad_slot = "5048319182";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></p>
<p>OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.</p>
<p><span id="more-17"></span></p>
<p>The easiest way to install OpenSSH in Sun Solaris is to use the pre-compiled packages from sunfreeware.</p>
<p>The following are the packages that are required to be installed for OpenSSH to work properly in Solaris 9:</p>
<blockquote><p>OpenSSL (Latest stable: openssl-0.9.8f)</p>
<p>ZLib (Latest stable: zlib-1.2.3)</p>
<p>GNU Compiler Collection (gcc Latest stable: libgcc-3.4.6)</p>
<p>TCPWrapper (Optional tcp_wrappers-7.6)</p>
<p>and OpenSSH itself (Latest Stable: openssh-4.7p1)</p></blockquote>
<p>To start of, download the packages from the following sunfreeware.com links Solaris 9 SPARC:</p>
<p><strong><u>gcc</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/libgcc-3.4.6-sol9-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/libgcc-3.4.6-sol9-sparc-local.gz</a></p></blockquote>
<p><strong><u>Zlib</u></strong></p>
<blockquote><p><u><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/zlib-1.2.3-sol9-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/zlib-1.2.3-sol9-sparc-local.gz</a></u></p></blockquote>
<p><strong><u>OpenSSL</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/openssl-0.9.8f-sol9-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/openssl-0.9.8f-sol9-sparc-local.gz</a></p></blockquote>
<p><strong><u>OpenSSH</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/openssh-4.7p1-sol9-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/openssh-4.7p1-sol9-sparc-local.gz</a></p></blockquote>
<p>Once done, upload the files onto the server so we can start to unzip the files and install.</p>
<p><strong><u>Unzip and install gcc</u></strong></p>
<blockquote><p>solaris9# gunzip libgcc-3.4.6-sol9-sparc-local.gz</p>
<p>solaris9# pkgadd -d libgcc-3.4.6-sol9-sparc-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCgcc&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install zlib</u></strong></p>
<blockquote><p>solaris9# gunzip  zlib-1.2.3-sol9-sparc-local.gz</p>
<p>solaris9# pkgadd -d zlib-1.2.3-sol9-sparc-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCzlib&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSL</u></strong></p>
<blockquote><p>solaris9# gunzip openssl-0.9.8f-sol9-sparc-local.gz</p>
<p>solaris9# pkgadd -d openssl-0.9.8f-sol9-sparc-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSH</u></strong></p>
<blockquote><p>solaris9# gunzip openssh-4.7p1-sol9-sparc-local.gz</p>
<p>solaris9# pkgadd -d openssh-4.7p1-sol9-sparc-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p>The packages are now installed.</p>
<p><strong><u>Create /var/empty directory</u></strong></p>
<blockquote><p>solaris9# mkdir /var/empty</p></blockquote>
<p><strong><u>Change directory ownership to Root user and sys group</u></strong></p>
<blockquote><p>solaris9# chown root:sys /var/empty</p></blockquote>
<p><strong><u>Change permissions</u></strong></p>
<blockquote><p>solaris9# chmod 755 /var/empty</p></blockquote>
<p><strong><u>Add sshd user &amp; group</u></strong></p>
<blockquote><p>solaris9# groupadd ssh</p>
<p>solaris9# # useradd -g sshd -c &#8216;sshd privsep&#8217; -d /var/empty -s /bin/false sshd</p></blockquote>
<p><strong><u>Edit the default /usr/local/sshd_config file and make the following changes:</u></strong></p>
<p>Replace the line</p>
<blockquote><p>Subsystem sftp /usr/libexec/sftp-server</p></blockquote>
<p>with</p>
<blockquote><p>Subsystem sftp /usr/local/libexec/sftp-server</p></blockquote>
<blockquote><p>Generate Keys for the server</p></blockquote>
<blockquote><p>solaris9# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N &#8220;&#8221;<br />
solaris9# ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N &#8220;&#8221;<br />
solaris9# ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N &#8220;&#8221;</p></blockquote>
<p><strong><u>sshd at Solaris startup</u></strong></p>
<p>Add a startup script <strong><em>/etc/init.d/sshd</em></strong> as follows to enable the OpenSSH server daemon &#8220;sshd&#8221; at the startup</p>
<blockquote><p>case &#8220;$1&#8243; in<br />
&#8216;start&#8217;)<br />
        if [ -x /usr/local/sbin/sshd ]; then<br />
                echo &#8220;Starting the secure shell daemon&#8221;<br />
                /usr/local/sbin/sshd &amp;<br />
        fi<br />
        ;;</p>
<p>&#8216;stop&#8217;)<br />
        echo &#8220;Stopping the secure shell daemon &#8221;<br />
        pkill -TERM sshd<br />
        ;;<br />
*)<br />
        echo &#8220;Usage: /etc/init.d/sshd { start | stop }&#8221;<br />
        ;;<br />
esac<br />
exit 0</p></blockquote>
<p><strong><u>Change the ownership &amp; permissions on the startup script</u></strong></p>
<blockquote><p>solaris9# chown root:sys /etc/init.d/sshd<br />
solaris9# chmod 555 /etc/init.d/sshd</p></blockquote>
<p><strong><u>Create a Symlink to the startup script at /etc/rc2/d/S98sshd</u></strong></p>
<blockquote><p># ln -s /etc/init.d/sshd /etc/rc2.d/S98sshd</p></blockquote>
<p>That is it. All done and ready to go. Try connecting to the server using a ssh client like PUTTY.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-9/how-to-install-openssh-in-sun-solaris-9-sparc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install OpenSSH in Sun Solaris 10 (X86)</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-openssh-in-sun-solaris-10-x86</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 12:32:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[x86]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/</guid>
		<description><![CDATA[OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH <a href='http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.</p>
<p>Solaris 10 is by default installed with SSH server and the clients. However, if you have chosen to ignore SSH at the time of installation or have started the install with a minimal install then you may need to install OpenSSH manually.</p>
<p><span id="more-16"></span></p>
<p>The easiest way to install OpenSSH in Sun Solaris is to use the pre-compiled packages from sunfreeware.</p>
<p>The following are the packages that are required to be installed for OpenSSH to work properly in Solaris 10:</p>
<pre>OpenSSL (Latest stable: openssl-0.9.8f)</pre>
<pre>ZLib (Latest stable: zlib-1.2.3)</pre>
<pre>GNU Compiler Collection (gcc Latest stable: libgcc-3.4.6)</pre>
<pre>TCPWrapper (Optional tcp_wrappers-7.6)</pre>
<pre>and OpenSSH itself (Latest Stable: openssh-4.7p1)</pre>
<p>To start of, download the packages from the following sunfreeware.com links for Sun Solaris 10 X86 platform:</p>
<p><strong><u>gcc</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libgcc-3.4.6-sol10-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libgcc-3.4.6-sol10-x86-local.gz</a></p></blockquote>
<p><strong><u>Zlib</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/zlib-1.2.3-sol10-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/10/zlib-1.2.3-sol10-x86-local.gz</a></p></blockquote>
<p><strong><u>OpenSSL</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssl-0.9.8f-sol10-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssl-0.9.8f-sol10-x86-local.gz</a></p></blockquote>
<p><strong><u>OpenSSH</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssh-4.7p1-sol10-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssh-4.7p1-sol10-x86-local.gz</a></p></blockquote>
<p>Once done, upload the files onto the server so we can start to unzip the files and install.</p>
<p><strong><u>Unzip and install gcc</u></strong></p>
<blockquote><p>solaris10# gunzip libgcc-3.4.6-sol10-x86-local.gz</p>
<p>solaris10# pkgadd -d libgcc-3.4.6-sol10-x86-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCgcc&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install zlib</u></strong></p>
<blockquote><p>solaris10# gunzip  zlib-1.2.3-sol10-x86-local.gz</p>
<p>solaris10# pkgadd -d zlib-1.2.3-sol10-x86-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCzlib&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSL</u></strong></p>
<blockquote><p>solaris10# gunzip openssl-0.9.8f-sol10-x86-local.gz</p>
<p>solaris10# pkgadd -d openssl-0.9.8f-sol10-x86-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSH</u></strong></p>
<blockquote><p>solaris10# gunzip openssh-4.7p1-sol10-x86-local.gz</p>
<p>solaris10# pkgadd -d openssh-4.7p1-sol10-x86-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p>The packages are now installed.</p>
<p><strong><u>Create /var/empty directory</u></strong></p>
<blockquote><p>solaris10# mkdir /var/empty</p></blockquote>
<p><strong><u>Change directory ownership to Root user and sys group</u></strong></p>
<blockquote><p>solaris10# chown root:sys /var/empty</p></blockquote>
<p><strong><u>Change permissions</u></strong></p>
<blockquote><p>solaris10# chmod 755 /var/empty</p></blockquote>
<p><strong><u>Add sshd user &amp; group</u></strong></p>
<blockquote><p>solaris10# groupadd ssh</p>
<p>solaris10# # useradd -g sshd -c &#8216;sshd privsep&#8217; -d /var/empty -s /bin/false sshd</p></blockquote>
<p><strong><u>Edit the default /usr/local/sshd_config file and make the following changes:</u></strong></p>
<p>Replace the line</p>
<blockquote><p>Subsystem sftp /usr/libexec/sftp-server</p></blockquote>
<p>with</p>
<blockquote><p>Subsystem sftp /usr/local/libexec/sftp-server</p></blockquote>
<p><strong><u>Generate Keys for the server</u></strong></p>
<blockquote><p>solaris10# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N &#8220;&#8221;<br />
solaris10# ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N &#8220;&#8221;<br />
solaris10# ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N &#8220;&#8221;</p></blockquote>
<p><strong><u>Enable OpenSSH server daemon sshd to run at the system startup</u></strong></p>
<p>Edit /lib/svc/method/sshd file and change the path for the SSH DIR, KEYGEN &amp; the start daemon as follows:</p>
<blockquote><p>SSHDIR=/usr/local/etc/ssh<br />
KEYGEN=&#8221;/usr/local/bin/ssh-keygen -q&#8221;</p>
<p>&#8216;start&#8217;)<br />
         /usr/local/sbin/sshd</p></blockquote>
<p>That is it. All done and ready to go. Try connecting to the server using a ssh client like PUTTY.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Install OpenSSH in Sun Solaris 10 (SPARC)</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-openssh-in-sun-solaris-10-sparc</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 12:21:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/</guid>
		<description><![CDATA[OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH <a href='http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.</p>
<p><span id="more-15"></span></p>
<p>Solaris 10 is by default installed with SSH server and the clients. However, if you have chosen to ignore SSH at the time of installation or have started the install with a minimal install then you may need to install OpenSSH manually.</p>
<p>The easiest way to install OpenSSH in Sun Solaris is to use the pre-compiled packages from sunfreeware.</p>
<p>The following are the packages that are required to be installed for OpenSSH to work properly in Solaris 10:</p>
<pre>OpenSSL (Latest stable: openssl-0.9.8f)</pre>
<pre>ZLib (Latest stable: zlib-1.2.3)</pre>
<pre>GNU Compiler Collection (gcc Latest stable: libgcc-3.4.6)</pre>
<pre>TCPWrapper (Optional tcp_wrappers-7.6)</pre>
<pre>and OpenSSH itself (Latest Stable: openssh-4.7p1)</pre>
<p>To start of, download the packages from the following sunfreeware.com links for sun solaris 10 Sparc:</p>
<p><strong><u>gcc</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/libgcc-3.4.6-sol10-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/libgcc-3.4.6-sol10-sparc-local.gz</a></p></blockquote>
<p><strong><u>Zlib</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/zlib-1.2.3-sol10-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/zlib-1.2.3-sol10-sparc-local.gz</a></p></blockquote>
<p><strong><u>OpenSSL</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/openssl-0.9.8f-sol10-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/openssl-0.9.8f-sol10-sparc-local.gz</a></p></blockquote>
<p><strong><u>OpenSSH</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/openssh-4.7p1-sol10-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/openssh-4.7p1-sol10-sparc-local.gz</a></p></blockquote>
<p>Once done, upload the files onto the server so we can start to unzip the files and install.</p>
<p><strong><u>Unzip and install gcc</u></strong></p>
<blockquote><p>solaris10# gunzip libgcc-3.4.6-sol9-sparc-local.gz</p>
<p>solaris10# pkgadd -d libgcc-3.4.6-sol9-sparc-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCgcc&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install zlib</u></strong></p>
<blockquote><p>solaris10# gunzip  zlib-1.2.1-sol9-sparc-local.gz</p>
<p>solaris10# pkgadd -d zlib-1.2.1-sol9-sparc-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCzlib&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSL</u></strong></p>
<blockquote><p>solaris10# gunzip openssl-0.9.8f-sol9-sparc-local.gz</p>
<p>solaris10# pkgadd -d openssl-0.9.8f-sol9-sparc-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSH</u></strong></p>
<blockquote><p>solaris10# gunzip openssh-4.7p1-sol9-sparc-local.gz</p>
<p>solaris10# pkgadd -d openssh-4.7p1-sol9-sparc-local</p></blockquote>
<p>The packages are now installed.</p>
<p><strong><u>Create /var/empty directory</u></strong></p>
<blockquote><p>solaris10# mkdir /var/empty</p></blockquote>
<p><strong><u>Change directory ownership to Root user and sys group</u></strong></p>
<blockquote><p>solaris10# chown root:sys /var/empty</p></blockquote>
<p><strong><u>Change permissions</u></strong></p>
<blockquote><p>solaris10# chmod 755 /var/empty</p></blockquote>
<p><strong><u>Add sshd user &amp; group</u></strong></p>
<blockquote><p>solaris10# groupadd ssh</p>
<p>solaris10# # useradd -g sshd -c &#8216;sshd privsep&#8217; -d /var/empty -s /bin/false sshd</p></blockquote>
<p><strong><u>Edit the default /usr/local/sshd_config file and make the following changes:</u></strong></p>
<p>Replace the line</p>
<blockquote><p>Subsystem sftp /usr/libexec/sftp-server</p></blockquote>
<p>with</p>
<blockquote><p>Subsystem sftp /usr/local/libexec/sftp-server</p></blockquote>
<p><strong><u>Generate Keys for the server</u></strong></p>
<blockquote><p>solaris10# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N &#8220;&#8221;<br />
solaris10# ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N &#8220;&#8221;<br />
solaris10# ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N &#8220;&#8221;</p></blockquote>
<p><strong><u>Enable OpenSSH server daemon sshd to run at the system startup</u></strong></p>
<p>Edit /lib/svc/method/sshd file and change the path for the SSH DIR, KEYGEN &amp; the start daemon as follows:</p>
<blockquote><p>SSHDIR=/usr/local/etc/ssh<br />
KEYGEN=&#8221;/usr/local/bin/ssh-keygen -q&#8221;</p>
<p>&#8216;start&#8217;)<br />
         /usr/local/sbin/sshd</p></blockquote>
<p>That is it. All done and ready to go. Try connecting to the server using a ssh client like PUTTY.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SSH access without password in Sun Solaris</title>
		<link>http://www.sunsolarisadmin.com/solaris-7/ssh-access-without-password-in-sun-solaris/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ssh-access-without-password-in-sun-solaris</link>
		<comments>http://www.sunsolarisadmin.com/solaris-7/ssh-access-without-password-in-sun-solaris/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 10:16:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[Solaris 7]]></category>
		<category><![CDATA[Solaris 8]]></category>
		<category><![CDATA[Solaris 9]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[dsa]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[rsa]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-7/ssh-access-without-password-in-sun-solaris/</guid>
		<description><![CDATA[A Trust relationship can be established for users on multiple servers running OpenSSH to allow a password free ssh session. This is sometime important when you want to run scripts or commands remotely. Most part of this article is common for most if not all of the UNIX/LINUX flavors except the following which steps to <a href='http://www.sunsolarisadmin.com/solaris-7/ssh-access-without-password-in-sun-solaris/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->A Trust relationship can be established for users on multiple servers running OpenSSH to allow a password free ssh session. This is sometime important when you want to run scripts or commands remotely.</p>
<p><span id="more-4"></span></p>
<p>Most part of this article is common for most if not all of the UNIX/LINUX flavors except the following which steps to uncomment a few lines from the ssh_config file in Solaris:</p>
<p> Uncomment the following lines from the /usr/local/etc/ssh_config file:</p>
<blockquote><p><strong> RSAAuthentication yes</strong></p>
<p><strong>IdentityFile ~/.ssh/id_rsa</strong></p></blockquote>
<p>Now, let&#8217;s assume ServerA and ServerB both run the ssh daemons.</p>
<p>To allow ServerA to SSH to ServerB without password, please try the following:</p>
<blockquote><p><strong># ssh-keygen -t rsa </strong></p></blockquote>
<p>Note: User here is root</p>
<p>This generates two files id_rsa.pub and id_rsa</p>
<p>Now, this needs to be copied to the authorized_keys file on ServerB</p>
<blockquote><p><strong><br />
# scp id_rsa.pub ServerB:~/.ssh/authorized_keys</strong></p></blockquote>
<p>Enter password when prompted.</p>
<p><span class="small"><span class="highlight">BEWARE: If the ServerB is already having a trust relationship with more that one hosts already then the above will wipe the contents and write this key alone. In which case, copy the file to the remote server as something like ServerA_rsa.pub and then append the contents to authorized_keys as follows. This will allow the existing authroized_keys from being wiped off.</span></span></p>
<blockquote><p><span class="small"><span class="highlight"><br />
</span><span class="highlight"># scp id_rsa.pub ServerB:~/.ssh/ServerA_rsa.pub<br />
# cat ServerA_rsa.pub &gt;&gt; authorized_keys</span></span></p></blockquote>
<p>Thats it. Test if you are able to do a ssh from ServerA without a password:</p>
<blockquote><p><strong># ssh serverB uname -a</strong></p></blockquote>
<p>This will run the command &#8220;<strong>uname -a</strong>&#8221; on ServerB and returns the result on ServerA.</p>
<p>The same procedure has to be followed in the reverse to allow ServerB to talk back to ServerA without any password.</p>
<p>And, if there is anyone other server to be added to the existing list follow the same procedure ensuring the key is appended to the remote servers authorized_keys file and not by overwriting it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-7/ssh-access-without-password-in-sun-solaris/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

