Embry–Riddle Aeronautical University



You’re not actually going to be doing that much “real” work on the Mac ; you’ll just connect the Mac to prclab1 as a remote terminal, do the bulk of your programming work there on prclab1 as per normal, and then, at the very end, bring a file from prclab1 over to your Mac so Canvas can get to it ? Canvas can work with a browser on your Mac, but without your jumping through a number of arcane software hoops, it can’t get to prclab1. Working on prclab1with your mac is exactly the same as described in the instructions at ; as is submitting your script file via Canvas. The only differences are in how you connect to prclab1 in the first place and how you move the final typescript file (or whatever you wound up naming it) to your Mac’s desktop so you can submit it via Canvas.To connect your Mac to prclab1:Open a terminal window ? use Terminal.app, ; it’s built in to the Mac OS and is stored somewhere in your Applications folder (sometimes in a subfolder there named Utilities)In the terminal window, type: ssh YourAccountName@prclab1.erau.edu, where YourAccountName is, get ready for it, your account name, which is the same as the username you use to login to ERNIE. When prompted, enter your password, the same one you use for ERNIE.Then work normally on prclab1 with with nano, gcc, etc, as described in the regular homework instructions. After you have prepared the typescript file I want you to submit, do the following:Close the ssh connection to prclab1 by typing either exit or logout in your terminal window --- that’s a command to prclab1 (which you’re talking to via ssh) to close your ssh connection. But your terminal window on your Mac will still be open and you’ll be talking to your Mac OS again. Alternatively, just open another terminal window.Type the command: sftp YourAccountName@prclab1.erau.eduEnter your password when prompted.You’ll now see a prompt like so in your terminal window: sftp> sftp stands for secure file transfer protocol and your Mac is now talking to prclab1 via sftp, not ssh (which is why the prompt is different).Now enter the sftp command: get typescript and sftp will transfer the file named typescript to whatever Mac folder you had your terminal window running in. Then rename it and submit it via Canvas per the normal homework submittal instructions.Alternatively, if typing commands on a command line seems too twentieth century to you, use a GUI SFTP Mac application. I use one called FileZilla; it’s available from Apple’s App Store ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download