Skip to content

Latest commit

 

History

History
88 lines (77 loc) · 4.43 KB

Preliminary.md

File metadata and controls

88 lines (77 loc) · 4.43 KB

Initial assignment (Due Aug 22)

  1. GitHub
    • Sign up for GitHub if not already signed up. Pick default (free plan).
    • Create ssh key
      • Do steps 1, 2, 4, and 5
      • Do Not Share Your Private Key in id_rsa
    • Fork and create a pull request on students repository so I can add you to the to the GitHub group for the course. 1. Start by forking the students repository 1. Add your GitHub username as USERNAME.md (click on '+' - add new file next to the https//github.com/fdac16/students/+ link) 1. Add your UTK netid and publickey key (in id_rsa.pub) to USERNAME.pub 1. Click on Create Pull Request
  2. Familiarize yourself with GitHub workflow

Workflow

  1. To start, fork the repository for the exercise/project (found under github.com/fdac16)
  2. Clone the repository to your computer.
  3. View, create, and edit your ipython notebooks or other files
  4. commit changes to complete your solution.
  5. Push/sync the changes up to GitHub.
  6. Create a pull request on the original repository by the due time (generally within a week)
  7. You can continue to push fixes and improvements until the close date – just add a comment in the pull request to let me know it's been updated.

Feedback will be given in the pull request, so please respond with your thoughts and questions! You are welcome to open the pull request as the work is still in-progress if you are stuck and want to ask a question – just mention @audris with the question to make sure I know to look at it sooner.

Second Assignment -- configuring ssh: Due Aug 26

  • On linux/mac either

    • create .ssh/config

      1. create ~/.ssh/config
       host da2
          hosthostname da2.eecs.utk.edu
          port YOURPORT from students/ports.md
          username YOURNETID
      
      1. place your private key in ~/.ssh/id_rsa
      2. Make sure permissions are right
       chmod -R og-rwx ~/.ssh
      
      1. ssh da2
    • Or ssh directly

       ssh -pYOURPORT -L8888:localhost:8888 -i id_rsa [email protected]
      
  • Putty is a common ssh client for windows

  • Instructions on how to generate ssh key running windows

    1. public ssh key from puttygen

    2. Save the private key and use it in your putty ssh session

    3. Copy the public key (highlited in the image) to add to the list.txt

    4. Now work on creating and saving session: start putty and go to connection/ssh/tunnels, enter source and destination and click add

    5. port forwarding

    6. Go to go to connection/ssh/Auth and browse for your private key

    7. authentication

    8. Go to go to session enter hostname and YOUR PORT from ports.md in fdac/students

    9. session

    10. Don't forget to save the session before clicking open