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
Configuring Putty apex.scs.carleton.ca Click ssh
Tunnels Put: 8000 Put: sigma10:8000
Authentication Should be at the top
Saving Session Type in name, Press “Save”
Launching Putty Click on saved session and press “Load”, then press “Open”
Putty Login You should now see the screen below:
Directories Home directory –Directory must have: rwx--x--x permissions Create public_html in home directory –Contains html files –Directory must have: rwx--x--x permissions Create course_html in home directory –Contains cgi scripts –Directory must have: rwx--x--x permissions Can check permissions using: –ls –la. –ls –la *
Setting permissions Use chmod command: –chmod 0711 public_html –chmod 0711 course_html –chmod (home directory) Need read access for html files: –chmod 0644 hello.html Need execute permission for cgi scripts: –chmod 755 myscript.cgi
Accessing Content Outside SCS environment: –Use –Use –Files should be in course_html directory Inside SCS environment –Use –Files should be in public_html directory