<?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: Disabling passwd for SSH in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872595#M98924</link>
    <description>I have attached a MS Word document that I send to all users so that they may enable SSH for their own accounts.  The executive brief is that the key for each remote host has to be in the ~/.ssh/authorized_keys file.  The permissions on this file and various directories have to be exact, so look at this document for details.  Write if you have any questions.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
    <pubDate>Thu, 02 Jan 2003 17:51:24 GMT</pubDate>
    <dc:creator>Chris Vail</dc:creator>
    <dc:date>2003-01-02T17:51:24Z</dc:date>
    <item>
      <title>Disabling passwd for SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872586#M98915</link>
      <description>HI,&lt;BR /&gt;&lt;BR /&gt;I'm running SSH on a HP11.0 machine of version:&lt;BR /&gt;F-Secure SSH 2.4.0 (build 12) on hppa1.1-hp-hpux11.00&lt;BR /&gt;&lt;BR /&gt;However, I keep getting passwd prompts whenever I try connecting into another HP11 machine with SSH of the same version installed.&lt;BR /&gt;The output is as below:&lt;BR /&gt;&lt;BR /&gt;pghc0001[11]% ssh pglc0050&lt;BR /&gt;Host key not found from database.&lt;BR /&gt;Key fingerprint:&lt;BR /&gt;xesek-selut-gerev-dosyg-sicot-pepim-rituh-rikak-tuhyn-fynig-fyxex&lt;BR /&gt;You can get a public key's fingerprint by running&lt;BR /&gt;% ssh-keygen -F publickey.pub&lt;BR /&gt;on the keyfile.&lt;BR /&gt;Are you sure you want to continue connecting (yes/no)? y&lt;BR /&gt;Please answer 'yes' or 'no': yes&lt;BR /&gt;Host key saved to /home/cs/ken_lee/.ssh2/hostkeys/key_22_pglc0050.pub&lt;BR /&gt;host key for pglc0050, accepted by ken_lee Wed Jan 01 2003 10:26:43&lt;BR /&gt;ken_lee's password:&lt;BR /&gt;Authentication successful.&lt;BR /&gt;Last login: Fri Aug 30 2002 09:17:04 +0800 from tigger.willowglen.com&lt;BR /&gt;No mail.&lt;BR /&gt;SOURCING /home/cs/environment/cshrc&lt;BR /&gt;SOURCING /home/cs/environment/login&lt;BR /&gt;pglc0050[1]%&lt;BR /&gt;&lt;BR /&gt;I've tried disabling the following attributes in the files ssh2_config and sshd2_config, but it had still prompted for a password:&lt;BR /&gt;1)ssh2_config&lt;BR /&gt;#PasswordPrompt "%U@%H's passwd:  "&lt;BR /&gt;#PasswordPrompt "%U's password: "&lt;BR /&gt;&lt;BR /&gt;#AllowedAuthentications publickey, password&lt;BR /&gt;#AllowedAuthentications hostbased,publickey,&lt;BR /&gt;                        password&lt;BR /&gt;&lt;BR /&gt;2)sshd2_config&lt;BR /&gt;#AllowedAuthentications  hostbased,publickey,&lt;BR /&gt;                        password&lt;BR /&gt;#AllowedAuthentications  publickey,pam-1@ssh.com&lt;BR /&gt;#AllowedAuthentications  publickey, password&lt;BR /&gt;#RequiredAuthentications publickey,password&lt;BR /&gt;&lt;BR /&gt;I've even tried, on a desperate attempt,  adding the machines and usernames in .rhosts file on both machines, but that failed too.&lt;BR /&gt;&lt;BR /&gt;In the case when public keys, host keys and fingerprint were already generated, it had still prompted for a passwd as below:&lt;BR /&gt;pglc0050[1]%ssh snoopy&lt;BR /&gt;ken_lee's password: &lt;BR /&gt;&lt;BR /&gt;I was wondering if there are ways to disable the passwd prompt when a user logs into another machine with SSH? &lt;BR /&gt;&lt;BR /&gt;Could someone kindly help me out? &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jan 2003 11:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872586#M98915</guid>
      <dc:creator>Chern Jian Leaw</dc:creator>
      <dc:date>2003-01-01T11:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling passwd for SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872587#M98916</link>
      <description>Hi Chern,&lt;BR /&gt;  I dont know about F-Secure,&lt;BR /&gt;But we are using HP-UX Secure Shell, A.03.10.002. (T1471AA)&lt;BR /&gt;You can download this from the depot site of hp. &lt;BR /&gt;&lt;BR /&gt;Here you have to create keys for each user with ssh-keygen and copy these id files to remote host. It will allow you to login to remote host without password.&lt;BR /&gt;&lt;BR /&gt;If u need detail procedure about this, let me know.&lt;BR /&gt;&lt;BR /&gt;Srini.&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jan 2003 01:59:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872587#M98916</guid>
      <dc:creator>avsrini</dc:creator>
      <dc:date>2003-01-02T01:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling passwd for SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872588#M98917</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;ssh-keygen -t dsa(or rsa) -C "" -N ""&lt;BR /&gt;&lt;BR /&gt;Append your_home/.ssh/id_dsa.pub (ex., dsa) to the other host into your_home/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;If you are sure that you copied the public key properly to the other system into authorized_keys file, then the other thing that I can think of is to check if "strictmodes" is set to yes on the remote server. Look at the sshd_config and see if it is set to yes. If that is case, then you have to keep strict permissions (750 max) on the home directory.&lt;BR /&gt;&lt;BR /&gt;TO find more details, run "sshd" in debug mode on the remote server.  kill sshd and run it manually with the command&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#sshd -d&lt;BR /&gt;&lt;BR /&gt;Observe the debugged output generated while you connect through ssh. YOu should be able to find the reason.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 02 Jan 2003 02:46:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872588#M98917</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-01-02T02:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling passwd for SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872589#M98918</link>
      <description>1) put the public key generated on pglc0050 onto pghc0001's ~/.ssh2&lt;BR /&gt;&lt;BR /&gt;2) put the public key file name into ~/.ssh2/authorization&lt;BR /&gt;&lt;BR /&gt;Something like&lt;BR /&gt;Keys pglc0050.pub&lt;BR /&gt;&lt;BR /&gt;3) Save file&lt;BR /&gt;4) try connect from pglc0050 to pghc0001 again&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jan 2003 03:01:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872589#M98918</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2003-01-02T03:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling passwd for SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872590#M98919</link>
      <description>Srinivasan A &lt;BR /&gt;&lt;BR /&gt;I'd like to see the procedure.  I want to use scp to replace rcp&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 02 Jan 2003 05:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872590#M98919</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-02T05:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling passwd for SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872591#M98920</link>
      <description>Srinivasan&lt;BR /&gt;&lt;BR /&gt;Could you provide the procedure on how to have the keys for each user created with ssh-keygen?&lt;BR /&gt;&lt;BR /&gt;This is because I have about 100 client machines with F-secure version of SSH installed.&lt;BR /&gt;&lt;BR /&gt;Appreciate it if you could show the procedure required.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 02 Jan 2003 06:30:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872591#M98920</guid>
      <dc:creator>Chern Jian Leaw</dc:creator>
      <dc:date>2003-01-02T06:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling passwd for SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872592#M98921</link>
      <description>Srinivasan&lt;BR /&gt;&lt;BR /&gt;Could you provide the procedure on how to have the keys for each user created with ssh-keygen?&lt;BR /&gt;&lt;BR /&gt;This is because I have about 100 client machines with F-secure version of SSH installed.&lt;BR /&gt;&lt;BR /&gt;Appreciate it if you could show the procedure required.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 02 Jan 2003 06:33:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872592#M98921</guid>
      <dc:creator>Chern Jian Leaw</dc:creator>
      <dc:date>2003-01-02T06:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling passwd for SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872593#M98922</link>
      <description>Srinivasan&lt;BR /&gt;&lt;BR /&gt;Could you provide the procedure on how to have the keys for each user created with ssh-keygen?&lt;BR /&gt;&lt;BR /&gt;This is because I have about 100 client machines with F-secure version of SSH installed.&lt;BR /&gt;&lt;BR /&gt;Appreciate it if you could show the procedure required.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 02 Jan 2003 06:38:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872593#M98922</guid>
      <dc:creator>Chern Jian Leaw</dc:creator>
      <dc:date>2003-01-02T06:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling passwd for SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872594#M98923</link>
      <description>Do you have F-Secure's SSH User's and Administrator's Guide?  There's a good section in it on using public-key authentication.&lt;BR /&gt;&lt;BR /&gt;Here's an overview of the steps you need to take:&lt;BR /&gt;&lt;BR /&gt;-Generate a key pair with ssh-keygen2 on the client system.&lt;BR /&gt;&lt;BR /&gt;-Create a file named "identification" in your $HOME/.ssh2 directory.  The file must contain a line with the name of the key you want to use.  Example:&lt;BR /&gt;IdKey id_dsa_1024_a&lt;BR /&gt;&lt;BR /&gt;-Copy your public key to the remote host and place it in your $HOME/.ssh2 directory&lt;BR /&gt;&lt;BR /&gt;-On the remote host, create a file named "authorization" in you $HOME/.ssh2 directory.  It must contain a line with the name of the public key that matches what you specified on the client.  Example:&lt;BR /&gt;Key id_dsa_1024_a.pub&lt;BR /&gt;This file is case sensitive so "Key" must have a capitol "K".&lt;BR /&gt;&lt;BR /&gt;The above process must be done for each user.  You may want to use a unique name for your keys.  I like the format:  user@host&lt;BR /&gt;&lt;BR /&gt;Be sure you uncomment the following in the client's ssh2_config and the server's sshd2_config:&lt;BR /&gt;AllowedAuthentications publickey, password&lt;BR /&gt;That allows users to ssh with a key or a password.&lt;BR /&gt;&lt;BR /&gt;When using keys, you have 2 methods for ssh'ing without the requirement of specifying a password or a passphrase.  The first method is to specify a null passphrase.  Do this with "ssh-keygen2 -P".  This is not the most secure method because if you private key is stolen, whoever has it can ssh in.&lt;BR /&gt;&lt;BR /&gt;The more secure method is to generate the key with a passphrase and then utilize ssh-agent2 and ssh-add2.  ssh-agent2 should be executed on the client system before you attempt to ssh to the server.  Then you run ssh-add2 to input the passphrase for the key you are using.&lt;BR /&gt;&lt;BR /&gt;You really should read the User's and Administrator's Guide.  Hopefully what I've written is enough to get you started but there's much more in the manual.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 02 Jan 2003 15:39:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872594#M98923</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2003-01-02T15:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling passwd for SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872595#M98924</link>
      <description>I have attached a MS Word document that I send to all users so that they may enable SSH for their own accounts.  The executive brief is that the key for each remote host has to be in the ~/.ssh/authorized_keys file.  The permissions on this file and various directories have to be exact, so look at this document for details.  Write if you have any questions.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Thu, 02 Jan 2003 17:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872595#M98924</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-01-02T17:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling passwd for SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872596#M98925</link>
      <description>Hi Chern,&lt;BR /&gt;  Sorry i was off yesterday. so could'nt reply u soon. &lt;BR /&gt;Cheril gave you a good reference. you can use that. &lt;BR /&gt;&lt;BR /&gt;But as you have 100 client machines, I'll check for the procedures of using ssh_known_hosts method. Do you have all the users id's same in all the machines?.&lt;BR /&gt;&lt;BR /&gt;Srini.&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Jan 2003 04:40:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872596#M98925</guid>
      <dc:creator>avsrini</dc:creator>
      <dc:date>2003-01-03T04:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling passwd for SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872597#M98926</link>
      <description>Hi &lt;BR /&gt;Frist u can genreate a ssk public key&lt;BR /&gt;&lt;BR /&gt;#ssh-keygen -tdsa&lt;BR /&gt;than copy public key into server with login name which u want to login&lt;BR /&gt;&lt;BR /&gt;#scp /.ssh/id_dsa.pub loginname@&lt;SERVERNAME&gt;:/tmp&lt;OR any="" directory="" u="" want=""&gt;&lt;BR /&gt;&lt;BR /&gt;#ssh loginname@&lt;SERVERNAME&gt;&amp;gt;/home/&lt;USERNAME&gt;/.ssh/authorized_keys2"&lt;BR /&gt;&lt;BR /&gt;afther this u will be able to connect with ssh witout a password&lt;BR /&gt;&lt;BR /&gt;&lt;/USERNAME&gt;&lt;/SERVERNAME&gt;&lt;/OR&gt;&lt;/SERVERNAME&gt;</description>
      <pubDate>Fri, 03 Jan 2003 07:49:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-passwd-for-ssh/m-p/2872597#M98926</guid>
      <dc:creator>Ajay Tyagi</dc:creator>
      <dc:date>2003-01-03T07:49:57Z</dc:date>
    </item>
  </channel>
</rss>

