<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.uabgrid.uab.edu/w/index.php?action=history&amp;feed=atom&amp;title=MatLab_SSH_Config</id>
	<title>MatLab SSH Config - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.uabgrid.uab.edu/w/index.php?action=history&amp;feed=atom&amp;title=MatLab_SSH_Config"/>
	<link rel="alternate" type="text/html" href="https://docs.uabgrid.uab.edu/w/index.php?title=MatLab_SSH_Config&amp;action=history"/>
	<updated>2026-04-06T04:50:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://docs.uabgrid.uab.edu/w/index.php?title=MatLab_SSH_Config&amp;diff=5456&amp;oldid=prev</id>
		<title>Bhickson@uab.edu: /* Linux */</title>
		<link rel="alternate" type="text/html" href="https://docs.uabgrid.uab.edu/w/index.php?title=MatLab_SSH_Config&amp;diff=5456&amp;oldid=prev"/>
		<updated>2016-11-16T16:13:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Linux&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:13, 16 November 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l103&quot;&gt;Line 103:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 103:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Copy the public key to cheaha (change USERID to your cheaha login id). You will be prompted for your cheaha password.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Copy the public key to cheaha (change USERID to your cheaha login id). You will be prompted for your cheaha password.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ ssh-copy-id -i $HOME/.ssh/id_rsa.pub USERID@cheaha.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uabgrid&lt;/del&gt;.uab.edu&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ ssh-copy-id -i $HOME/.ssh/id_rsa.pub USERID@cheaha.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rc&lt;/ins&gt;.uab.edu&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Add your cheaha's userid to your local .ssh/config. (open up in an editor - vi/emacs/geanie)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Add your cheaha's userid to your local .ssh/config. (open up in an editor - vi/emacs/geanie)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Host *&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uabgrid&lt;/del&gt;.uab.edu&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Host *&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rc&lt;/ins&gt;.uab.edu&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    user=&amp;lt;your-user-id&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    user=&amp;lt;your-user-id&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l119&quot;&gt;Line 119:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 119:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now test that you can connect to cheaha without entering a password (again change USERID to your login name)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now test that you can connect to cheaha without entering a password (again change USERID to your login name)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ ssh USERID@&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cheaha&lt;/del&gt;.uabgrid.uab.edu uptime&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ ssh USERID@&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rc&lt;/ins&gt;.uabgrid.uab.edu uptime&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  15:34:10 up 9 days,  5:11, 14 users,  load average: 0.25, 0.34, 0.50&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  15:34:10 up 9 days,  5:11, 14 users,  load average: 0.25, 0.34, 0.50&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bhickson@uab.edu</name></author>
	</entry>
	<entry>
		<id>https://docs.uabgrid.uab.edu/w/index.php?title=MatLab_SSH_Config&amp;diff=5455&amp;oldid=prev</id>
		<title>Bhickson@uab.edu: /* Mac */</title>
		<link rel="alternate" type="text/html" href="https://docs.uabgrid.uab.edu/w/index.php?title=MatLab_SSH_Config&amp;diff=5455&amp;oldid=prev"/>
		<updated>2016-11-16T16:13:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Mac&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:13, 16 November 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l127&quot;&gt;Line 127:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 127:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Steps for Mac are same as for Linux, except that, on MacOSX '''ssh-copy-id'''  command is not included. So, append the RSA-key from Mac desktop to Cheaha, using the following command:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Steps for Mac are same as for Linux, except that, on MacOSX '''ssh-copy-id'''  command is not included. So, append the RSA-key from Mac desktop to Cheaha, using the following command:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;cat $HOME/.ssh/id_rsa.pub | ssh USERID@cheaha.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uabgrid&lt;/del&gt;.uab.edu &amp;quot;cat &amp;gt;&amp;gt; ~/.ssh/authorized_keys&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;cat $HOME/.ssh/id_rsa.pub | ssh USERID@cheaha.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rc&lt;/ins&gt;.uab.edu &amp;quot;cat &amp;gt;&amp;gt; ~/.ssh/authorized_keys&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NOTE: There is already a key in the authorized_keys file on Cheaha, by mistake if you delete or overwrite that you will have problems submitting jobs on Cheaha. So make sure you follow the above instructions correctly.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NOTE: There is already a key in the authorized_keys file on Cheaha, by mistake if you delete or overwrite that you will have problems submitting jobs on Cheaha. So make sure you follow the above instructions correctly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bhickson@uab.edu</name></author>
	</entry>
	<entry>
		<id>https://docs.uabgrid.uab.edu/w/index.php?title=MatLab_SSH_Config&amp;diff=3047&amp;oldid=prev</id>
		<title>Jpr@uab.edu: Original content from MatLab_DCS for configuring SSH for earlier versions</title>
		<link rel="alternate" type="text/html" href="https://docs.uabgrid.uab.edu/w/index.php?title=MatLab_SSH_Config&amp;diff=3047&amp;oldid=prev"/>
		<updated>2011-09-06T20:05:03Z</updated>

		<summary type="html">&lt;p&gt;Original content from &lt;a href=&quot;/wiki/MatLab_DCS&quot; class=&quot;mw-redirect&quot; title=&quot;MatLab DCS&quot;&gt;MatLab_DCS&lt;/a&gt; for configuring SSH for earlier versions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;SSH configuration for early versions of MatLab. Originally content found on [[MatLab_DCS]]&lt;br /&gt;
