<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ssh login in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658081#M241622</link>
    <description>Simply copy (permissions set as well) serverB's ~/.ssh/authorized_keys* to serverC's ~/.ssh directory.&lt;BR /&gt;</description>
    <pubDate>Wed, 26 Oct 2005 08:56:06 GMT</pubDate>
    <dc:creator>Alzhy</dc:creator>
    <dc:date>2005-10-26T08:56:06Z</dc:date>
    <item>
      <title>ssh login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658079#M241620</link>
      <description>Gd Day Forum,&lt;BR /&gt;&lt;BR /&gt;I just setup a HP-UX 11i serverC into an existing environment where currently all servers are login using ssh from a centralise serverA as follows without being prompted root login password.&lt;BR /&gt;&lt;BR /&gt;serverA#&amp;gt; ssh serverB&lt;BR /&gt;&lt;BR /&gt;Can anyone advise what entries need to be added into serverB to allow this access?&lt;BR /&gt;&lt;BR /&gt;Thanks/cliff</description>
      <pubDate>Wed, 26 Oct 2005 08:34:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658079#M241620</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2005-10-26T08:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658080#M241621</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You have to create create $HOME/.ssh/authorized_keys to make this happen.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;there are many threads already there on the same subject. See&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/james/search.do?searchtext=ssh+without+password&amp;amp;hpl=1&amp;amp;todo=search&amp;amp;searchcriteria=allwords&amp;amp;from=forums&amp;amp;searchcategory=ALL&amp;amp;rn=25&amp;amp;presort=rank&amp;amp;source=7000&amp;amp;esc=us.support.itrc.hp.com&amp;amp;wpa=forums1.itrc.hp.com%3A80&amp;amp;origin=0&amp;amp;chkServStor=on" target="_blank"&gt;http://www2.itrc.hp.com/service/james/search.do?searchtext=ssh+without+password&amp;amp;hpl=1&amp;amp;todo=search&amp;amp;searchcriteria=allwords&amp;amp;from=forums&amp;amp;searchcategory=ALL&amp;amp;rn=25&amp;amp;presort=rank&amp;amp;source=7000&amp;amp;esc=us.support.itrc.hp.com&amp;amp;wpa=forums1.itrc.hp.com%3A80&amp;amp;origin=0&amp;amp;chkServStor=on&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Wed, 26 Oct 2005 08:54:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658080#M241621</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-10-26T08:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658081#M241622</link>
      <description>Simply copy (permissions set as well) serverB's ~/.ssh/authorized_keys* to serverC's ~/.ssh directory.&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Oct 2005 08:56:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658081#M241622</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2005-10-26T08:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658082#M241623</link>
      <description>You need to create a public/private key pair on server B and append the public portion of this key to serverA's $USERNAME/.ssh/authorized_keys file.&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;if you do not want to mess with creating and massaging key pairs, go to another system let's say serverC, which trusts serverA, goto same user's home directory&lt;BR /&gt;cd .ssh&lt;BR /&gt;grep serverA authorized_keys&lt;BR /&gt;&lt;BR /&gt;copy this key (make sure it is copied without any line breaks)&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;go to serverB and go to the same user's home directory&lt;BR /&gt;if you do not have a .ssh directory, create it otherwise &lt;BR /&gt;&lt;BR /&gt;cd .ssh&lt;BR /&gt;cat &amp;gt;&amp;gt; authorized_keys&lt;BR /&gt;&lt;BR /&gt;paste the copied key in the buffer&lt;BR /&gt;&lt;BR /&gt;hit ctrl-D&lt;BR /&gt;&lt;BR /&gt;make sure your authorized keys ownership is right and owned by the username and its default group and permissions is no looser than 640.&lt;BR /&gt;&lt;BR /&gt;you should be good to go.&lt;BR /&gt;&lt;BR /&gt;at your first attempt you will be asked to confirm the identity of serverB from serverA but after that, there are no questions asked.</description>
      <pubDate>Wed, 26 Oct 2005 09:08:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658082#M241623</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-10-26T09:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658083#M241624</link>
      <description>Hi,&lt;BR /&gt;Say you have to set ssh between server C and A then:&lt;BR /&gt;&lt;BR /&gt;On server C:&lt;BR /&gt;1. # ssh A&lt;BR /&gt;When it asks for password just use &lt;CNTRL&gt;&lt;C&gt; to break and get the prompt back.&lt;BR /&gt;This will create /.ssh directory in server C.&lt;BR /&gt;2. # ssh-keygen -d&lt;BR /&gt;DO NOT PUT ANY PASSPHRASE (just provide blank ENTERs)&lt;BR /&gt;Verify that id_dsa.pub file is created in /.ssh directory. This is your public key.  You need to distribute it to other machines like here server A.&lt;BR /&gt;&lt;BR /&gt;Copy or ftp this file id_dsa.pub to server A say in /tmp directory&lt;BR /&gt;&lt;BR /&gt;Then on server A:&lt;BR /&gt;3. # cat /tmp/id_dsa.pub &amp;gt;&amp;gt; /.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;Now you can do login to server C from server A without being prompted for password.&lt;BR /&gt;&lt;BR /&gt;e.g. &lt;BR /&gt;On server A&lt;BR /&gt;# ssh C&lt;BR /&gt;This will give you root login of server C.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/C&gt;&lt;/CNTRL&gt;</description>
      <pubDate>Wed, 26 Oct 2005 09:33:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658083#M241624</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2005-10-26T09:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658084#M241625</link>
      <description>Thanks for the replies!&lt;BR /&gt;&lt;BR /&gt;I tried copying directly the /root/home/root/.ssh/authorized_keys from trusted serverA over to serverC but when i issue the command &lt;BR /&gt;&lt;BR /&gt;serverA&amp;gt; ssh serverC or ip address&lt;BR /&gt;NOTHING JUST HUNG THERE.&lt;BR /&gt;&lt;BR /&gt;thanks/cliff</description>
      <pubDate>Wed, 26 Oct 2005 09:40:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658084#M241625</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2005-10-26T09:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: ssh login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658085#M241626</link>
      <description>On ServerC .. are you sure you have your sshd setup right?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Try running a debug ssh session to ServerC..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ssh -vvv serverC   (not sure of syntax...)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Oct 2005 09:42:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-login/m-p/3658085#M241626</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2005-10-26T09:42:17Z</dc:date>
    </item>
  </channel>
</rss>

