SSH.COM is one of the most trusted brands in cyber security. We help enterprises and agencies solve the security challenges of digital transformation with innovative access management solutions.
PuTTY for Mac is a port of the Windows version of PuTTY. However, there are many options for SSH clients for Mac, and this page discusses several of them.
Mac OS X includes a command-line SSH client as part of the operating system. To use it, goto Finder, and selext Go -> Utilities from the top menu. Then look for Terminal. Terminal can be used to get a local terminal window, and also supports SSH connections to remote servers.
Once you have the terminal window open, you have two alternatives. The first approach is to type
ssh hostname or
ssh user@hostname into the terminal window. This is more familiar for Linux and Unix users who are used to using a command line.
The second option is to select New Remote Connection... from the Shell menu of Terminal. This opens a graphical dialog asking for the host to connect to and the user name. This also allows saving connections. This is recommended for users who are not accustomed to using a command line.
If you have a PuTTY
.ppk format private key and want to use it with the built-in OpenSSH on Mac on the command line or in scripts, you can use the following commands.
First, install PuTTY for Mac using
brew install putty or
port install putty (see below). This will also install the command-line version of puttygen, the PuTTY key generator tool.
Then, use the following command to convert the
.ppk format private key to a standard PEM format private key:
puttygen privatekey.ppk -O private-openssh -o privatekey.pem
Make sure permissions on the private key file are set properly. It should only be readable by the user that owns it.
chmod go-rw privatekey.pem
You can now use the key for logins from scripts and command line with:
ssh -i privatekey.pem user@hostname
There is a port of PuTTY for Mac. It can be installed in several ways.
If you already have the
brew command installed, the best way to install PuTTY is to use the following command:
sudo brew install putty
PuTTY is readily available via MacPorts. To see how to install MacPorts and PuTTY, see here.
Once you have MacPorts installed, you just need to give this command:
sudo port install putty
and to add a shortcut on the Desktop,
cp /opt/local/bin/putty ~/Desktop/PuTTY
A lot of people use Cyberduck on Mac. It is a solid, well-known SSH client that is quite popular.