<?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 without password in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4308060#M34447</link>
    <description>Hi,&lt;BR /&gt;To configure ssh with passwd&lt;BR /&gt;&lt;BR /&gt;Client&lt;BR /&gt;Steps: For SSH Without a Password&lt;BR /&gt;&lt;BR /&gt;On the client run the following commands:&lt;BR /&gt;$ mkdir -p $HOME/.ssh&lt;BR /&gt;$ chmod 0700 $HOME/.ssh&lt;BR /&gt;$ ssh-keygen -t dsa -f $HOME/.ssh/id_d sa -P ''&lt;BR /&gt;&lt;BR /&gt;This should result in two files, &lt;BR /&gt;$HOME/.ssh/id_dsa (private key) &amp;amp; $HOME/.ssh/id_dsa.pub (public key). &lt;BR /&gt;Copy $HOME/.ssh/id_dsa.pub to the server.&lt;BR /&gt;&lt;BR /&gt;Server:&lt;BR /&gt;On the server run the following commands:&lt;BR /&gt;$ mkdir -p $HOME/.ssh&lt;BR /&gt;$ cat id_dsa.pub &amp;gt;&amp;gt; $HOME/.ssh/authorized_keys2&lt;BR /&gt;$ chmod 0600 $HOME/.ssh/authorized_keys2&lt;BR /&gt;&lt;BR /&gt;Depending on the version of OpenSSH the following commands may also be required: &lt;BR /&gt;$ cat id_dsa.pub &amp;gt;&amp;gt; $HOME/.ssh/authorized_keys&lt;BR /&gt;$ chmod 0600 $HOME/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;An alternative is to create a link from authorized_keys2 to authorized_keys: &lt;BR /&gt;$ cd $HOME/.ssh &amp;amp;&amp;amp; ln -s authorized_keys2 authorized_keys&lt;BR /&gt;&lt;BR /&gt;On the client test the results by ssh'ing to the server:&lt;BR /&gt;$ ssh -i $HOME/.ssh/id_dsa server&lt;BR /&gt;&lt;BR /&gt;(Optional) Add the following $HOME/.ssh/config on the client:&lt;BR /&gt;Host server&lt;BR /&gt;IdentityFile ~/.ssh/id_dsa&lt;BR /&gt;This allows ssh access to the server without having to specify the path to the id_dsa file as an argument to ssh each time. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
    <pubDate>Tue, 18 Nov 2008 05:32:16 GMT</pubDate>
    <dc:creator>Suraj K Sankari</dc:creator>
    <dc:date>2008-11-18T05:32:16Z</dc:date>
    <item>
      <title>ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4308059#M34446</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i want to login to remote server using ssh without password. For that i tried to set "ssh-keygen" but it is still asking for password. Please find steps i performed below.&lt;BR /&gt;&lt;BR /&gt;ssh-keygen -t rsa&lt;BR /&gt;cat .ssh/id_rsa.pub | ssh name@host_server 'cat &amp;gt;&amp;gt; .ssh/authorized_keys'&lt;BR /&gt;&lt;BR /&gt;i also tried with dsa keys&lt;BR /&gt;&lt;BR /&gt;from client:&lt;BR /&gt;ssh-keygen -t dsa -f $HOME/.ssh/id_dsa -P ''&lt;BR /&gt;scp $HOME/.ssh/id_dsa.pub svm0022pdv:$HOME/.ssh/id_dsa.pub&lt;BR /&gt;&lt;BR /&gt;In server:&lt;BR /&gt;cat id_dsa.pub &amp;gt;&amp;gt; $HOME/.ssh/authorized_keys2&lt;BR /&gt;cat id_dsa.pub &amp;gt;&amp;gt; $HOME/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;i also edit file "/etc/ssh/ssh_config".&lt;BR /&gt;&lt;BR /&gt;But still getting pasword prompt whenever i do ssh to server. &lt;BR /&gt;I am using linux machine. Can anyone help me with detailed step to solve this problem&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kumar Nishant</description>
      <pubDate>Tue, 18 Nov 2008 05:14:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4308059#M34446</guid>
      <dc:creator>kumar nishant</dc:creator>
      <dc:date>2008-11-18T05:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4308060#M34447</link>
      <description>Hi,&lt;BR /&gt;To configure ssh with passwd&lt;BR /&gt;&lt;BR /&gt;Client&lt;BR /&gt;Steps: For SSH Without a Password&lt;BR /&gt;&lt;BR /&gt;On the client run the following commands:&lt;BR /&gt;$ mkdir -p $HOME/.ssh&lt;BR /&gt;$ chmod 0700 $HOME/.ssh&lt;BR /&gt;$ ssh-keygen -t dsa -f $HOME/.ssh/id_d sa -P ''&lt;BR /&gt;&lt;BR /&gt;This should result in two files, &lt;BR /&gt;$HOME/.ssh/id_dsa (private key) &amp;amp; $HOME/.ssh/id_dsa.pub (public key). &lt;BR /&gt;Copy $HOME/.ssh/id_dsa.pub to the server.&lt;BR /&gt;&lt;BR /&gt;Server:&lt;BR /&gt;On the server run the following commands:&lt;BR /&gt;$ mkdir -p $HOME/.ssh&lt;BR /&gt;$ cat id_dsa.pub &amp;gt;&amp;gt; $HOME/.ssh/authorized_keys2&lt;BR /&gt;$ chmod 0600 $HOME/.ssh/authorized_keys2&lt;BR /&gt;&lt;BR /&gt;Depending on the version of OpenSSH the following commands may also be required: &lt;BR /&gt;$ cat id_dsa.pub &amp;gt;&amp;gt; $HOME/.ssh/authorized_keys&lt;BR /&gt;$ chmod 0600 $HOME/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;An alternative is to create a link from authorized_keys2 to authorized_keys: &lt;BR /&gt;$ cd $HOME/.ssh &amp;amp;&amp;amp; ln -s authorized_keys2 authorized_keys&lt;BR /&gt;&lt;BR /&gt;On the client test the results by ssh'ing to the server:&lt;BR /&gt;$ ssh -i $HOME/.ssh/id_dsa server&lt;BR /&gt;&lt;BR /&gt;(Optional) Add the following $HOME/.ssh/config on the client:&lt;BR /&gt;Host server&lt;BR /&gt;IdentityFile ~/.ssh/id_dsa&lt;BR /&gt;This allows ssh access to the server without having to specify the path to the id_dsa file as an argument to ssh each time. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Tue, 18 Nov 2008 05:32:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4308060#M34447</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2008-11-18T05:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4308061#M34448</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I am using linux machine.&lt;BR /&gt;&lt;BR /&gt;So why ask in an HP-UX forum?&lt;BR /&gt;&lt;BR /&gt;A Forum search for keywords like&lt;BR /&gt;      ssh password&lt;BR /&gt;should find many old discussions on this&lt;BR /&gt;topic.  Almost all of them will suggest using&lt;BR /&gt;the "-v" option in your "ssh" command.  Some&lt;BR /&gt;of them will also suggest showing an actual&lt;BR /&gt;transcript of a failing command, an "ls -l"&lt;BR /&gt;report on your ".ssh" directory, and some&lt;BR /&gt;other things.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; i also edit file "/etc/ssh/ssh_config".&lt;BR /&gt;&lt;BR /&gt;Uh, we can't see it, either before or after&lt;BR /&gt;you did whatever you did to it.</description>
      <pubDate>Tue, 18 Nov 2008 05:43:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4308061#M34448</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-11-18T05:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4308062#M34449</link>
      <description>Probably it's a file system permission problem. SSH is trict with permissions, check the permissions for the home directory and the .ssh directory and files, ensure that group and other don't have write permissions enabled.</description>
      <pubDate>Tue, 18 Nov 2008 11:37:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4308062#M34449</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-11-18T11:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4308063#M34450</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Most of these problems come from ownership and permissions.&lt;BR /&gt;&lt;BR /&gt;Take a look here for a guide.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=10" target="_blank"&gt;http://www.hpux.ws/?p=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 19 Nov 2008 07:41:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4308063#M34450</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-11-19T07:41:38Z</dc:date>
    </item>
  </channel>
</rss>

