Yes, you can use PuTTY on a Mac, but the official version is not a native Mac app. The standard way to get PuTTY on macOS is to install it via Homebrew (the putty package), which provides the command-line tools like putty and plink, or to use the built-in Terminal app’s ssh command, which is pre-installed and functionally equivalent for most users. This article explains exactly how to install and use PuTTY on a Mac, what the limitations are, and when you might prefer the native Terminal instead.
What PuTTY Actually Is
PuTTY is a free and open-source terminal emulator, serial console, and network file transfer application. It was originally written for Windows by Simon Tatham and is maintained by a small team of developers. It supports several network protocols: SSH, Telnet, rlogin, and raw TCP connections. It also includes tools like pscp (SCP client), psftp (SFTP client), and plink (command-line SSH client).
On Windows, PuTTY is often the go-to tool because Windows did not include a built-in SSH client until Windows 10. On macOS, however, the situation is different: macOS has shipped with OpenSSH in the Terminal since Mac OS X 10.1 (2001). That means for the majority of SSH use cases on a Mac, you do not need PuTTY at all—the built-in ssh command does the same job, often with better integration.
Why You Might Still Want PuTTY on a Mac
There are a few legitimate reasons to install PuTTY on a Mac:
- Session management: PuTTY lets you save named sessions with specific hostnames, ports, and connection options. The built-in Terminal does not have a GUI for this; you would need to edit
~/.ssh/configor use a third-party app. - Serial connections: PuTTY can connect to serial ports (e.g., for networking gear like routers or switches). The built-in Terminal does not have a simple serial client.
- Telnet/rlogin: If you need to use Telnet (not recommended) or rlogin, PuTTY supports them. macOS’s Terminal does not include a Telnet client by default (though you can install one).
- Consistency with Windows: If you manage servers from both Windows and Mac, using the same tool on both can reduce friction.
How to Install PuTTY on a Mac
The only reliable way to install PuTTY on a Mac is via Homebrew. There is no official .dmg installer. Here are the steps:
- Install Homebrew if you do not have it: open Terminal and run
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)". - Once Homebrew is installed, run
brew install putty. - After installation, you will have the command-line tools available in your PATH:
putty,plink,pscp,psftp, andputtygen.
Note that putty is a terminal-based program, not a GUI. If you run putty in Terminal, it will open a text-mode window where you can enter a hostname and connect. This is different from the Windows GUI. There is no official macOS GUI version of PuTTY.
Using PuTTY Commands on macOS
Once installed, you can use PuTTY from the Terminal. The most common commands are:
putty -ssh user@host– opens an SSH connection in the PuTTY terminal.plink -ssh user@host– runs a one-off command over SSH without opening a terminal.pscp file user@host:/path– copies a file to a remote server.psftp user@host– starts an interactive SFTP session.puttygen– generates and manages SSH keys (similar tossh-keygen).
For example, to connect to a server at example.com as user alice, you would run:
putty -ssh alice@example.com
PuTTY will prompt for a password (or use a key if configured). The session will behave like a standard SSH session.
PuTTY vs. Built-in Terminal SSH on Mac
For most Mac users, the built-in Terminal SSH is the better choice. Here is a comparison:
- Ease of use: Terminal SSH is already there; no installation needed. Just type
ssh user@host. - Key management: The built-in SSH uses the standard OpenSSH key format (
~/.ssh/id_rsa, etc.). PuTTY uses its own.ppkformat, which can cause compatibility headaches if you need to use the same key with other tools. - Session saving: PuTTY has a GUI for saving sessions, but you can achieve the same with an SSH config file (
~/.ssh/config). - Serial support: PuTTY wins here—it is the only one of the two that can connect to serial ports.
- Integration: Terminal SSH integrates with macOS’s Keychain for password storage, and with the system clipboard. PuTTY does not.
If you only need SSH, use the built-in Terminal. If you need serial or Telnet, or you want a single tool across Windows and Mac, install PuTTY.
Common Problems and Fixes
Here are a few issues you might run into when using PuTTY on a Mac:
- “putty: command not found” – This means Homebrew did not add the binary to your PATH. Usually, running
brew link puttyor restarting Terminal fixes it. If you installed Homebrew in a custom location, you may need to add it to your PATH manually. - Key format errors: If you have a
.ppkkey from Windows, you can convert it to OpenSSH format usingputtygenon the Mac:puttygen key.ppk -O private-openssh -o key.pem. - No GUI: Many users expect a window like the Windows PuTTY. The Mac version is text-based. If you want a GUI, consider a third-party SSH client like Termius or Royal TSX, but those are not PuTTY.
- Copy and paste: In PuTTY on Mac, copying and pasting works differently. To copy, select text with the mouse; to paste, middle-click or press Shift+Ctrl+V (depending on terminal settings).
Frequently Asked Questions
Is PuTTY available in the Mac App Store?
No. There is no official PuTTY in the Mac App Store. Any app claiming to be PuTTY there is unofficial and likely not the same software. The official distribution is via the project website or Homebrew.
Can I use PuTTY to generate SSH keys on a Mac?
Yes, you can use puttygen to generate keys in PuTTY’s .ppk format. However, for most purposes, you are better off using the built-in ssh-keygen command, which creates standard OpenSSH keys that work with all servers and tools.
Does PuTTY work with Apple Silicon (M1/M2/M3) Macs?
Yes. Homebrew installs the ARM64 version of PuTTY on Apple Silicon Macs, and it runs natively. There is no need for Rosetta 2.
How do I uninstall PuTTY from my Mac?
If you installed via Homebrew, run brew uninstall putty. That removes the binaries. Any configuration files (like saved sessions) are stored in ~/.putty and can be deleted manually.
Is PuTTY safe to use on a Mac?
Yes, PuTTY is open-source and widely used. The Homebrew package is built from the official source. As with any SSH client, make sure you download it from a trusted source (like Homebrew) and verify checksums if you download the source directly.
What is the difference between PuTTY and plink?
PuTTY is the interactive terminal client. Plink is a command-line tool that runs a single command over SSH and then exits. For scripting or automation, plink is more useful. For everyday interactive use, you would use PuTTY or the built-in ssh.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Daily Production Briefs: Turning Shift Data into Action
- Best Planet Zoo 2 Graphics Settings for Higher FPS
- 2K High Refresh Rate Phone Worth It for Streaming?
- Unlock Bootloader Samsung: Full Guide
- Battle Pet Codes: How to Get and Use Them
- Samsung FRP Remove by IMEI: Facts & Limits