$40
Purpose: Learn how to use a terminal emulator PuTTY to control the sever remotely. Review the commands to get a Java program run. .
Part A: Get connected to the server in PuTTY using SSH.
Download PuTTY under following link. https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Note:
If your windows system is 32-bit version, please download the 32-bit putty.exe instead.
Go to Desktop and start PuTTY by double-clicking its icon.
When a window of PuTTY shows up, select the Session from the Category panel on the left. In the Host Name field enter the server name
"snowball.cs.gsu.edu". In the Post field keep the default setting "22". Select SSH as the Connection type. Click on Open.
In the new dialog box enter your username and password.
Note:
• The username is your campus ID and the password is the password for your campus ID, which is used to log into your PAWS.
• When you finish typing, press "Enter".
• When entering the password, you will not see the password on the screen. So make sure that you are typing the correct password.
When the following window pops up for the Public Key User Authentication, hit YES.
Once you see the prompt "$", you are connected to the server.
Attach a screenshot like in the figure of step (5) to show that your connection to snowball server has succeeded. Name your screenshot file as
L1_P1_ FirstnameLastname.png (or .jpg). E.g. L1_P1_FilRondel.png
Note : Screenshot shortcut in Mac OS cmd + shift + 4; in Windows use snipping tool.
Purpose: Know how to install a Unix system in a virtual machine.
Part A: Environment Configuration for Unix system.
Install a virtual machine and Ubuntu in your operating system. x For Windows users, please follow guide VirtualBox and Vmware Player. x For Mac users, please follow guide VirtualBox
Note:
You can also refer to the video under link below
For Mac OS https://www.youtube.com/watch?v=_42JLz2izBU
For Windows https://www.youtube.com/watch?v=ncA85gRAJxk
Part B: Test your SSH connection in Ubuntu
(1) Log in to your Ubuntu system, and open “Terminal”.
Click Dash Home and search “Terminal”. Then select “Terminal” and open it.
In “Terminal”, use command ssh to connect server snowball.cs.gsu.edu. Ssh campusId@snowball.cs.gsu.edu
E.g. my camps Id is frondel1, so I use ssh frondel1@snowball.cs.gsu.edu
Note:
Your password for camps Id should be the password for this server.
If the server warns you that the authenticity of host cannot be established and ask you if you want to continue connecting, please enter “yes”.
Remember to hit “Enter” once you input the command after the prompt ‘$’.
(3) Attach a screen shot like following figure in your report. Name your screenshot file as L1_P2_ FirstnameLastname.png (or .jpg). E.g. L1_P2_FilRondel.png This figure includes your “terminal” and ssh connection.
Note : Screen shot short cut in Mac OS, command + shift + 4; in windows, use key PrintScreen.
Appendix:
To check the ssh connection x For a Mac user, you can also try the utility “Terminal” in Mac OS.
x For a Windows user, you can also try the terminal emulators, e.g. PuTTY, Xshell . Note: In the connection configuration, host name is snowball.cs.gsu.edu, login account name is your campus Id, protocol is ssh, and port is usually 22.
Useful links:
Download Xshell
https://www.netsarang.com/download/free_license.html
Xshell Tutorial https://www.netsarang.com/tutorial/xshe