&lt;br /&gt;
== SSH Keys ==&lt;br /&gt;
The MATLAB Parallel Computing Toolbox uses SSH authentication via public-private key-pair to connect to the MATLAB Distributed Computing Server on the cluster head node.&lt;br /&gt;
&lt;br /&gt;
The process of configuring SSH keys differs depending on your client operating system. Linux and Mac should already have the appropriate SSH client software installed, Windows will require the installation of [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY].&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
This section documents the steps to install and configure PuTTY on Windows computers. This software provides the utilities that MATLAB uses to communicate with the head node.&lt;br /&gt;
&lt;br /&gt;
==== PuTTY ====&lt;br /&gt;
If [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY] is installed, skip to the next section &amp;quot;Generate an SSH Key Pair&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY] isn't already installed on your system, download and run [http://the.earth.li/~sgtatham/putty/latest/x86/putty-0.60-installer.exe the PuTTY installer] to install PuTTY using the graphical installation tool.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can download the individual components to a directory of your choosing. This install approach does not require Windows Administrator privileges:&lt;br /&gt;
* [http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe putty.exe]&lt;br /&gt;
* [http://the.earth.li/~sgtatham/putty/latest/x86/plink.exe plink.exe]&lt;br /&gt;
* [http://the.earth.li/~sgtatham/putty/latest/x86/pageant.exe pageant.exe]&lt;br /&gt;
* [http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe puttygen.exe]&lt;br /&gt;
* [http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe pscp.exe] &lt;br /&gt;
* [http://the.earth.li/~sgtatham/putty/latest/x86/psftp.exe psftp.exe]&lt;br /&gt;
&lt;br /&gt;
'''NOTE: ''' Using the individual component install approach requires that you add the installation directory to your '''PATH'''. See this [http://support.microsoft.com/kb/310519 Microsoft Support] page for details on altering the PATH environment variable.&lt;br /&gt;
&lt;br /&gt;
===== Generate an SSH Key Pair =====&lt;br /&gt;
&lt;br /&gt;
Generate a public-private key pair by running the puttygen command.&lt;br /&gt;
&lt;br /&gt;
Start PuTTYgen by either:&lt;br /&gt;
* Clicking Start -&amp;gt; All Programs -&amp;gt; PuTTY --&amp;gt; PuTTYgen&lt;br /&gt;
* Opening Windows Explorer / My Computer, browse to the PuTTY directory and double click 'puttygen'&lt;br /&gt;
&lt;br /&gt;
This will bring up a window to manage your key pair.&lt;br /&gt;
&lt;br /&gt;
[[Image:puttygen-window.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Press the &amp;quot;Generate&amp;quot; button to start the process.  You will be requested to move your mouse around in the blank are of that window to help generate a good random number.  The progress bar will fill in as you do so letting you know when the process is complete.  Once complete, the PuTTY Gen window will display your public key and offer you various options to work with that key.  &lt;br /&gt;
&lt;br /&gt;
[[Image:puttygen-savekey2.png|400px]]&lt;br /&gt;
&lt;br /&gt;
# Change the &amp;quot;Key Comment&amp;quot; to your Windows host name (run 'hostname' at the command prompt to discover the name of your Windows system)&lt;br /&gt;
# Set a passphrase for your private key, filling in both the &amp;quot;Key passphrase&amp;quot; and &amp;quot;Confirm passphrase&amp;quot; text boxes with the same passphrase.  The passphrase is a '''local''' password for this private key.  It doesn't have anything to do with any other passwords.  It is strictly about protecting the private key that you just generated. Please refer to the UAB IT page for instructions on [http://main.uab.edu/Sites/it/faqs/49118/ creating a strong password]. You need to remember this passphrase because you will be prompted for it whenever you use this key-pair.&lt;br /&gt;
# Press the &amp;quot;Save private key&amp;quot; button. The save button, will by default save the private key to your &amp;quot;My Documents&amp;quot; folder.  This is fine, and you can give any file name you like.  Just remember the name and where you saved it, so you can load it in the next steps.  &lt;br /&gt;
# Keep your PuTTY Key Generator window open so we can use below when we register you public key with the SSH server.&lt;br /&gt;
#'''Remember your passphrase.'''&lt;br /&gt;
&lt;br /&gt;
===== Create a Session Definition =====&lt;br /&gt;
&lt;br /&gt;
The PuTTY tools that MATLAB Parallel Computing Toolbox leverages are configured by creating &amp;quot;Saved Sessions&amp;quot; PuTTY.&lt;br /&gt;
&lt;br /&gt;
To create a PuTTY session for cheaha.uabgrid.uab.edu, follow these steps.&lt;br /&gt;
&lt;br /&gt;
Start PuTTY by either:&lt;br /&gt;
* Clicking Start -&amp;gt; All Programs -&amp;gt; PuTTY --&amp;gt; PuTTY&lt;br /&gt;
* Opening Windows Explorer / My Computer, browse to the PuTTY directory and double click 'putty'&lt;br /&gt;
&lt;br /&gt;
# This brings up the following dialog that has a collection of configuration categories in the &amp;quot;Category:&amp;quot; window on the left, and a context sensitive set of actions on the right.  That is, if you change the category on the left you will change what you see on the right. The default category that you see is the Session, which is the main focus of our work here. &amp;lt;br&amp;gt;[[Image:putty-session-dialog.png|400px]]&lt;br /&gt;
# In the default &amp;quot;Session&amp;quot; category, fill in the &amp;quot;Host Name (or IP address)&amp;quot; text box with &amp;quot;cheaha.uabgrid.uab.edu&amp;quot;, and fill in the &amp;quot;Saved Sessions&amp;quot; text box with &amp;quot;cheaha.uabgrid.uab.edu&amp;quot;.  Press the &amp;quot;Save&amp;quot; button &amp;lt;br&amp;gt;[[Image:putty-session-dialog-filled-cheaha.png|400px]]&lt;br /&gt;
# Select the &amp;quot;Data&amp;quot; sub-category under the &amp;quot;Connection&amp;quot; category from the left-side Category browser.  Fill in the &amp;quot;Auto-login username&amp;quot; text box with the username for your account on cheaha.&lt;br /&gt;
# Select the &amp;quot;Session&amp;quot; category, and press &amp;quot;Save&amp;quot; again.  You now have a saved session ready for use.&lt;br /&gt;
# Press the &amp;quot;Open&amp;quot; button at the bottom on the dialog. This will bring up a login window with a login prompt for your password.  Provide your cheaha password to login.  Keep this session open, as you will use it in the next section.&lt;br /&gt;
&lt;br /&gt;
===== Register Your Public Key =====&lt;br /&gt;
&lt;br /&gt;
In order to use your public-private key-pair to start an SSH session, you need to register you public key with cheaha by adding your public key to the list of authorized keys for that SSH server. &lt;br /&gt;
&lt;br /&gt;
# Use the SSH connection established in the previous step&lt;br /&gt;
# In the PuTTYgen window text area labeled &amp;quot;Public key for pasting into OpeSSH authorized_keys file:&amp;quot;, select the public key by right clicking the key and clicking &amp;quot;Select All&amp;quot;. Copy the key by right clicking again and selecting &amp;quot;Copy&amp;quot;&lt;br /&gt;
# In the SSH session window, enter the command &amp;lt;pre&amp;gt;vi $HOME/.ssh/authorized_keys&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Press the '''SHIFT''' and '''o''' keys (in other words, a capital letter O), and the press your '''right''' mouse button over this window. This will paste your public key onto a new line.  Press the '''Escape''' (Esc) key, press the key sequence colon-w-q-enter (:wq Enter)&lt;br /&gt;
# Fix the file permissions using the command &amp;lt;pre&amp;gt;chmod u=rw $HOME/.ssh/authorized_keys&amp;lt;/pre&amp;gt;&lt;br /&gt;
# End the session. Type the command &amp;lt;pre&amp;gt;exit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can close the PuTTY Configuration and PuTTY Key Generator windows now if you haven't already done so.&lt;br /&gt;
&lt;br /&gt;
===== Load Your Private Key =====&lt;br /&gt;
&lt;br /&gt;
Loading your private key is the first step you will take prior to using MATLAB to submit jobs to cheaha.  This step essentially activates your key so that all PuTTY-based tools can use it in their operations.&lt;br /&gt;
&lt;br /&gt;
Start PuTTYagent by either:&lt;br /&gt;
* Clicking Start -&amp;gt; All Programs -&amp;gt; PuTTY --&amp;gt; PuTTYagent&lt;br /&gt;
* Opening Windows Explorer / My Computer, browse to the PuTTY directory and double click 'pagent'&lt;br /&gt;
&lt;br /&gt;
This will place the &amp;quot;Pageant&amp;quot; icon (a computer wearing a tilted hat: [[Image:pageant-icon.png]]) in you shortcuts toolbar in the lower-right of our screen.&lt;br /&gt;
# Click on the icon to bring up the Pageant Key List dialog &amp;lt;br&amp;gt; [[Image:pageant-dialog.png|300px]]&lt;br /&gt;
# Press the &amp;quot;Add Key&amp;quot; button.  From the file dialog, select the private key created above (in My Documents by default)&lt;br /&gt;
# Press &amp;quot;Open&amp;quot; on the file dialog, you will be prompted for the passphrase to load your private key. Enter in the passphrase and click OK&lt;br /&gt;
&lt;br /&gt;
The private key should now be loaded and ready for use with all PuTTY-based tools. Click the close button to minimize PuTTYagent.&lt;br /&gt;
&lt;br /&gt;
Warning: While Pagent is running and has your private key loaded, anyone else using your computer can access your account on Cheaha. Please LOCK your workstation when unattended!&lt;br /&gt;
&lt;br /&gt;
You are now ready to begin using the MATLAB Parallel Computing Toolbox.&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
If you don't already have an RSA key-pair generated for your user account on your workstation, do so by running the following command (choose a good passphrase)&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ssh-keygen -t rsa&lt;br /&gt;
&lt;br /&gt;
Enter file in which to save the key (~/.ssh/id_rsa): &lt;br /&gt;
Enter passphrase (empty for no passphrase): &lt;br /&gt;
Enter same passphrase again: &amp;lt;/pre&amp;gt;&lt;br /&gt;
Copy the public key to cheaha (change USERID to your cheaha login id). You will be prompted for your cheaha password.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ssh-copy-id -i $HOME/.ssh/id_rsa.pub USERID@cheaha.uabgrid.uab.edu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add your cheaha's userid to your local .ssh/config. (open up in an editor - vi/emacs/geanie)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Host *uabgrid.uab.edu&lt;br /&gt;
   user=&amp;lt;your-user-id&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Run ssh-agent to load the key on your Linux workstation&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ssh-agent&lt;br /&gt;
Enter passphrase for ~/.ssh/id_rsa: &lt;br /&gt;
Identity added: ~/.ssh/id_rsa (~/.ssh/id_rsa)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now test that you can connect to cheaha without entering a password (again change USERID to your login name)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ssh USERID@cheaha.uabgrid.uab.edu uptime&lt;br /&gt;
&lt;br /&gt;
 15:34:10 up 9 days,  5:11, 14 users,  load average: 0.25, 0.34, 0.50&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mac ===&lt;br /&gt;
Steps for Mac are same as for Linux, except that, on MacOSX '''ssh-copy-id'''  command is not included. So, append the RSA-key from Mac desktop to Cheaha, using the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat $HOME/.ssh/id_rsa.pub | ssh USERID@cheaha.uabgrid.uab.edu &amp;quot;cat &amp;gt;&amp;gt; ~/.ssh/authorized_keys&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: There is already a key in the authorized_keys file on Cheaha, by mistake if you delete or overwrite that you will have problems submitting jobs on Cheaha. So make sure you follow the above instructions correctly.&lt;/div&gt;</summary>
		<author><name>Jpr@uab.edu</name></author>
	</entry>
</feed>