Connecting to the Unix Server from a Mac
SSH Secure SHell (what PuTTY does for Windows)
telnet and ssh allow you to connect to a Unix
system and use command line prompts. It will allow a text based connection to the ECT Unix systems at
California State University, Chico. Since telnet is not as secure as ssh, it has been disallowed for many machines so you should always use ssh. For Macs, this capability is already provided for you
so you do not need to download anything.
- open your Terminal application (You will find the Terminal in the Utilities folder inside of your Applications folder.)
- give the command
ssh -l yourUsername ect-unix.ecst.csuchico.edu
where -l is an "el" not a one, and yourUserName is obviously your username
- it might ask you if you want to allow the connection
- it should prompt you for your username
Here is an image and here is another webpage that has images to see it and also links to more for macs.
Although not necessary, a tool you could download for the same purposes is iTerm
FTP File Transfer Protocol (what WinSCP does for Windows)
There are a number of options for tools to transfer files.
A freeware utility similar to WinSCP but runs on MacOSX, Linux, and Windows. For this class you would only need the Client.
The site also provides some nice screenshots to help you see how it works
This tool is a free open-souce application (as noted, with the name cyberduck)
You want to use protocol SFTP (for Secure File Transfer Protocol) which uses port 22
Others
Another tool that you would have to download but looks more like WinSCP is Fugu. And of course there is Fetch which has been
available for Macs for years.
If you are having problems with editors on the Mac side, consider using Eclipse as your text editor for your Java and text files.
Working with Java on the Mac
First, you do not need to download Java since it comes loaded with Macs.
Second, on some browsers, you
can right click on the applet and it will give you an option to show the java console.
Otherwise:
Finding the Java Console (to clear classloader cache)
thanks to Casey Harford
- Click "Go" from the Finder menu.
- Click "Utilities"
- Double click "Java Preferences"
- In Java Preferences, click the "Advanced" button at the top.
- Under "Java Console" select "Show console"
- Close out of Java Preferences, restart internet browser
Now when ever a Java Applet is loaded, the console will load as well. You can just click the internet window in front of it, and it will stay out of the way. If at anytime you need to "clear the classloader cache," just press "x" in the Java Console window. It takes about 2 seconds, and confirms it by saying: Clear classloader cache ... completed.