Connecting to the computer science network so you can work from
home (e.g. test programs)
SSH (Secure Shell) is a program that allows you establish a remote connection
with the Computer Science Servers. When running a connection
with SSH you can work from home and have your work saved on your CPSC
account.
Main links
-
Overview of some approaches: [UC-IT
help]
-
Example of connecting using SSH (built into Windows 10). This is one of
several approaches. The above link shows alternatives as well as providing
help for MAC and even Ubuntu users.
- Get a command line: At the Start button type 'cmd'
- Enter the following and hit enter at the command prompt
- Format: ssh <your computer science
user name>@linux.cpsc.ucalgary.ca
- Example for me: tamj@linux.cpsc.ucalgary.ca
- Example login session:

- After this you can invoke the python interpreter:
- Format: python <complete file name
including the suffix>
- Example: python smallProgram.py
- Example execution of a program.
- How to transfer files to/from the network. It's easiest to do it
beforehand while you are lab. But here's one approach if you want to do it
all from home.
- Free file transfer program: [Filezilla]
- What information to enter when you run Filezilla.
- Host: linux.cpsc.ucalgary.ca
- User name: Your CPSC user name (for me
it's 'tamj')
- Password: Your CPSC password
- Port: 22
- Example of a login session (LHS = my computer, RHS = my CPSC
account)
