<?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: sshd - connection between client &amp;amp; server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898879#M403677</link>
    <description>Create a key...&lt;BR /&gt;Make sure it works!&lt;BR /&gt;&lt;BR /&gt;Then go itu your sshd_config on the server (/opt/ssh/etc/sshd_config) and cahnge:&lt;BR /&gt;&lt;BR /&gt;#PasswordAuthentication yes&lt;BR /&gt;to&lt;BR /&gt;PasswordAuthentication no&lt;BR /&gt;&lt;BR /&gt;Remember to restart you sshd service after the change :-)</description>
    <pubDate>Fri, 29 Apr 2005 04:04:50 GMT</pubDate>
    <dc:creator>Jannik</dc:creator>
    <dc:date>2005-04-29T04:04:50Z</dc:date>
    <item>
      <title>sshd - connection between client &amp; server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898878#M403676</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have Secure Shell version A.03.91.002 installed on my HP-UX 11.00 workstation. &lt;BR /&gt;&lt;BR /&gt;I would like to configure the sshd in a matter that ONLY a client (e.g: Windows client with putty or Secure Net Term) with a private/certain key will be able to connect and recieve a prompt for a login.&lt;BR /&gt;&lt;BR /&gt;Eventually to achieve a goal of which effect that clients with no such key will be denied and won't even recieve a prompt for login at all!!!&lt;BR /&gt;&lt;BR /&gt;Please help, it's quite urgent.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Tal.</description>
      <pubDate>Fri, 29 Apr 2005 03:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898878#M403676</guid>
      <dc:creator>Tal Drigov_2</dc:creator>
      <dc:date>2005-04-29T03:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: sshd - connection between client &amp; server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898879#M403677</link>
      <description>Create a key...&lt;BR /&gt;Make sure it works!&lt;BR /&gt;&lt;BR /&gt;Then go itu your sshd_config on the server (/opt/ssh/etc/sshd_config) and cahnge:&lt;BR /&gt;&lt;BR /&gt;#PasswordAuthentication yes&lt;BR /&gt;to&lt;BR /&gt;PasswordAuthentication no&lt;BR /&gt;&lt;BR /&gt;Remember to restart you sshd service after the change :-)</description>
      <pubDate>Fri, 29 Apr 2005 04:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898879#M403677</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2005-04-29T04:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: sshd - connection between client &amp; server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898880#M403678</link>
      <description>There are couple of ways to do that.&lt;BR /&gt;1. Run sshd as a service through inetd.conf (you will have to use -i option to sshd)&lt;BR /&gt;&lt;BR /&gt;Then allow certain ip addresses to connect in /var/adm/inetd.sec file.  Something as follows.&lt;BR /&gt;sshd allow ip_address1, ip_address2&lt;BR /&gt;&lt;BR /&gt;2. The hp ssh comes with built in tcp wrappers. so prepare /etc/hosts deny file. (somethign as follows.)&lt;BR /&gt;&lt;BR /&gt;sshd : ip_address1, ip_address2&lt;BR /&gt;&lt;BR /&gt;Restart sshd.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 29 Apr 2005 04:53:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898880#M403678</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-04-29T04:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: sshd - connection between client &amp; server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898881#M403679</link>
      <description>Another option to keep it simple is to edit the /opt/ssh/etc/sshd_config file and add the line "AllowUsers username@windowshost" then restart sshd. This will accomplish what you need. The only allowed logins would be those listed in the  AllowedUsers line of the sshd_config file. Wildcards are permitted.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Fri, 29 Apr 2005 05:03:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898881#M403679</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-04-29T05:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: sshd - connection between client &amp; server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898882#M403680</link>
      <description>Jannik,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;How do I create a key ?&lt;BR /&gt;ssh-keygen ?&lt;BR /&gt;&lt;BR /&gt;Tal.</description>
      <pubDate>Fri, 29 Apr 2005 08:40:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898882#M403680</guid>
      <dc:creator>Tal Drigov_2</dc:creator>
      <dc:date>2005-04-29T08:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: sshd - connection between client &amp; server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898883#M403681</link>
      <description>The best way to do that is to use TCPWrapper. after installing tcpwrapper you just have to set permissions in /etc/host.allow /etc/host.deny&lt;BR /&gt;your host.allow should look like that:&lt;BR /&gt;&lt;BR /&gt;SSHD: &lt;IP authorized=""&gt;&lt;BR /&gt;&lt;BR /&gt;to create key use ssh-keygen -t dsa if you want to logging without password prompt then just type enter when prompted for passphrase. Also after creating the key on the client you must copy the public key in the .shh/authorized_key2 of the user home directory that you want to be able to log in.&lt;/IP&gt;</description>
      <pubDate>Fri, 29 Apr 2005 09:06:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898883#M403681</guid>
      <dc:creator>Rouchon_2</dc:creator>
      <dc:date>2005-04-29T09:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: sshd - connection between client &amp; server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898884#M403682</link>
      <description>Thanks for the advises but I would like to do something else.&lt;BR /&gt;&lt;BR /&gt;I would like only the host &amp;amp; the client to have a key, which means, a client that does NOT have a private key won't be able to even login....</description>
      <pubDate>Fri, 29 Apr 2005 09:29:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898884#M403682</guid>
      <dc:creator>Tal Drigov_2</dc:creator>
      <dc:date>2005-04-29T09:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: sshd - connection between client &amp; server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898885#M403683</link>
      <description>Tal,&lt;BR /&gt;&lt;BR /&gt;Here's one way I would do it.&lt;BR /&gt;&lt;BR /&gt;1) setup the public/private key pair for the windows client (not sure how to do this on your windows client, but it's ssh-keygen on unix). Put the public key in the ~/.ssh/authorized_keys file on the hp-ux box.&lt;BR /&gt;&lt;BR /&gt;2) setup sshd_config to only allow PublicKey Authentication type.&lt;BR /&gt;3) use "AllowUsers username@client" in the sshd_config&lt;BR /&gt;4) restart sshd&lt;BR /&gt;5) test login from allowed host using keys, then test from a host isn't allowed (should get permission denied)&lt;BR /&gt;&lt;BR /&gt;If you deny all authentication except for PubKey, then anyone w/out the correct identiy file will get "permission denied" when they try to connect. Using the "AllowUsers" list further restricts the setup in the event that your pubkey were used form another host.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Fri, 29 Apr 2005 10:22:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898885#M403683</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-04-29T10:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: sshd - connection between client &amp; server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898886#M403684</link>
      <description>I couldn't exchange keys in such matter that only the server and the client will be able to connect.&lt;BR /&gt;&lt;BR /&gt;So I have to go with AllowUser function instead.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Apr 2005 15:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-connection-between-client-amp-server/m-p/4898886#M403684</guid>
      <dc:creator>Tal Drigov_2</dc:creator>
      <dc:date>2005-04-29T15:46:47Z</dc:date>
    </item>
  </channel>
</rss>

