<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to Install OpenSSH in Sun Solaris 10 (SPARC)</title>
	<atom:link href="http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/feed/" rel="self" type="application/rss+xml" />
	<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>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Mon, 06 Feb 2012 09:09:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Frank Ochere</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/comment-page-1/#comment-782</link>
		<dc:creator>Frank Ochere</dc:creator>
		<pubDate>Thu, 31 Mar 2011 11:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/#comment-782</guid>
		<description>useradd -g sshd -c ‘sshd privsep’ -d /var/empty -s /bin/false sshd

should be (NOTE the ‘’ enclosing sshd privsep, should be &#039;&#039;)

useradd -g sshd -c &#039;sshd privsep&#039; -d /var/empty -s /bin/false sshd

AND

groupadd ssh should be groupadd sshd</description>
		<content:encoded><![CDATA[<p>useradd -g sshd -c ‘sshd privsep’ -d /var/empty -s /bin/false sshd</p>
<p>should be (NOTE the ‘’ enclosing sshd privsep, should be &#8221;)</p>
<p>useradd -g sshd -c &#8216;sshd privsep&#8217; -d /var/empty -s /bin/false sshd</p>
<p>AND</p>
<p>groupadd ssh should be groupadd sshd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Ochere</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/comment-page-1/#comment-781</link>
		<dc:creator>Frank Ochere</dc:creator>
		<pubDate>Thu, 31 Mar 2011 10:58:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/#comment-781</guid>
		<description>Use this one, worked for me

#!/sbin/sh
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident &quot;@(#)sshd       1.4     04/11/17 SMI&quot;

SSHDIR=/usr/local/etc
KEYGEN=&quot;/usr/local/bin/ssh-keygen -q&quot;
PIDFILE=/var/run/sshd.pid

# Checks to see if RSA, and DSA host keys are available
# if any of these keys are not present, the respective keys are created.
create_key()
{
        keypath=$1
        keytype=$2

        if [ ! -f $keypath ]; then
                grep &quot;^HostKey $keypath&quot; $SSHDIR/sshd_config &gt; /dev/null 2&gt;&amp;1
                if [ $? -eq 0 ]; then
                        echo Creating new $keytype public/private host key pair
                        $KEYGEN -f $keypath -t $keytype -N &#039;&#039;
                        return $?
                fi
        fi

        return 0
}

# This script is being used for two purposes: as part of an SMF
# start/stop/refresh method, and as a sysidconfig(1M)/sys-unconfig(1M)
# application.
#
# Both, the SMF methods and sysidconfig/sys-unconfig use different
# arguments..

case $1 in 
        # sysidconfig/sys-unconfig arguments (-c and -u)
&#039;-c&#039;)
        create_key $SSHDIR/ssh_host_rsa_key rsa
        create_key $SSHDIR/ssh_host_dsa_key dsa
        ;;

&#039;-u&#039;)
        # sys-unconfig(1M) knows how to remove ssh host keys, so there&#039;s
        # nothing to do here.
        :
        ;;

        # SMF arguments (start and restart [really &quot;refresh&quot;])
&#039;start&#039;)
        /usr/local/sbin/sshd
        ;;

&#039;restart&#039;)
        if [ -f &quot;$PIDFILE&quot; ]; then
                /usr/bin/kill -HUP `/usr/bin/cat $PIDFILE`
        fi
        ;;

*)
        echo &quot;Usage: $0 { start &#124; restart }&quot;
        exit 1
        ;;
esac    

exit $?</description>
		<content:encoded><![CDATA[<p>Use this one, worked for me</p>
<p>#!/sbin/sh<br />
#<br />
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.<br />
# Use is subject to license terms.<br />
#<br />
# ident &#8220;@(#)sshd       1.4     04/11/17 SMI&#8221;</p>
<p>SSHDIR=/usr/local/etc<br />
KEYGEN=&#8221;/usr/local/bin/ssh-keygen -q&#8221;<br />
PIDFILE=/var/run/sshd.pid</p>
<p># Checks to see if RSA, and DSA host keys are available<br />
# if any of these keys are not present, the respective keys are created.<br />
create_key()<br />
{<br />
        keypath=$1<br />
        keytype=$2</p>
<p>        if [ ! -f $keypath ]; then<br />
                grep &#8220;^HostKey $keypath&#8221; $SSHDIR/sshd_config &gt; /dev/null 2&gt;&amp;1<br />
                if [ $? -eq 0 ]; then<br />
                        echo Creating new $keytype public/private host key pair<br />
                        $KEYGEN -f $keypath -t $keytype -N &#8221;<br />
                        return $?<br />
                fi<br />
        fi</p>
<p>        return 0<br />
}</p>
<p># This script is being used for two purposes: as part of an SMF<br />
# start/stop/refresh method, and as a sysidconfig(1M)/sys-unconfig(1M)<br />
# application.<br />
#<br />
# Both, the SMF methods and sysidconfig/sys-unconfig use different<br />
# arguments..</p>
<p>case $1 in<br />
        # sysidconfig/sys-unconfig arguments (-c and -u)<br />
&#8216;-c&#8217;)<br />
        create_key $SSHDIR/ssh_host_rsa_key rsa<br />
        create_key $SSHDIR/ssh_host_dsa_key dsa<br />
        ;;</p>
<p>&#8216;-u&#8217;)<br />
        # sys-unconfig(1M) knows how to remove ssh host keys, so there&#8217;s<br />
        # nothing to do here.<br />
        :<br />
        ;;</p>
<p>        # SMF arguments (start and restart [really "refresh"])<br />
&#8216;start&#8217;)<br />
        /usr/local/sbin/sshd<br />
        ;;</p>
<p>&#8216;restart&#8217;)<br />
        if [ -f "$PIDFILE" ]; then<br />
                /usr/bin/kill -HUP `/usr/bin/cat $PIDFILE`<br />
        fi<br />
        ;;</p>
<p>*)<br />
        echo &#8220;Usage: $0 { start | restart }&#8221;<br />
        exit 1<br />
        ;;<br />
esac    </p>
<p>exit $?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barath</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/comment-page-1/#comment-774</link>
		<dc:creator>Barath</dc:creator>
		<pubDate>Tue, 08 Mar 2011 04:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/#comment-774</guid>
		<description>i followed the steps above. the service starts fine &amp; comes up online. But on the putty window, after entering login &amp; password, the window freezes. howewer telnet works fine. Can u pls suggest wat needs to be done.</description>
		<content:encoded><![CDATA[<p>i followed the steps above. the service starts fine &amp; comes up online. But on the putty window, after entering login &amp; password, the window freezes. howewer telnet works fine. Can u pls suggest wat needs to be done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Narasimha</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/comment-page-1/#comment-16</link>
		<dc:creator>Narasimha</dc:creator>
		<pubDate>Wed, 18 Jun 2008 08:35:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/#comment-16</guid>
		<description>haii,,,i configures  ssh  on mmy solaris 10 box  as  u mentioned,,,but its not coming up status is offline always,,plz provide me the solution</description>
		<content:encoded><![CDATA[<p>haii,,,i configures  ssh  on mmy solaris 10 box  as  u mentioned,,,but its not coming up status is offline always,,plz provide me the solution</p>
]]></content:encoded>
	</item>
</channel>
</rss>

