<?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 Version 3.71 Again in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280139#M569686</link>
    <description>Hi Ryan,&lt;BR /&gt;&lt;BR /&gt;If the "StrictMode" is set to yes, then sshd will look for potential permissions issues with the home directory and .ssh directories of the user logging in.&lt;BR /&gt;&lt;BR /&gt;The home directory should be owned by it's user with maximum permissions of 755. You will be able to determine the files/directories that violated the permissions from the sshd -d output.&lt;BR /&gt;&lt;BR /&gt;These are the good things that are offered by ssh. &lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;PS: Since you are experimenting with ssh, I would suggest you try all the options and see how they work. There is a good documentation at openssh.org website.</description>
    <pubDate>Wed, 19 May 2004 10:38:08 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-05-19T10:38:08Z</dc:date>
    <item>
      <title>SSH Version 3.71 Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280132#M569679</link>
      <description>Hello~&lt;BR /&gt;&lt;BR /&gt;Just going got done with my first install of SSH and I have another question.  I created a key pair and copied the public key to the server I am trying to go to under the user name.  I see in another post if I use key authentication and have .shosts configured I can do an scp withouth having to enter a password. Well, it's not working and I am wondering if anyone has an ideas.  I don't care it's not recommended to not have a a password because we are just trying to learn it at this point...&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Ryan</description>
      <pubDate>Tue, 18 May 2004 16:48:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280132#M569679</guid>
      <dc:creator>Ryan B</dc:creator>
      <dc:date>2004-05-18T16:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Version 3.71 Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280133#M569680</link>
      <description>Ryan,&lt;BR /&gt;&lt;BR /&gt;RhostsAuthentication is a deprecated option for 3.7. So, I don't think it works anymore. But I haven't verified it on 3.7.1p1 as it is against our site policies.&lt;BR /&gt;&lt;BR /&gt;There are couple of ways to go around the "passphrase" issue. One is less secured - Generate a key pair without a passphrase. For ex.,&lt;BR /&gt;&lt;BR /&gt;$ssh-kehgen -t dsa -N ""&lt;BR /&gt;&lt;BR /&gt;Then copy the id_dsa.pub to the remote host and append/copy it to $HOME/.ssh/authorized_keys file.&lt;BR /&gt;&lt;BR /&gt;Then when you try ssh/scp/sftp, they shouldn't prompt for password.&lt;BR /&gt;&lt;BR /&gt;The next one, more secured is to generate the key pair with a passphrase&lt;BR /&gt;&lt;BR /&gt;$ssh-keygen -t dsa&lt;BR /&gt;&lt;BR /&gt;It will prompt you to enter a pass-phrase. Again copy id_dsa.pub onto the remote host like the above. But this time, when you do ssh/scp/sftp, it will ask for the passphrase. Once supplied, it should let you login.&lt;BR /&gt;&lt;BR /&gt;In this case, since again it is another level of interaction, you can read it into your memory using the following commands.&lt;BR /&gt;&lt;BR /&gt;$ssh-agent &amp;gt; /home/user/.ssh/ssh-agent.conf&lt;BR /&gt;$ssh-add /home/user/.ssh/id_dsa&lt;BR /&gt;$. /home/user/.ssh/ssh-agent.conf&lt;BR /&gt;$ssh remote_host&lt;BR /&gt;&lt;BR /&gt;Subsequent ssh sessions shouldn't ask you for either passphrase or passwords. But that's valid only for that terminal session. For a new terminal, you would need to run&lt;BR /&gt;$. /home/user/.ssh/ssh-agent.conf&lt;BR /&gt;&lt;BR /&gt;Once you are done, kill the ssh-agent processes running on the system. &lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 May 2004 17:26:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280133#M569680</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-05-18T17:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Version 3.71 Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280134#M569681</link>
      <description>Hey Sri~&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply.  I will try this and reply with further questions&lt;BR /&gt;&lt;BR /&gt;Ryan</description>
      <pubDate>Wed, 19 May 2004 08:07:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280134#M569681</guid>
      <dc:creator>Ryan B</dc:creator>
      <dc:date>2004-05-19T08:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Version 3.71 Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280135#M569682</link>
      <description>Sri~&lt;BR /&gt;&lt;BR /&gt;Thanks for the help, but it still is prompting for a password on scp.&lt;BR /&gt;&lt;BR /&gt;debug1: Authentications that can continue: publickey,password,keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: keyboard-interactive&lt;BR /&gt;Password: &lt;BR /&gt;&lt;BR /&gt;It is doing next authentication method: keyboard-interactive and I am wondering if there is a way to not have keyboard interaction????  &lt;BR /&gt;&lt;BR /&gt;I would like to use HP's version, but as you mentioned the shosts functionality probably won't work with this version...I will keep testing this and thanks for the help</description>
      <pubDate>Wed, 19 May 2004 09:00:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280135#M569682</guid>
      <dc:creator>Ryan B</dc:creator>
      <dc:date>2004-05-19T09:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Version 3.71 Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280136#M569683</link>
      <description>Ryan,&lt;BR /&gt;&lt;BR /&gt;A good way to find the reason why the public/private key authentication is not working is to turn on the debugging on the server side on sshd daemon.&lt;BR /&gt;&lt;BR /&gt;Stop the 'sshd' process on the remote host. Start it with -d switch.&lt;BR /&gt;&lt;BR /&gt;#/opt/openssh/sbin/sshd -d (point to wherever it is installed&lt;BR /&gt;&lt;BR /&gt;Then try connecting to the remote host and observe the debugged output on the server's sshd daemon.&lt;BR /&gt;&lt;BR /&gt;It's most probably permissions on the home directory of the user on the remote host. To verify it, set the permissions to 700 and go from there. Or make "StrictModes no" in the sshd_config, restart sshd and try it again.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 19 May 2004 09:21:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280136#M569683</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-05-19T09:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Version 3.71 Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280137#M569684</link>
      <description>I'm attaching a document that may help with this matter. Its been very useful to me in the past. I no longer use X windows for the edits, I use cat and other commands.&lt;BR /&gt;&lt;BR /&gt;Permissions should be checked.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 19 May 2004 10:08:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280137#M569684</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-05-19T10:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Version 3.71 Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280138#M569685</link>
      <description>Sri~&lt;BR /&gt;&lt;BR /&gt;Thanks!  The StrictMode = no with the public keys did what I needed.  However, one more question becuase it was complaining about the permissions as you mentioned, what is it expecting for permissions on /userhome and ~/.ssh?  Also, what ownership??&lt;BR /&gt;&lt;BR /&gt;Thanks Again</description>
      <pubDate>Wed, 19 May 2004 10:27:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280138#M569685</guid>
      <dc:creator>Ryan B</dc:creator>
      <dc:date>2004-05-19T10:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Version 3.71 Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280139#M569686</link>
      <description>Hi Ryan,&lt;BR /&gt;&lt;BR /&gt;If the "StrictMode" is set to yes, then sshd will look for potential permissions issues with the home directory and .ssh directories of the user logging in.&lt;BR /&gt;&lt;BR /&gt;The home directory should be owned by it's user with maximum permissions of 755. You will be able to determine the files/directories that violated the permissions from the sshd -d output.&lt;BR /&gt;&lt;BR /&gt;These are the good things that are offered by ssh. &lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;PS: Since you are experimenting with ssh, I would suggest you try all the options and see how they work. There is a good documentation at openssh.org website.</description>
      <pubDate>Wed, 19 May 2004 10:38:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280139#M569686</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-05-19T10:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Version 3.71 Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280140#M569687</link>
      <description>Sri or Anyone that is still monitoring this post...&lt;BR /&gt;&lt;BR /&gt;The $ssh-keygen -t dsa -N "" worke for what I was testing, but I know installed the  Strong Random Number Generator for this 11i version 1 system.  If I use the keygen mentioned, does it still create a key with the Random Number Generator or does the Random Number Generator do me no god with this type of keygen?  I hope that makes sense...&lt;BR /&gt;&lt;BR /&gt;Thanks again for all the help!&lt;BR /&gt;</description>
      <pubDate>Wed, 19 May 2004 12:51:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280140#M569687</guid>
      <dc:creator>Ryan B</dc:creator>
      <dc:date>2004-05-19T12:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Version 3.71 Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280141#M569688</link>
      <description>Ryan,&lt;BR /&gt;&lt;BR /&gt;You will get your answer when you run "ssh -vvv remotehost". In short it is YES.&lt;BR /&gt;&lt;BR /&gt;For the systems that do not have KRNG installed, it will generate the seed using the commands in the file ssh-rand-helper which will is slower.&lt;BR /&gt;&lt;BR /&gt;$ssh -vvv remote_host&lt;BR /&gt;...&lt;BR /&gt;debug1: Reading configuration data /opt/openssh2/etc/ssh_config&lt;BR /&gt;debug3: Seeding PRNG from /opt/openssh2/libexec/ssh-rand-helper&lt;BR /&gt;&lt;BR /&gt;*****In the above you will see it waiting for sometime********&lt;BR /&gt; &lt;BR /&gt;debug2: ssh_connect: needpriv 0&lt;BR /&gt;..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;With KRNG installed, the random string will be readily available from the random device and the response will be almost instant.&lt;BR /&gt;&lt;BR /&gt;$ssh -vvv remote_host&lt;BR /&gt;...&lt;BR /&gt;debug1: Reading configuration data /opt/openssh2/etc/ssh_config&lt;BR /&gt;debug3: RNG is ready, skipping seeding&lt;BR /&gt;&lt;BR /&gt;*** See the above, it's immediate ****&lt;BR /&gt;&lt;BR /&gt;debug2: ssh_connect: needpriv 0&lt;BR /&gt;..&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 19 May 2004 13:46:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280141#M569688</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-05-19T13:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Version 3.71 Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280142#M569689</link>
      <description>When compared with an 11.00 system without the strong random number generator to an 11.11 system with the generator, the effect seems pretty dramatic.&lt;BR /&gt;&lt;BR /&gt;You get the numeric data you need faster, boosting performance.&lt;BR /&gt;&lt;BR /&gt;There strong random generator helps in a number of ways, increasing the randomness in testing. There is no downside that I know of.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 19 May 2004 13:59:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280142#M569689</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-05-19T13:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Version 3.71 Again</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280143#M569690</link>
      <description>Thanks again for all your help.  I am sure I will have further questions, but I will open a new post if that is the case.  &lt;BR /&gt;&lt;BR /&gt;Thanks Again,&lt;BR /&gt;&lt;BR /&gt;Ryan</description>
      <pubDate>Thu, 20 May 2004 08:06:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-version-3-71-again/m-p/3280143#M569690</guid>
      <dc:creator>Ryan B</dc:creator>
      <dc:date>2004-05-20T08:06:04Z</dc:date>
    </item>
  </channel>
</rss>

