1 / 12

Accessing the Lab

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.

papina
Download Presentation

Accessing the Lab

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Accessing the Lab

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

  3. SCS Network

  4. Configuring Putty apex.scs.carleton.ca Click ssh

  5. Tunnels Put: 8000 Put: sigma10:8000

  6. Authentication Should be at the top

  7. Saving Session Type in name, Press “Save”

  8. Launching Putty Click on saved session and press “Load”, then press “Open”

  9. You should now see the screen below: Putty Login

  10. 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 *

  11. 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

  12. 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

More Related