Files you create in CSE systems (labs, VLAB, login servers, etc) are stored in your CSE Home Directory by default.
This is how you can get them…
From a CSE lab machine, VLAB or CSE login server
Your home directory is available automatically, under /home/CSE_account (eg. /home/z1234567)
New terminals and file browsers start in this directory.
From a Computer Outside CSE or Using Uniwide
If you are connecting from any other network (uniwide, external internet, etc), you will need an SSH/SCP/SFTP client to access your files.
Clients using CIFS/SMB will not work unless you use a VPN so it will be simpler to use SSH/SCP/SFTP.
Using Windows
We recommend WinSCP, as it is popular, well-supported and free.
To connect:
- Select SFTP as the protocol
- Enter the host login.cse.unsw.edu.au
- Enter your zID and zPass as the username and password
- Click 'Connect'
- (you may wish to click 'Save' first, to save these details for next time)
Using a SSH-key
You need have WinSCP offer your current SSH key as a credential.- Convert your existing SSH private key to a format that WinSCP reads.
- Use the converted private key in WinSCP.
Using Mac
The preferred SFTP client for Mac is Cyberduck.
To connect:
- Click 'Open Connection'
- Select SFTP as the protocol
- Enter the server login.cse.unsw.edu.au
- Enter <your zID> and <your zPass> as the username and password
- Click 'Connect'
- (you may wish to click 'Add to keychain' first, to save your credentials for next time)
(Or on the commandline use scp)
Using Linux (ubuntu)
- Open the file browser
- Click on the File menu
- Click 'Connect to server'
- Enter the path ssh://login.cse.unsw.edu.au
- Click 'Connect'
- Use your zID and zPass as the username and password when prompted.
(Or on the commandline use scp)
From a machine connected to the CSE Wired network
Using Windows
- Right-click 'Computer' in your Start menu or desktop, and select 'Map Network Drive'
- Select a drive letter from the drop-down list
- Enter the path \\samba.cse.unsw.edu.au\your_zID
- Select 'Connect using different credentials'
- Click Finish/OK
- Use adunsw\your_zID and your zPass as the username and password when prompted.
Using MacOS
- Open the 'Go' menu and select 'Connect to Server'
- Enter the path smb://samba.cse.unsw.edu.au/<your zID>
- Select 'Connect using different credentials'
- Click Connect
- Use your zID and zPass as the username and password when prompted.
Using Linux (Ubuntu)
Ubuntu comes with SFTP support built into the file browser; follow the same procedure as for connecting from outside CSE Wired network (see above).
Commandline - smbclient
smbclient -U adunsw\\z1234567 //samba.cse.unsw.edu.au/z1234567
(substitute your own zID as appropriate)
Using a SSH client
If the computer you are using has a command-line SSH client, then you can use that to access files at CSE.Make an archive
If you can connect to CSE using SSH then you can save an archive of CSE files and stream it to your computer. For instance, to make an archive of your CSE home directory:
ssh username@login.cse.unsw.edu.au "tar -czf - ~" > cse_homedir.tar.gz
Running that command does not change your CSE account and does not use up CSE account quota.
Rsync
You can use Rsync to keep a local copy of some files at CSE (or the reverse). To update a local copy of your remote CSE account:
rsync -az "username@login.cse.unsw.edu.au:" cse_home/