<?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 Password Less Login in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259050#M731608</link>
    <description>Hi All&lt;BR /&gt;&lt;BR /&gt;I had tried this Method for password less login but it seems not working&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1.Login to serverA as user1.&lt;BR /&gt;&lt;BR /&gt;2.$ssh-keygen -t dsa&lt;BR /&gt;Press enter for all the questions.It will create the private/public keys &lt;BR /&gt;under $HOME/.ssh/&lt;BR /&gt;File names are id_rsa and id_rsa.pub&lt;BR /&gt;&lt;BR /&gt;3.Now you need to copy the id_rsa.pub file content into ServerB $HOME/.ssh/authorized_keys file &lt;BR /&gt;ServerA#scp ~user1/.ssh/id_rsa.pub ServerB:/tmp&lt;BR /&gt;&lt;BR /&gt;Login to ServerB server&lt;BR /&gt;&lt;BR /&gt;ServerB#cat /tmp/id_rsa.pub &amp;gt;&amp;gt; ~user1/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;Make sure the following permissions on serverB.&lt;BR /&gt;&lt;BR /&gt;Home directory should have 755 permission (users home directory)&lt;BR /&gt;$HOME/.ssh directory should have 700 permission&lt;BR /&gt;$HOME/.ssh/authorized_keys file should have 600 or 640 permission&lt;BR /&gt;&lt;BR /&gt;Please suggest if some modification need to me made</description>
    <pubDate>Sun, 17 Oct 2010 06:41:10 GMT</pubDate>
    <dc:creator>Indrajit Bhagat</dc:creator>
    <dc:date>2010-10-17T06:41:10Z</dc:date>
    <item>
      <title>Password Less Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259050#M731608</link>
      <description>Hi All&lt;BR /&gt;&lt;BR /&gt;I had tried this Method for password less login but it seems not working&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1.Login to serverA as user1.&lt;BR /&gt;&lt;BR /&gt;2.$ssh-keygen -t dsa&lt;BR /&gt;Press enter for all the questions.It will create the private/public keys &lt;BR /&gt;under $HOME/.ssh/&lt;BR /&gt;File names are id_rsa and id_rsa.pub&lt;BR /&gt;&lt;BR /&gt;3.Now you need to copy the id_rsa.pub file content into ServerB $HOME/.ssh/authorized_keys file &lt;BR /&gt;ServerA#scp ~user1/.ssh/id_rsa.pub ServerB:/tmp&lt;BR /&gt;&lt;BR /&gt;Login to ServerB server&lt;BR /&gt;&lt;BR /&gt;ServerB#cat /tmp/id_rsa.pub &amp;gt;&amp;gt; ~user1/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;Make sure the following permissions on serverB.&lt;BR /&gt;&lt;BR /&gt;Home directory should have 755 permission (users home directory)&lt;BR /&gt;$HOME/.ssh directory should have 700 permission&lt;BR /&gt;$HOME/.ssh/authorized_keys file should have 600 or 640 permission&lt;BR /&gt;&lt;BR /&gt;Please suggest if some modification need to me made</description>
      <pubDate>Sun, 17 Oct 2010 06:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259050#M731608</guid>
      <dc:creator>Indrajit Bhagat</dc:creator>
      <dc:date>2010-10-17T06:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Password Less Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259051#M731609</link>
      <description>Please try the following:&lt;BR /&gt;ServerA and ServerB both should run the ssh daemons.To allow ServerA to SSH to ServerB without password&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Login to the source server (server A)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# ssh-keygen -t rsa&lt;BR /&gt;&lt;BR /&gt;accpet all defaults sttings.&lt;BR /&gt;&lt;BR /&gt;This generates two files id_rsa.pub and id_rsa&lt;BR /&gt;&lt;BR /&gt;Now,id_rsa.pub needs to be appended to the authorized_keys file on ServerB&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rename this file to some other name , for identification.&lt;BR /&gt;&lt;BR /&gt;#mv id_rsa.pub &lt;SERVERA&gt;_rsa.pub&lt;BR /&gt;&lt;BR /&gt;copy this file to serverB.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# scp &lt;SERVERA&gt;_rsa.pub ServerB:~/.ssh/&lt;SERVERA&gt;_rsa.pub&lt;BR /&gt;&lt;BR /&gt;Login to server B&lt;BR /&gt;&lt;BR /&gt;move to the .ssh folder under your home directory&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Take a backup of the file authorized_keys&lt;BR /&gt;&lt;BR /&gt;#cp -p authorized_keys authorized_keys.backup&lt;BR /&gt;&lt;BR /&gt;# cat &lt;SERVERA&gt;_rsa.pub &amp;gt;&amp;gt; authorized_keys&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now try login from server A to B &lt;BR /&gt;&lt;BR /&gt;Note: If you are implementing it first time there will not be any authorized_keys file. So you can simply rename the file id_rsa.pub &lt;SERVERA&gt;_rsa.pub to authorized_keys&lt;BR /&gt;Repeat this process starting from server B to A to allow passwordless login from server B to A&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Aneesh&lt;/SERVERA&gt;&lt;/SERVERA&gt;&lt;/SERVERA&gt;&lt;/SERVERA&gt;&lt;/SERVERA&gt;</description>
      <pubDate>Sun, 17 Oct 2010 07:15:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259051#M731609</guid>
      <dc:creator>Aneesh Mohan</dc:creator>
      <dc:date>2010-10-17T07:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Password Less Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259052#M731610</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] it seems not working&lt;BR /&gt;&lt;BR /&gt;Not a very detailed description of anything.&lt;BR /&gt;You might:&lt;BR /&gt;&lt;BR /&gt;Look at any of the dozens of old threads on&lt;BR /&gt;this topic.&lt;BR /&gt;&lt;BR /&gt;Show what "seems not working".&lt;BR /&gt;&lt;BR /&gt;Add "-v" (or "-vv", ...) to your (invisible)&lt;BR /&gt;"ssh" command.&lt;BR /&gt;&lt;BR /&gt;Look for interesting messages in the system&lt;BR /&gt;log file(s) on the server system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; 2.$ssh-keygen -t dsa&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&amp;gt; File names are id_rsa and id_rsa.pub&lt;BR /&gt;&lt;BR /&gt;You put DSA keys into files named "*rsa*"?</description>
      <pubDate>Sun, 17 Oct 2010 11:32:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259052#M731610</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-10-17T11:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Password Less Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259053#M731611</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Refer attached document.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chandra&lt;BR /&gt;&lt;BR /&gt;Assigning points will motivate each one in this forum</description>
      <pubDate>Mon, 18 Oct 2010 01:25:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259053#M731611</guid>
      <dc:creator>Chandrahasa s</dc:creator>
      <dc:date>2010-10-18T01:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Password Less Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259054#M731612</link>
      <description>Thanks to all , who had replied for this thread..The solution provided by you is working..&lt;BR /&gt;&lt;BR /&gt;I had assighned a points to all.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Indrajit</description>
      <pubDate>Mon, 18 Oct 2010 02:46:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259054#M731612</guid>
      <dc:creator>Indrajit Bhagat</dc:creator>
      <dc:date>2010-10-18T02:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Password Less Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259055#M731613</link>
      <description>And what is the difference with the steps you described (apart from RSA-DSA mixup in key generation)? What was the issue, what fixed the issue ?</description>
      <pubDate>Mon, 18 Oct 2010 06:49:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-less-login/m-p/5259055#M731613</guid>
      <dc:creator>Andre Cornelissen</dc:creator>
      <dc:date>2010-10-18T06:49:10Z</dc:date>
    </item>
  </channel>
</rss>

