<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Using ssh keys to login</title>
  <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_thread?p_l_id=&amp;threadId=591159" />
  <subtitle>Using ssh keys to login</subtitle>
  <entry>
    <title>RE: Using ssh keys to login</title>
    <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=618888" />
    <author>
      <name>Yaakoub Youssef El Khamra</name>
    </author>
    <id>https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=618888</id>
    <updated>2013-11-06T16:21:44Z</updated>
    <published>2013-11-06T16:21:44Z</published>
    <summary type="html">I can recommend the use of an ssh-agent, it helps tremendously. Also for large file transfers I will also recommend globus online.&lt;br /&gt;&lt;br /&gt;A quick google search for ssh-agent how to:&lt;br /&gt;http://superuser.com/questions/8077/how-do-i-set-up-ssh-so-i-dont-have-to-type-my-password&lt;br /&gt;&lt;br /&gt;And globus online:&lt;br /&gt;https://www.globusonline.org/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Yaakoub</summary>
    <dc:creator>Yaakoub Youssef El Khamra</dc:creator>
    <dc:date>2013-11-06T16:21:44Z</dc:date>
  </entry>
  <entry>
    <title>RE: Using ssh keys to login</title>
    <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=618870" />
    <author>
      <name>David LeBauer</name>
    </author>
    <id>https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=618870</id>
    <updated>2013-11-06T16:16:39Z</updated>
    <published>2013-11-06T16:16:39Z</published>
    <summary type="html">Hi Yaakoub,&lt;br /&gt;&lt;br /&gt;Thanks for the suggestions and for identifying a security concern!&lt;br /&gt;&lt;br /&gt;But doesn&amp;#039;t using a passphrase require the user to enter the passphrase each time a connection is opened? One of the primary reasons that I use sshkeys is to automate scripts that move files, launch jobs, etc, from my local machine (plus it makes login faster). &lt;br /&gt;&lt;br /&gt;What would be the recommended way to scp within a program without having to either enter a password, or hardcoding the password in the source code?&lt;br /&gt;&lt;br /&gt;I enter a password to login to my local machine; isn&amp;#039;t that sufficient?</summary>
    <dc:creator>David LeBauer</dc:creator>
    <dc:date>2013-11-06T16:16:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: Using ssh keys to login</title>
    <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=618846" />
    <author>
      <name>Yaakoub Youssef El Khamra</name>
    </author>
    <id>https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=618846</id>
    <updated>2013-11-06T15:57:49Z</updated>
    <published>2013-11-06T15:57:49Z</published>
    <summary type="html">Regarding the script: watch out. You are setting an empty pass phrase on line 26.&lt;br /&gt;&lt;br /&gt;# create ssh key and add to config file&lt;br /&gt;if [ ! -e ~/.ssh/${SERVER} ]; then&lt;br /&gt;  ssh-keygen -q -t rsa -N &amp;#034;&amp;#034; -f ~/.ssh/${SERVER}&lt;br /&gt;&lt;br /&gt;This is great way to make compromising your account very easy. &lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Yaakoub</summary>
    <dc:creator>Yaakoub Youssef El Khamra</dc:creator>
    <dc:date>2013-11-06T15:57:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Using ssh keys to login</title>
    <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=618834" />
    <author>
      <name>Yaakoub Youssef El Khamra</name>
    </author>
    <id>https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=618834</id>
    <updated>2013-11-06T15:53:01Z</updated>
    <published>2013-11-06T15:53:01Z</published>
    <summary type="html">I strongly suggest you copy your key to authorized_keys2 instead of authorized_keys to avoid any mpi_spawn errors. Standard security precautions apply: use a strong password for your key, keep it somewhere safe, make sure permissions are locked down etc... &lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Yaakoub</summary>
    <dc:creator>Yaakoub Youssef El Khamra</dc:creator>
    <dc:date>2013-11-06T15:53:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: Using ssh keys to login</title>
    <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=618674" />
    <author>
      <name>David LeBauer</name>
    </author>
    <id>https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=618674</id>
    <updated>2013-11-06T04:55:11Z</updated>
    <published>2013-11-06T04:55:11Z</published>
    <summary type="html">This script: works for me: https://github.com/PecanProject/pecan/blob/master/scripts/sshkey.sh</summary>
    <dc:creator>David LeBauer</dc:creator>
    <dc:date>2013-11-06T04:55:11Z</dc:date>
  </entry>
  <entry>
    <title>Using ssh keys to login</title>
    <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=591158" />
    <author>
      <name>Edmund Highcock</name>
    </author>
    <id>https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=591158</id>
    <updated>2013-09-12T09:03:54Z</updated>
    <published>2013-09-12T09:03:54Z</published>
    <summary type="html">Is this possible to login using ssh keys or has this been disabled? I have copied my dsa public key to authorized_keys, but I am still being asked for my password.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Edmund</summary>
    <dc:creator>Edmund Highcock</dc:creator>
    <dc:date>2013-09-12T09:03:54Z</dc:date>
  </entry>
</feed>

