<?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; sshd</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/sshd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 16 Jun 2010 21:07:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.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>Error Could not get shadow information for NOUSER</title>
		<link>http://www.sunsolarisadmin.com/general/error-could-not-get-shadow-information-for-nouser/</link>
		<comments>http://www.sunsolarisadmin.com/general/error-could-not-get-shadow-information-for-nouser/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 20:01:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[nouser]]></category>
		<category><![CDATA[shadow]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[sun-solaris]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=99</guid>
		<description><![CDATA[Have you ever had the following error popup on your /var/adm/messages: Oct  8 12:26:14 myserver sshd[29288]: [ID 800047 auth.error] error: Could not get shadow information for NOUSER It would look like a security incident with the &#8220;nouser&#8221; system account but not so to be. The error gets written to /var/adm/messages when a user tries to [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->Have you ever had the following error popup on your /var/adm/messages:<strong></strong></p>
<p><span style="color: #ff0000;"><strong>Oct  8 12:26:14 myserver sshd[29288]: [ID 800047 auth.error] error: Could not get shadow information for NOUSER</strong></span><strong></strong></p>
<p>It would look like a security incident with the &#8220;<strong>nouser</strong>&#8221; system account but not so to be. The error gets written to /var/adm/messages when a user tries to SSH to the server using a user account which doesn&#8217;t exist on the system (a typo error can contribute) or on your NIS/NIS+ systems.</p>
<p>So no panic!!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/error-could-not-get-shadow-information-for-nouser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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/</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[SSH]]></category>
		<category><![CDATA[Solaris 8]]></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 [...]]]></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-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/</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[SSH]]></category>
		<category><![CDATA[Solaris 9]]></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 [...]]]></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-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/</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[SSH]]></category>
		<category><![CDATA[Solaris 10]]></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 [...]]]></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/</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[SSH]]></category>
		<category><![CDATA[Solaris 10]]></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 [...]]]></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>1</slash:comments>
		</item>
	</channel>
</rss>
