accessing the lab. putty available via links on course page creates secure (ssh) command line...

12
Accessing the Lab

Upload: arnold-morgan

Post on 21-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling

Accessing the Lab

Page 2: Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling

Putty

• Available via links on course page

• Creates secure (SSH) command line session between your machine and SCS network

• Uses tunnelling

Page 3: Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling

SCS Network

Page 4: Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling

Configuring Puttyapex.scs.carleton.ca

Click ssh

Page 5: Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling

Tunnels

Put: 8000

Put: sigma10:8000

Page 6: Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling

Authentication

Should be at the top

Page 7: Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling

Saving Session

Type in name,Press “Save”

Page 8: Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling

Launching PuttyClick on saved session and press

“Load”,then press “Open”

Page 9: Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling

Putty Login

You should now see the screen below:

Page 10: Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling

Directories• Home directory

– Directory must have: rwx--x--x permissions

• Create public_html in home directory– Contains html files http://www.scs.carleton.ca/~myacct– Directory must have: rwx--x--x permissions

• Create course_html in home directory– Contains cgi scripts http://www.scs.carleton.ca/~myacct/any.cgi– Directory must have: rwx--x--x permissions

• Can check permissions using:– ls –la .– ls –la *

Page 11: Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling

Setting permissions

• Use chmod command:– chmod 0711 public_html– chmod 0711 course_html – chmod 0711 . (home directory)

• Need read access for html files:– chmod 0644 hello.html

• Need execute permission for cgi scripts:– chmod 755 myscript.cgi

Page 12: Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling

Accessing Content

• Outside SCS environment:– Use http://localhost:8000/~myacct/myfile.html– Use http://localhost:8000/~myacct/myscript.cgi– Files should be in course_html directory

• Inside SCS environment– Use http://www.scs.carleton.ca/~myacct/myfile.html– Files should be in public_html directory