CS346 Login Information

CS346 Login Information

<p>CS346 Login Information</p><p>Utilities Needed</p><p>Since you will be uploading files to a server you will need to download Filezilla or some other FTP/SFTP client. </p><p>If you are using Windows you'll want to download and install putty.exe</p><p>CS346 Linux Server</p><p>Connecting via ssh</p><p>From Windows: 1. Launch putty.exe 2. In the Host Name (or IP address) textbox type: cs346.cs.uwosh.edu 3. In the Port textbox type: 1022 4. Make sure the connection type radio button is set to SSH 5. In the Saved Sessions textbox type: CS 346 (optional, but handy for repeated use) 6. Click the Save button (When you launch putty next time you can click on CS 346 in the Saved Sessions box and click Load to load your settings) 7. Click the Open button 8. Your login on the Linux server is your campus e-mail username. 9. Your password on the Linux server is the letter ‘p’ followed by the last six digits of your student ID#. Ex: p123456</p><p>From Linux/Unix: 1. Open a terminal window 2. Type the following command: ssh -p 1022 -l <username> cs346.cs.uwosh.edu 3. Accept the RSA key, you MUST do this in order to get access to the server 4. Type in your password (default is the letter ‘p’ followed by the last six digits of your student ID#. Ex: p123456) and you should be in.</p><p>Using Filezilla for FTP</p><p>- The instructions should be the same for both Windows and Linux/Unix users.</p><p>1. Launch Filezilla. 2. In the Host field type sftp://cs346.cs.uwosh.edu 3. Enter your username and password (letter ‘p’ followed by the last six digits of your student ID#) 4. In the Port field type 1022 5. Click on Quick Connect. 6. The connection should put you at your home location in the Remote Site field. You are welcome to FTP files up to that location if you want, but you won't be able to test them on the server unless you change the location of the remote site (or copy the files over once you've SSH'd into the server) to /var/www/students/<username>/<your desired location>. You shouldn't be able to get into anyone else's directories so please test that and let me know if you can as that is a security risk. If you can get into someone else's, then that means they can get into yours as well which we don't want. 7. Click and drag files from your Local site folders to the remote site folders you've selected and take note of any errors that pop up in the bottom pane.</p><p>Using the MySQL server</p><p>1. You will need to be SSH'd into the server in order to perform these commands so please re-read the SSH section now if you need to. 2. At the terminal window type: mysql -u <username> -p 3. When prompted enter your password (again, last six digits of Student ID by default) 4. At the mysql> prompt type: show databases; 5. You should see your username in the list of databases. 6. At the mysql> prompt type: use <username>; 7. The mysql> prompt should respond with 'Changing Database' and at this point you should be ready to run SQL queries to create tables and insert/retrieve data. </p><p>Windows Server</p><p>Using Filezilla for FTP</p><p>- The instructions should be the same for both Windows and Linux/Unix users.</p><p>1. Launch Filezilla. 2. In the Host field type sftp://141.233.176.1 3. Enter your username and password (your password will be the same as it is on the Windows network, if you haven’t successfully logged in on a Windows machine in one of the labs recently, you will not be able to connect to the server) 4. In the Port field type 1022 5. Click on Quick Connect. 6. The connection should put you at your directory inside the /var/www/ directory. You will upload your files to this directory or its subdirectories. This is different than on the Linux server. You shouldn't be able to get into anyone else's directories so please test that and let me know if you can as that is a security risk. If you can get into someone else's, then that means they can get into yours as well which we don't want. 7. Click and drag files from your Local site folders to the remote site folders you've selected and take note of any errors that pop up in the bottom pane.</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us