<?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/4887200#M69760</link>
    <description>THIS IS -v OUTPUT:&lt;BR /&gt;&lt;BR /&gt;OpenSSH_2.9p1, SSH protocols 1.5/2.0, OpenSSL 0x0090601f&lt;BR /&gt;debug1: Reading configuration data /etc/ssh/ssh_config&lt;BR /&gt;debug1: Applying options for *&lt;BR /&gt;debug1: Seeding random number generator&lt;BR /&gt;debug1: Rhosts Authentication disabled, originating port will not be trusted.&lt;BR /&gt;debug1: restore_uid&lt;BR /&gt;debug1: ssh_connect: getuid 0 geteuid 0 anon 1&lt;BR /&gt;debug1: Connecting to 130.1.1.14 [130.1.1.14] port 22.&lt;BR /&gt;debug1: temporarily_use_uid: 0/0 (e=0)&lt;BR /&gt;debug1: restore_uid&lt;BR /&gt;debug1: temporarily_use_uid: 0/0 (e=0)&lt;BR /&gt;debug1: restore_uid&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: read PEM private key done: type DSA&lt;BR /&gt;debug1: identity file /root/.ssh/identity type -1&lt;BR /&gt;debug1: identity file /root/.ssh/id_rsa type 1&lt;BR /&gt;debug1: identity file /root/.ssh/id_dsa type -1&lt;BR /&gt;debug1: Remote protocol version 1.99, remote software version OpenSSH_3.6.1p2&lt;BR /&gt;debug1: match: OpenSSH_3.6.1p2 pat ^OpenSSH&lt;BR /&gt;debug1: Local version string SSH-1.5-OpenSSH_2.9p1&lt;BR /&gt;debug1: Waiting for server public key.&lt;BR /&gt;debug1: Received server public key (768 bits) and host key (1024 bits).&lt;BR /&gt;debug1: Host '130.1.1.14' is known and matches the RSA1 host key.&lt;BR /&gt;debug1: Found key in /root/.ssh/known_hosts:1&lt;BR /&gt;debug1: Encryption type: 3des&lt;BR /&gt;debug1: Sent encrypted session key.&lt;BR /&gt;debug1: Installing crc compensation attack detector.&lt;BR /&gt;debug1: Received encrypted confirmation.&lt;BR /&gt;debug1: Doing password authentication.</description>
    <pubDate>Tue, 22 Feb 2005 08:42:47 GMT</pubDate>
    <dc:creator>ANDREA_6</dc:creator>
    <dc:date>2005-02-22T08:42:47Z</dc:date>
    <item>
      <title>ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887191#M69751</link>
      <description>Hello,&lt;BR /&gt;i installed a pubblic key on my client (redhat)&lt;BR /&gt;with "ssh-keygen -t rsa".&lt;BR /&gt;&lt;BR /&gt;On my server (suse), i created the file /root/.ssh/authorized_keys&lt;BR /&gt;using /root/.ssh/id_rsa.pub (of the client).&lt;BR /&gt;&lt;BR /&gt;I added on /etc/sshd_config (of the server) "PermitLogin yes" and "StrictModes no"&lt;BR /&gt;&lt;BR /&gt;Then i restarted sshd (on the server).&lt;BR /&gt;&lt;BR /&gt;BUT USING SSH IT STILL ASK ME TO INSERT PASSWORD... &lt;BR /&gt;&lt;BR /&gt;I did the same operation between 2 redhat server and it works fine... but between redhat and suse it still ask me to insert password..&lt;BR /&gt;&lt;BR /&gt;Is there something else to change in sshd_config?&lt;BR /&gt;&lt;BR /&gt;Please help me.. &lt;BR /&gt;Best regards,Andrea.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Feb 2005 05:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887191#M69751</guid>
      <dc:creator>ANDREA_6</dc:creator>
      <dc:date>2005-02-22T05:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887192#M69752</link>
      <description>Sorry.. a little mistake..&lt;BR /&gt;&lt;BR /&gt;The client is SUSE and the server is REDHAT.</description>
      <pubDate>Tue, 22 Feb 2005 06:40:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887192#M69752</guid>
      <dc:creator>ANDREA_6</dc:creator>
      <dc:date>2005-02-22T06:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887193#M69753</link>
      <description>You should distribute the private key to your authorized client. Put the private key (id_rsa) in the $HOME/.ssh/on the source machine (RedHat).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
      <pubDate>Tue, 22 Feb 2005 06:44:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887193#M69753</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2005-02-22T06:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887194#M69754</link>
      <description>I did it.. but it still ask me to insert password.. any idea?</description>
      <pubDate>Tue, 22 Feb 2005 06:46:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887194#M69754</guid>
      <dc:creator>ANDREA_6</dc:creator>
      <dc:date>2005-02-22T06:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887195#M69755</link>
      <description>&lt;BR /&gt;Check the permission for authorized_keys file. It should be 755.&lt;BR /&gt;&lt;BR /&gt;I not working still, run in debug mode.</description>
      <pubDate>Tue, 22 Feb 2005 06:52:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887195#M69755</guid>
      <dc:creator>VEL_1</dc:creator>
      <dc:date>2005-02-22T06:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887196#M69756</link>
      <description>The permissions were correct..</description>
      <pubDate>Tue, 22 Feb 2005 07:03:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887196#M69756</guid>
      <dc:creator>ANDREA_6</dc:creator>
      <dc:date>2005-02-22T07:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887197#M69757</link>
      <description>&lt;BR /&gt;Try to run the sshd in debug mode. This will give the exact error message.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Feb 2005 07:06:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887197#M69757</guid>
      <dc:creator>VEL_1</dc:creator>
      <dc:date>2005-02-22T07:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887198#M69758</link>
      <description>Try to run ssh on the client in verbose mode (ssh -v -v &lt;SERVER_IP&gt;_ and sshd on the server in debug mode (sshd -d -d). Then check your outputs for errors. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SERVER_IP&gt;</description>
      <pubDate>Tue, 22 Feb 2005 07:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887198#M69758</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2005-02-22T07:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887199#M69759</link>
      <description>Ihe error is "permission denied"</description>
      <pubDate>Tue, 22 Feb 2005 08:25:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887199#M69759</guid>
      <dc:creator>ANDREA_6</dc:creator>
      <dc:date>2005-02-22T08:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887200#M69760</link>
      <description>THIS IS -v OUTPUT:&lt;BR /&gt;&lt;BR /&gt;OpenSSH_2.9p1, SSH protocols 1.5/2.0, OpenSSL 0x0090601f&lt;BR /&gt;debug1: Reading configuration data /etc/ssh/ssh_config&lt;BR /&gt;debug1: Applying options for *&lt;BR /&gt;debug1: Seeding random number generator&lt;BR /&gt;debug1: Rhosts Authentication disabled, originating port will not be trusted.&lt;BR /&gt;debug1: restore_uid&lt;BR /&gt;debug1: ssh_connect: getuid 0 geteuid 0 anon 1&lt;BR /&gt;debug1: Connecting to 130.1.1.14 [130.1.1.14] port 22.&lt;BR /&gt;debug1: temporarily_use_uid: 0/0 (e=0)&lt;BR /&gt;debug1: restore_uid&lt;BR /&gt;debug1: temporarily_use_uid: 0/0 (e=0)&lt;BR /&gt;debug1: restore_uid&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: read PEM private key done: type DSA&lt;BR /&gt;debug1: identity file /root/.ssh/identity type -1&lt;BR /&gt;debug1: identity file /root/.ssh/id_rsa type 1&lt;BR /&gt;debug1: identity file /root/.ssh/id_dsa type -1&lt;BR /&gt;debug1: Remote protocol version 1.99, remote software version OpenSSH_3.6.1p2&lt;BR /&gt;debug1: match: OpenSSH_3.6.1p2 pat ^OpenSSH&lt;BR /&gt;debug1: Local version string SSH-1.5-OpenSSH_2.9p1&lt;BR /&gt;debug1: Waiting for server public key.&lt;BR /&gt;debug1: Received server public key (768 bits) and host key (1024 bits).&lt;BR /&gt;debug1: Host '130.1.1.14' is known and matches the RSA1 host key.&lt;BR /&gt;debug1: Found key in /root/.ssh/known_hosts:1&lt;BR /&gt;debug1: Encryption type: 3des&lt;BR /&gt;debug1: Sent encrypted session key.&lt;BR /&gt;debug1: Installing crc compensation attack detector.&lt;BR /&gt;debug1: Received encrypted confirmation.&lt;BR /&gt;debug1: Doing password authentication.</description>
      <pubDate>Tue, 22 Feb 2005 08:42:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887200#M69760</guid>
      <dc:creator>ANDREA_6</dc:creator>
      <dc:date>2005-02-22T08:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887201#M69761</link>
      <description>sshd -d (on the server)&lt;BR /&gt;&lt;BR /&gt;debug2: read_server_config: filename /etc/ssh/sshd_config&lt;BR /&gt;debug1: sshd version OpenSSH_3.6.1p2&lt;BR /&gt;debug1: private host key: #0 type 0 RSA1&lt;BR /&gt;debug1: read PEM private key done: type RSA&lt;BR /&gt;debug1: private host key: #1 type 1 RSA&lt;BR /&gt;debug1: read PEM private key done: type DSA&lt;BR /&gt;debug1: private host key: #2 type 2 DSA&lt;BR /&gt;socket: Address family not supported by protocol&lt;BR /&gt;debug1: Bind to port 22 on 0.0.0.0.&lt;BR /&gt;Bind to port 22 on 0.0.0.0 failed: Address already in use.&lt;BR /&gt;Cannot bind any address.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Feb 2005 08:59:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887201#M69761</guid>
      <dc:creator>ANDREA_6</dc:creator>
      <dc:date>2005-02-22T08:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887202#M69762</link>
      <description>when you're troubleshooting ssh to use public/private key pair for auth, use 'ssh -vvv -o PreferredAuthentications=public' option. This might help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I would also double check a few params in the sshd_config file.&lt;BR /&gt;&lt;BR /&gt;PermitRootLogin yes&lt;BR /&gt;PubkeyAuthentication yes&lt;BR /&gt;AuthorizedKeysFile .ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To me, it seems like there is something not enabled on the server side.... like PubkeyAuth.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Tue, 22 Feb 2005 09:05:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887202#M69762</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-02-22T09:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887203#M69763</link>
      <description>Also, at the time of the failure... look at the syslog for sshd messages. If there is a permissions problem with the suse's root ~/.ssh there should be something logged on the server side.&lt;BR /&gt;&lt;BR /&gt;I also noticed your ssh debug output on the client didn't offer the private key either. Since you stated it works fine between RH client to RH server but fails from RH client to SuSE serve, I'd look at the sshd_config on the SuSE box. What's different between the RH server and SuSE server's sshd_config file?&lt;BR /&gt;&lt;BR /&gt;-denver</description>
      <pubDate>Tue, 22 Feb 2005 09:17:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887203#M69763</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-02-22T09:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887204#M69764</link>
      <description>Is it just asking for the passphrase for your private key? &lt;BR /&gt;&lt;BR /&gt;Try using ssh-agent to hold the key for a session, it means you'll have to have the agent be the parent to whatever process you are running, ie. if you want to have password less ssh sessions anytime you open an Xterm, you'll want ssh-agent to be the parent process of your xsession, that way you only have to run ssh-add once for the key to be loaded for all your sessions.&lt;BR /&gt;&lt;BR /&gt;or is the problem that ssh is reverting to password auth?&lt;BR /&gt;&lt;BR /&gt;--Dave</description>
      <pubDate>Tue, 22 Feb 2005 12:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887204#M69764</guid>
      <dc:creator>Dave Falloon</dc:creator>
      <dc:date>2005-02-22T12:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887205#M69765</link>
      <description>Andrea, from what I've seen - the file name is "authorized_keys2" for an rsa key.  Try that out and see if it fixes your problem. Also, I've had lots of luck tightening down on the permissions for .ssh directory and all files within with no loss of connectivity.  Try ratcheting down the security after you've got it working...</description>
      <pubDate>Tue, 22 Feb 2005 20:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887205#M69765</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-02-22T20:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887206#M69766</link>
      <description>pls have also a look into the /var/log/messages, /var/log/secure and auth.log</description>
      <pubDate>Wed, 23 Feb 2005 02:21:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887206#M69766</guid>
      <dc:creator>Rene Sasse</dc:creator>
      <dc:date>2005-02-23T02:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887207#M69767</link>
      <description>When you installed SSH is it running as user sshd, if so does it have permissions to your home directory?&lt;BR /&gt;&lt;BR /&gt;The other common problem when keys are rejected is if there are line breaks within the keystring in "authorized_hosts". Check this by editing the file in vi and running the cursor along the line, or pressing $ to find the end.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2005 02:35:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887207#M69767</guid>
      <dc:creator>Andrew Cowan</dc:creator>
      <dc:date>2005-02-23T02:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887208#M69768</link>
      <description>I had a "permssion denied" problem recently&lt;BR /&gt;&lt;BR /&gt;The solution was&lt;BR /&gt;&lt;BR /&gt;--&amp;gt; Directory .ssh must be &lt;BR /&gt;drwx------&lt;BR /&gt;&lt;BR /&gt;--&amp;gt; file .ssh/authorized_keys &lt;BR /&gt;must be -rw-------&lt;BR /&gt;&lt;BR /&gt;GÃ©rar</description>
      <pubDate>Wed, 23 Feb 2005 02:47:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887208#M69768</guid>
      <dc:creator>Gerard_22</dc:creator>
      <dc:date>2005-02-23T02:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887209#M69769</link>
      <description>This is pretty much what I was asking here to check. You can prove this by setting "strictmode no" in the sshd_config and restarting the daemon.</description>
      <pubDate>Wed, 23 Feb 2005 02:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887209#M69769</guid>
      <dc:creator>Andrew Cowan</dc:creator>
      <dc:date>2005-02-23T02:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887210#M69770</link>
      <description>Thank's a lot,&lt;BR /&gt;i solved the problem.&lt;BR /&gt;&lt;BR /&gt;I changed my configurations in sshd_config using only ssh 2...&lt;BR /&gt;"Protocol 2"&lt;BR /&gt;&lt;BR /&gt;At the beginning it was configured to use protocol 2 and 1.. but the network is very slow.. &lt;BR /&gt;It's possible that without an immediate answer, the client tryed to use ssh1.. and maybe it doesn't work fine because the client have an old versin of ssh..&lt;BR /&gt;&lt;BR /&gt;Best regards,Andrea.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2005 12:06:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/4887210#M69770</guid>
      <dc:creator>ANDREA_6</dc:creator>
      <dc:date>2005-02-23T12:06:21Z</dc:date>
    </item>
  </channel>
</rss>

