UK Sales: 0800 035 6364 | | We'll Call You

a Mac terminal

SSH on Macintosh computers

A commercial GUI implementation of ssh clients for the Macintosh is available from Databeast.

Using the terminal on OSX

To open Terminal, navigate to your Applications folder, open Utilities, and double click on Terminal.

Create your public/private key as follows:

ssh-keygen -t rsa1 -f user-name -P some passphrase

Info on the flags:
     -t      the type of key to create
     -f      file name (tomcat3 for example)

This writes your public and private key files into your ~/.ssh folder by default.
Email the public key file (it's a plain text file) to 2020Media. You will be notified when it is installed and ready.
When you are ready to login, from the prompt type:

ssh -l tomcat-3 -v -1 -i ~/.ssh/your-private-key your-server-hostname

     -l      user-name
     -v      verbose (optional)
     -1      forces it to use version one.
     -i      the location of the private key

A pop up appears asking for your password (enter your passphrase created above) and you have now logged in.

Useful commands

Here are a few useful commands you can use, if you have appropriate permissions:

sh ./      Start Tomcat
sh ./     Stop Tomcat
tail -f logs/catalina.out   View live Catalina log
rm -R -f work/Standalone/_  Remove worker files
or rm -R -f work/Standalone/
ps auxwww|grep X     Check what tomcat processes are running (where X is your username)
history              View command history
exit                 Logout

If you'd like us to add any more commands, please contact us.

For more help on using the terminal, we suggest MacMapper

2020Media is a leading provider of small business Wi-Fi hotspots. If you want to offer free Wi-Fi to your customers or users, our service could be exactly what you are looking for. Our Hotspots are managed in the cloud, ultra-reliable and give you loads of information about behaviour patterns of your users. Read More   Read more...
2020Media introduces Moodle Hosting - UK servers and UK Moodle experts setup your site ready to use. Read more...
Special Offer for Longer Registration Periods Register or renew a .com, .net or .org domain name for 5 years we'll include 1 year free*. Read more...
2020Media is now offering zero-click installation of the popular TYPO3 content management system. Read more...

Our blog is regularly updated with news, tips and industry opinion.


  • AggieWestons
  • baker-and-mckenzie
  • arts-council-england
  • Big Finish
  • barratt-developments-logo
  • City-of-Lincoln-council-logo
  • brora-logo
  • DenisMacShane
  • Construction-Industry-Council
  • colchester