<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.kram.nz/index.php?action=history&amp;feed=atom&amp;title=SE250%3Aworking_from_home</id>
	<title>SE250:working from home - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kram.nz/index.php?action=history&amp;feed=atom&amp;title=SE250%3Aworking_from_home"/>
	<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:working_from_home&amp;action=history"/>
	<updated>2026-04-20T22:31:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.kram.nz/index.php?title=SE250:working_from_home&amp;diff=14855&amp;oldid=prev</id>
		<title>Mark at 23:33, 22 September 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:working_from_home&amp;diff=14855&amp;oldid=prev"/>
		<updated>2017-09-22T23:33:53Z</updated>

		<summary type="html">&lt;p&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-GB&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 23:33, 22 September 2017&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-l96&quot;&gt;Line 96:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 96:&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;The &amp;lt;source file&amp;gt; and &amp;lt;destination file&amp;gt; parameters must contain the directory route to the files, from your current directory and your home directory on the server, respectively. For example, to upload the file test.c from my current directory on my home computer to where i store my 250 files, i would use:&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;The &amp;lt;source file&amp;gt; and &amp;lt;destination file&amp;gt; parameters must contain the directory route to the files, from your current directory and your home directory on the server, respectively. For example, to upload the file test.c from my current directory on my home computer to where i store my 250 files, i would use:&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;scp test.c bvic005&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;@&lt;/del&gt;shell.ece.auckland.ac.nz:../echome/year2/250&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;scp test.c bvic005 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;AT &lt;/ins&gt;shell.ece.auckland.ac.nz:../echome/year2/250&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;div&gt;This will prompt for my password, and assuming it is entered correctly, the file will be uploaded.&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;This will prompt for my password, and assuming it is entered correctly, the file will be uploaded.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki-mw_:diff:1.41:old-9241:rev-14855:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.kram.nz/index.php?title=SE250:working_from_home&amp;diff=9241&amp;oldid=prev</id>
		<title>Mark: 6 revision(s)</title>
		<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:working_from_home&amp;diff=9241&amp;oldid=prev"/>
		<updated>2008-11-03T05:20:50Z</updated>

		<summary type="html">&lt;p&gt;6 revision(s)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;It is relatively easy to set up your home computer to be able to do the 250 work from home. Here are some quick tutorials that should help in getting rid of reliance on the uni computer labs.&lt;br /&gt;
&lt;br /&gt;
= Connecting to UoA via SSH =&lt;br /&gt;
You can connect to the university linux servers from home, much like you do in the uni labs. This allows you to compile and execute code on them, and access your uni data.&lt;br /&gt;
&lt;br /&gt;
== Windows SSH software ==&lt;br /&gt;
There are two main ways to get SSH functionality on windows. You can add openSSH to cygwin, which will be covered in the cygwin section, or you can download a standalone client. One of the best clients for windows is PuTTY, and its shell is often more useful than the standard cygwin bash shell, so i recommend you use it.&lt;br /&gt;
&lt;br /&gt;
=== PuTTY ===&lt;br /&gt;
To get PuTTY, download the windows installer [http://the.earth.li/~sgtatham/putty/latest/x86/putty-0.60-installer.exe here]&lt;br /&gt;
&lt;br /&gt;
Once it has downloaded, run the installer. All the standard options should work fine.&lt;br /&gt;
&lt;br /&gt;
Once PuTTY is installed, start it. It should bring up a dialog box. All you need to do in this is type in the server address(see section on uni linux servers), and click open. Note that you do not need to prefix the address with &amp;quot;&amp;lt;username&amp;gt;@&amp;quot;. Unlike some other ssh clients, Putty will prompt you for your username as well as your password.&lt;br /&gt;
&lt;br /&gt;
=== OpenSSH ===&lt;br /&gt;
After installing cygwin and openSSH, all you need to do to is open your cygwin bash shell, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh &amp;lt;username&amp;gt;@&amp;lt;server address&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The server will prompt for you for your password. Enter it, and press return.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
*The first time you connect to a server with a specific client, the client will ask you if you want to trust this server. Just accept this(assuming you are connecting to a server you trust).&lt;br /&gt;
&lt;br /&gt;
== Linux SSH Software ==&lt;br /&gt;
To use SSH on linux, start your favorite terminal/shell, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh &amp;lt;username&amp;gt;@&amp;lt;server address&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t have a ssh installed, your shell will complain. If it does so, then you will need to install it. There are many ways of doing this, but most systems have a package manager. Start this, and search for ssh.]&lt;br /&gt;
&lt;br /&gt;
If you have debian based linux, for example Ubuntu, you can most likely use apt to install it. Just run this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install ssh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that it is always a good idea when using apt to update your package lists and system first:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Uni Linux Servers ==&lt;br /&gt;
The linux server used in the labs is login.cs.auckland.ac.nz.&lt;br /&gt;
However, this seems to be horribly slow when being access from outside uni, so if you find this, try using shell.ece.auckalnd.ac.nz.&lt;br /&gt;
&lt;br /&gt;
== Finding Your Files ==&lt;br /&gt;
When you log into the linux server, it takes you to your unixhome drive(as linux is a unix system). However, most people have their files on the echome drive, as this is the one mounted when you log in on windows. To get to echome, type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ../echome&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, when navigating a linux machine with the command line, these commands are very useful:&lt;br /&gt;
&lt;br /&gt;
*To change your current directory, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd &amp;lt;directory&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can navigate through one directory at a time, by entering the directory, or string a series of directories together with the forward slash(not backslash, which is used in windows).&lt;br /&gt;
&lt;br /&gt;
eg:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd year2&lt;br /&gt;
cd 250&lt;br /&gt;
cd lab1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd year2/250/lab1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To see what is in your current directory, use the command &amp;quot;ls&amp;quot;. This will display files and folders.&lt;br /&gt;
&lt;br /&gt;
*To move &amp;quot;up&amp;quot; a directory, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ../&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To return to your home directory, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Uploading/Downloading Files ==&lt;br /&gt;
There are GUI interfaces for downloading and uploading files via ssh(or rather scp or sftp), but you can also do so via the comand line.&lt;br /&gt;
&lt;br /&gt;
The easiest method uses &amp;quot;scp&amp;quot;, which is the secure version of the cp, or copy, command. You must run these commands from a standard shell, not from within a ssh session. It does not matter if you have a current ssh session running in another shell, however.&lt;br /&gt;
&lt;br /&gt;
Upload a file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scp &amp;lt;source file&amp;gt; &amp;lt;username&amp;gt;@&amp;lt;server address&amp;gt;:&amp;lt;destination file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;source file&amp;gt; and &amp;lt;destination file&amp;gt; parameters must contain the directory route to the files, from your current directory and your home directory on the server, respectively. For example, to upload the file test.c from my current directory on my home computer to where i store my 250 files, i would use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scp test.c bvic005@shell.ece.auckland.ac.nz:../echome/year2/250&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will prompt for my password, and assuming it is entered correctly, the file will be uploaded.&lt;br /&gt;
&lt;br /&gt;
Downloading a file is essentially the same, but the with the server address before the source file, rather than the destination file, as the source file is now the one on the server:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scp &amp;lt;username&amp;gt;@&amp;lt;server address&amp;gt;:&amp;lt;source file&amp;gt; &amp;lt;destination file&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Installing cygwin =&lt;br /&gt;
coming soon!&lt;br /&gt;
&lt;br /&gt;
= Installing Emacs =&lt;br /&gt;
coming soon!&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
</feed>