accessing the lab. putty available via links on course page creates secure (ssh) command line...
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](https://reader036.vdocument.in/reader036/viewer/2022083010/5697bfbd1a28abf838ca2050/html5/thumbnails/1.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083010/5697bfbd1a28abf838ca2050/html5/thumbnails/2.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083010/5697bfbd1a28abf838ca2050/html5/thumbnails/3.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083010/5697bfbd1a28abf838ca2050/html5/thumbnails/4.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083010/5697bfbd1a28abf838ca2050/html5/thumbnails/5.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083010/5697bfbd1a28abf838ca2050/html5/thumbnails/6.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083010/5697bfbd1a28abf838ca2050/html5/thumbnails/7.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083010/5697bfbd1a28abf838ca2050/html5/thumbnails/8.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083010/5697bfbd1a28abf838ca2050/html5/thumbnails/9.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083010/5697bfbd1a28abf838ca2050/html5/thumbnails/10.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083010/5697bfbd1a28abf838ca2050/html5/thumbnails/11.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022083010/5697bfbd1a28abf838ca2050/html5/thumbnails/12.jpg)
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