<?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- public key authentication in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742831#M740583</link>
    <description>Hi Rajeev,&lt;BR /&gt;&lt;BR /&gt;Now, it is working for me---&lt;BR /&gt;&lt;BR /&gt;When i am entering as a root user- it is not asking for a password .&lt;BR /&gt;&lt;BR /&gt;Just want to know one more thing- in the root directory --we have one more directory (commands)- in this directory some commands are present  .&lt;BR /&gt;In order to execute the comaands , we are supposed to provide the password .&lt;BR /&gt;&lt;BR /&gt;we can directly enter in that directory by using ssh commands@ipAddr -- and after providing the password , we can easily execute the commands .&lt;BR /&gt;&lt;BR /&gt;Due to Public Key Authentication, it is not asking for password when i m entering as a root user---but it is asking for a password in case of some other directory .--&lt;BR /&gt;&lt;BR /&gt;What i want to know is --can we apply the same logic to this directory also .&lt;BR /&gt;What formalities i m supposed to do in order to get a password -less login .&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Manoj&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 02 Mar 2006 23:06:15 GMT</pubDate>
    <dc:creator>ManojKumar</dc:creator>
    <dc:date>2006-03-02T23:06:15Z</dc:date>
    <item>
      <title>ssh- public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742825#M740577</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I was trying public key authentication .&lt;BR /&gt;Client is a window' machine .&lt;BR /&gt;Server is a linux system .&lt;BR /&gt;From my window' machine(Client), i can easily execute the commands present on the server by using ssh root@ipAddr, but everytime i m supposed to provide the password .&lt;BR /&gt;&lt;BR /&gt;I tried the mechanism for public key authentication but it is not working .&lt;BR /&gt;&lt;BR /&gt;here, i am writing the commands one by one---&lt;BR /&gt;(Client machine)&lt;BR /&gt;&lt;BR /&gt;1. c:\&amp;gt;ssh-keygen -t rsa&lt;BR /&gt;2. empty for filename-(default)&lt;BR /&gt;3. empty for passphrase key&lt;BR /&gt;4. pscp to copy the id_rsa to /.ssh/authorozed_keys&lt;BR /&gt;&lt;BR /&gt;that' all from my side&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;manoj</description>
      <pubDate>Thu, 02 Mar 2006 11:42:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742825#M740577</guid>
      <dc:creator>ManojKumar</dc:creator>
      <dc:date>2006-03-02T11:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: ssh- public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742826#M740578</link>
      <description>you need to put the id_rsa.pub file over to .ssh/authorized_keys on the other box.  The "pub" file is the correct one to copy, not the main key file.</description>
      <pubDate>Thu, 02 Mar 2006 12:10:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742826#M740578</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2006-03-02T12:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: ssh- public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742827#M740579</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The file generated should be brought over to the server where the user is going to login&lt;BR /&gt;&lt;BR /&gt;under the user's home directory&lt;BR /&gt;under .ssh directory&lt;BR /&gt;file name should be authorized_keys.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Thu, 02 Mar 2006 12:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742827#M740579</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2006-03-02T12:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: ssh- public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742828#M740580</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;actually, i m using pscp to copy the file id_rsa from my window' machine to the server(linux machine) and then i m redirecting the file id_rsa on the server to /.ssh/authorized_keys by using-&lt;BR /&gt;&lt;BR /&gt;cat id_rsa.pub &amp;gt;&amp;gt; /.ssh/authorized_keys .&lt;BR /&gt;&lt;BR /&gt;After this i m changing the permissions-&lt;BR /&gt;&lt;BR /&gt;i.e. chmod 600 /.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;That' what i m doing .&lt;BR /&gt;I m not able to locate the problem .&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;manoj</description>
      <pubDate>Thu, 02 Mar 2006 22:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742828#M740580</guid>
      <dc:creator>ManojKumar</dc:creator>
      <dc:date>2006-03-02T22:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: ssh- public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742829#M740581</link>
      <description>I suggest you use putty key generator software to generate the public and the private keys. After you have done it save the private key on your windows machine and cut and paste the public key you get into authorized_keys file in the home directory or the user/.ssh &lt;BR /&gt;I am using this methord and works well for me. Let me know if you need more details in downloading the software and generating the key pair.</description>
      <pubDate>Thu, 02 Mar 2006 22:32:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742829#M740581</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2006-03-02T22:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: ssh- public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742830#M740582</link>
      <description>Hi,&lt;BR /&gt;   If is between windows and unix, putty is a better tool to use.&lt;BR /&gt;&lt;BR /&gt;To understand clearily about SSH public key authentication between two nodes, refer this attached doc.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Prabu.S</description>
      <pubDate>Thu, 02 Mar 2006 22:54:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742830#M740582</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2006-03-02T22:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: ssh- public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742831#M740583</link>
      <description>Hi Rajeev,&lt;BR /&gt;&lt;BR /&gt;Now, it is working for me---&lt;BR /&gt;&lt;BR /&gt;When i am entering as a root user- it is not asking for a password .&lt;BR /&gt;&lt;BR /&gt;Just want to know one more thing- in the root directory --we have one more directory (commands)- in this directory some commands are present  .&lt;BR /&gt;In order to execute the comaands , we are supposed to provide the password .&lt;BR /&gt;&lt;BR /&gt;we can directly enter in that directory by using ssh commands@ipAddr -- and after providing the password , we can easily execute the commands .&lt;BR /&gt;&lt;BR /&gt;Due to Public Key Authentication, it is not asking for password when i m entering as a root user---but it is asking for a password in case of some other directory .--&lt;BR /&gt;&lt;BR /&gt;What i want to know is --can we apply the same logic to this directory also .&lt;BR /&gt;What formalities i m supposed to do in order to get a password -less login .&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Manoj&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Mar 2006 23:06:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742831#M740583</guid>
      <dc:creator>ManojKumar</dc:creator>
      <dc:date>2006-03-02T23:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: ssh- public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742832#M740584</link>
      <description>Hi Manoj, &lt;BR /&gt;&lt;BR /&gt;Check these links for more information,  &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://cfm.gs.washington.edu/security/ssh/client-pkauth/" target="_blank"&gt;http://cfm.gs.washington.edu/security/ssh/client-pkauth/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=996527" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=996527&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 02 Mar 2006 23:15:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742832#M740584</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-03-02T23:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: ssh- public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742833#M740585</link>
      <description>Hi Manoj,&lt;BR /&gt;I am a bit confused about your setup.&lt;BR /&gt;Now the way ssh works is that yoy place the authorized_keys files in the $HOMEorUser/.ssh directory and that way you'll be able to run any commands from any directory that that user has access to.&lt;BR /&gt;&lt;BR /&gt;Now when you say you run the command from a command directory by ssh command@ip-add i dont know how that works..&lt;BR /&gt;Usually if you want to run something from a server you do&lt;BR /&gt;ssh &lt;SERVER name=""&gt; "command with full path"&lt;BR /&gt;&lt;BR /&gt;And if you want to do this for other users you place a similar file in the home directory of that user "authorized_keys"&lt;BR /&gt;&lt;BR /&gt;Am i confusing you any further or have i not understood what you want to ask?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev&lt;/SERVER&gt;</description>
      <pubDate>Thu, 02 Mar 2006 23:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public-key-authentication/m-p/3742833#M740585</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2006-03-02T23:34:13Z</dc:date>
    </item>
  </channel>
</rss>

