<?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: sftp without password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913156#M741645</link>
    <description>Thanks</description>
    <pubDate>Tue, 19 Jul 2005 00:26:16 GMT</pubDate>
    <dc:creator>Boissé_1</dc:creator>
    <dc:date>2005-07-19T00:26:16Z</dc:date>
    <item>
      <title>sftp without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913150#M741639</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have installed ssh on 2 hpux server.&lt;BR /&gt;I have generated a key pairs, copied the public one into the authorized_keys host file but the password is still needed.&lt;BR /&gt;&lt;BR /&gt;All parameters are on default value.&lt;BR /&gt;&lt;BR /&gt;What's the problem ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 18 Jul 2005 08:04:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913150#M741639</guid>
      <dc:creator>Boissé_1</dc:creator>
      <dc:date>2005-07-18T08:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: sftp without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913151#M741640</link>
      <description>Check configuration files. sshd.config and ssh.conf. There is a setting that defins preferred way authentication.&lt;BR /&gt;&lt;BR /&gt;Also what is the error message. You can details as follows.&lt;BR /&gt;&lt;BR /&gt;ssh -vvv "other_server"&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Mon, 18 Jul 2005 08:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913151#M741640</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-07-18T08:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: sftp without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913152#M741641</link>
      <description>we do this all the time with scp not sftp and it works like a charm without requiring the password. Provided you got the correct keys in correct places in the right format. &lt;BR /&gt;&lt;BR /&gt;The most common mistake I have seen so far is the line breaks in the the public or private ssh keys. Make sure everything is on one single line not broken up over several lines on either side.</description>
      <pubDate>Mon, 18 Jul 2005 08:08:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913152#M741641</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-07-18T08:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: sftp without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913153#M741642</link>
      <description>For the user that your using to SSH or SCP as, ensure that "~/.ssh/authorization_keys" are owned by that user and the permissions of both are 750.  If its the root user, ensure that PermitRootLogin is allowed in sshd_config.</description>
      <pubDate>Mon, 18 Jul 2005 08:35:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913153#M741642</guid>
      <dc:creator>Daryn Clark</dc:creator>
      <dc:date>2005-07-18T08:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: sftp without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913154#M741643</link>
      <description>&lt;BR /&gt;one more thing, if you are using protocol 2 of SSH (which is the default protocol) then I believe the public key file is expected by the name authorized_keys2 and the private key file name should be id_rsa/id_dsa depending on type of key.&lt;BR /&gt;&lt;BR /&gt;Try making this change and see whether it is helpful also check the file permission of private/public key files they are supposed to be only user readable&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Mon, 18 Jul 2005 08:42:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913154#M741643</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-07-18T08:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: sftp without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913155#M741644</link>
      <description>The most common problem I have found that causes this issue is;&lt;BR /&gt;&lt;BR /&gt;(Note: these items are all on the host you are trying to connect to)&lt;BR /&gt;&lt;BR /&gt;1. permissions of the user's .ssh directory (I always use 700)&lt;BR /&gt;2. permissions of the user's authorized_keys file (I always use 600)&lt;BR /&gt;3. pemissions of the user's home directory (755 or 750 should be fine)&lt;BR /&gt;&lt;BR /&gt;To get a good idea of what is going on run;&lt;BR /&gt;in this example we are trying to connect from hostA to hostB.&lt;BR /&gt;&lt;BR /&gt;hostB# /opt/ssh/sbin/sshd -ddd&lt;BR /&gt;hostA# ssh -vvv hostB&lt;BR /&gt;&lt;BR /&gt;You will probably get the most information from the output at hostB. It should point you to your problem.</description>
      <pubDate>Mon, 18 Jul 2005 09:48:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913155#M741644</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2005-07-18T09:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: sftp without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913156#M741645</link>
      <description>Thanks</description>
      <pubDate>Tue, 19 Jul 2005 00:26:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-without-password/m-p/4913156#M741645</guid>
      <dc:creator>Boissé_1</dc:creator>
      <dc:date>2005-07-19T00:26:16Z</dc:date>
    </item>
  </channel>
</rss>

