ComputerScienceS 1:GreatIdeasinComputerSciencewithJava HarvardSummerSchool Summer2008 HowtoSSHtofas.harvard.edu fromwindows Recallthatfas.harvard.eduisaserveronHarvard scampusthatallowsyoutologinwithyourfas usernameandpassword.viaaprotocolcalledssh,youcan openashell onthisserverinorder executecommandsonitremotely.tosshtofas.harvard.edu,then,istoaccessyouraccountand,in turn,homedirectoryonthisserverremotely.allyouneedisansshclient, aprogramthat speaks SSH. You rewelcometouseanysshclientforthecourse.thisdocumentexplainshowtoinstallanduse SecureCRT,commercialsoftwareforWindowsforwhichHarvardhasasitelicense;it sinstalledonmost PCsaroundcampusandcanalsobeinstalledonyours. 1 TableofContents InstallingSecureCRT...2 LaunchingSecureCRT...3 CreatingaSession...4 ConfiguringaSession...7 UsingSecureCRT...12 1 ApopularalternativeisPuTTY,whichisalsoavailablefordownloadviathecourse swebsiteundersoftware. Page1of12
ComputerScienceS 1:GreatIdeasinComputerSciencewithJava HarvardSummerSchool Summer2008 InstallingSecureCRT If SecureCRT is not already installed on your computer, download the installer for SecureCRT to your desktop via the course s website under Software. Double click the installer s icon and follow the onscreendirections.it sfinetobreezethroughthem,leavingalldefaultsselected. Page2of12
ComputerScienceS 1:GreatIdeasinComputerSciencewithJava HarvardSummerSchool Summer2008 LaunchingSecureCRT LaunchSecureCRTviaitsicon.Ifyouseeawindowlikethebelow,justclickYESandleavethecheckbox checked. You should then see a window like the below appear. If not, make it appear by going to File Connect... Thewindowyouseemayormaynotlistasmanysessions.Iffas.harvard.edudoesnotappearinthelist, proceedtocreatingasession,below.iffas.harvard.edudoesappearinthelist,skiptoconfiguringa Session. Page3of12
ComputerScienceS 1:GreatIdeasinComputerSciencewithJava HarvardSummerSchool Summer2008 CreatingaSession If you have downloaded the SecureCRT install from the FAS servers or are using SecureCRT on a lab computeroncampus,youshouldnotneedtocreateasessionforfas.harvard.edu.ifyouhaditinstalled already,though,youshouldneedtocreateasessionforfas.harvard.eduonlyonce. IntheConnectwindow(picturedabove),clickthethirdiconoverfromthetop leftthatlookslikethe below. Makethewindowthatappearslookexactlylikethebelow. Page4of12
ComputerScienceS 1:GreatIdeasinComputerSciencewithJava HarvardSummerSchool Summer2008 ClickNextandmakethewindowthatappearslookexactlylikethebelow. ClickNextyetagainandmakethewindowthatappearslookexactlylikethebelow. Page5of12
ComputerScienceS 1:GreatIdeasinComputerSciencewithJava HarvardSummerSchool Summer2008 Finally,clickFinish.Youshouldseeawindowlikethebelowappear.Again,thewindowyouseemayor maynotlistasmanysessions,butitshouldnowatleastincludefas.harvard.edu. Page6of12
ComputerScienceS 1:GreatIdeasinComputerSciencewithJava HarvardSummerSchool Summer2008 ConfiguringaSession If you re using SecureCRT on your own computer, you should need to configure a session for fas.harvard.eduonlyonce.onapcinoneofharvard slabs,youmayneedtoconfigureasessioneach timeyouusethepc,aslabpcs harddrivestendtoberestoredtodefaultsuponlogoutorovernight. IntheConnectwindow(picturedabove),right clicktheicontotheleftoffas.harvard.eduandchoose Properties.Youshouldseeawindowlikethebelow. Page7of12
ComputerScienceS 1:GreatIdeasinComputerSciencewithJava HarvardSummerSchool Summer2008 ClickEmulation,andmakethewindowthatappearslookexactlylikethebelow. Page8of12
ComputerScienceS 1:GreatIdeasinComputerSciencewithJava HarvardSummerSchool Summer2008 ClickEmacs,andmakethewindowthatappearslookexactlylikethebelow. Page9of12
ComputerScienceS 1:GreatIdeasinComputerSciencewithJava HarvardSummerSchool Summer2008 ClickMappedKeys,andmakethewindowthatappearslookexactlylikethebelow. If you re feeling adventurous, you re welcome to make other changes to settings as you see fit. Ultimately,clickOK. Page10of12
ComputerScienceS 1:GreatIdeasinComputerSciencewithJava HarvardSummerSchool Summer2008 UsingSecureCRT Assuming you have already created and configured a session for fas.harvard.edu, you should see a windowlikethebelow. Highlight fas.harvard.edu by clicking it, then click Connect. If you see a window like the below, click Accept&Save. Page11of12
ComputerScienceS 1:GreatIdeasinComputerSciencewithJava HarvardSummerSchool Summer2008 Provide your username and password if prompted. A window like the below should then appear, possiblywithadditionaltextandadifferentprompt. Atthispoint,youhavesuccessfullySSHedtofas.harvard.eduandarethusincontrolofyouraccount!To executeacommand,typeit(e.g.,nslookup),thenhitenter. Maythatyouneverhavetoreadallofthesedirectionsagain! Page12of12