<?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/3666332#M20480</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;you can overwrite the actual username with the option "-u" for ssh. If you are logged in with uat, and you want to connect a remote maschine with the login name "guest", use the command&lt;BR /&gt;&lt;BR /&gt;ssh -u guest&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Patrick</description>
    <pubDate>Tue, 08 Nov 2005 01:43:18 GMT</pubDate>
    <dc:creator>Patrick Terlisten</dc:creator>
    <dc:date>2005-11-08T01:43:18Z</dc:date>
    <item>
      <title>ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666330#M20478</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a normal a/c called uat, and need to access a remote system machine called  guest@machine1.  They gave me a key and I have put into uat 's HOME under .ssh.   &lt;BR /&gt;&lt;BR /&gt;1. Let's say I am the client.  Should I rename the given key as id_rsa or id_dsa or authorized_keys ? I am confused.&lt;BR /&gt;&lt;BR /&gt;2. Since I am using an a/c called 'uat', but I want to sftp some files from there using 'guest' a/c.   How can it be password less ? &lt;BR /&gt;&lt;BR /&gt;THank you very much.</description>
      <pubDate>Mon, 07 Nov 2005 22:42:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666330#M20478</guid>
      <dc:creator>ITSD-ACCS</dc:creator>
      <dc:date>2005-11-07T22:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666331#M20479</link>
      <description>Hi, &lt;BR /&gt;   you must have same users on both the servers to have password-less authentication, ie using public keys. Also, you must rename the public key of the client as authorised_keys on the server machine.&lt;BR /&gt;&lt;BR /&gt;Refer the following doc for setting up public key authentication between two unix machines.</description>
      <pubDate>Mon, 07 Nov 2005 23:01:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666331#M20479</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2005-11-07T23:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666332#M20480</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;you can overwrite the actual username with the option "-u" for ssh. If you are logged in with uat, and you want to connect a remote maschine with the login name "guest", use the command&lt;BR /&gt;&lt;BR /&gt;ssh -u guest&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Patrick</description>
      <pubDate>Tue, 08 Nov 2005 01:43:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666332#M20480</guid>
      <dc:creator>Patrick Terlisten</dc:creator>
      <dc:date>2005-11-08T01:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666333#M20481</link>
      <description>There is no -u option.  I used -l.  The point is, I want to do &lt;BR /&gt;&lt;BR /&gt;Client          Server&lt;BR /&gt;machine 1 ---&amp;gt; machine 2&lt;BR /&gt;(a/c : uat)   (a/c: guest)&lt;BR /&gt;&lt;BR /&gt;Now, I have a key generated from machine2, and have it pasted in /.ssh/authorized_keys in machine1.   What else do I need to make it passwordless ?</description>
      <pubDate>Tue, 08 Nov 2005 01:52:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666333#M20481</guid>
      <dc:creator>ITSD-ACCS</dc:creator>
      <dc:date>2005-11-08T01:52: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/3666334#M20482</link>
      <description>generaly that's it.&lt;BR /&gt;&lt;BR /&gt;append the content of $HOME/.ssh/id_dsa.pub file to remotehost:/home/desired_user's_homedir/.ssh/authorized_keys file&lt;BR /&gt;and that's it you should be able to login as the desired_user without password on remotehost.&lt;BR /&gt;also make sure you have the correct permissions set on .ssh/*&lt;BR /&gt;id_dsa shoud have 600 &lt;BR /&gt;all other files in .ssh can be 644</description>
      <pubDate>Tue, 08 Nov 2005 02:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666334#M20482</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2005-11-08T02:11: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/3666335#M20483</link>
      <description>To be specify, you mean gen key in the client and then have it pasted in server's authorized_keys ? Even if different user ?</description>
      <pubDate>Tue, 08 Nov 2005 03:14:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666335#M20483</guid>
      <dc:creator>ITSD-ACCS</dc:creator>
      <dc:date>2005-11-08T03:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666336#M20484</link>
      <description>if you place/append the content of your user's .ssh/id_dsa.pub in .ssh/autorized_keys  of any user on remote system (let's call him test1),then you'll be able to ssh/sftp from your user to test1 on remote system.&lt;BR /&gt;Thus&lt;BR /&gt;ssh -l test1 remotesystem will login without password</description>
      <pubDate>Tue, 08 Nov 2005 03:29:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666336#M20484</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2005-11-08T03:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666337#M20485</link>
      <description>Hi,&lt;BR /&gt; Create the ssh keys on the client, copy the id_rsa.pub to the guest home directory on the server, ie /home/guest/.ssh. Then execute these commands,&lt;BR /&gt;&lt;BR /&gt;#chmod 0700 /home/guest/.ssh&lt;BR /&gt;#mv /home/guest/.ssh/id_rsa.pub  /home/guest/.ssh/authorized_keys &lt;BR /&gt;#chmod 0600 /home/guest/.ssh/authorised_keys&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then execute from client machine&lt;BR /&gt;ssh guest@server&lt;BR /&gt;&lt;BR /&gt;This should work, otherwise, execute ssh command with debugging option as&lt;BR /&gt;#ssh --v guest@server and post the output.</description>
      <pubDate>Tue, 08 Nov 2005 03:54:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666337#M20485</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2005-11-08T03:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666338#M20486</link>
      <description>And also, plz assign points to the replies. This will help you to get replies soon.</description>
      <pubDate>Tue, 08 Nov 2005 03:56:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666338#M20486</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2005-11-08T03:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666339#M20487</link>
      <description>If you always want the uat account to use the guest account on machine2, you can specify&lt;BR /&gt;that as a default in ~uat/.ssh/config with&lt;BR /&gt;lines like-&lt;BR /&gt;&lt;BR /&gt;Host machine2&lt;BR /&gt;   User guest&lt;BR /&gt;&lt;BR /&gt;This is documented in "man ssh_config".</description>
      <pubDate>Wed, 09 Nov 2005 11:43:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666339#M20487</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2005-11-09T11:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: ssh without password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666340#M20488</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;mea maxima culpa. I mean "ssh -l", not "ssh -u". My fault.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Patrick</description>
      <pubDate>Wed, 09 Nov 2005 15:06:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-without-password/m-p/3666340#M20488</guid>
      <dc:creator>Patrick Terlisten</dc:creator>
      <dc:date>2005-11-09T15:06:51Z</dc:date>
    </item>
  </channel>
</rss>

