Putty is one of the Best Terminal Emulators available today. It Supports different types of Network Protocols such as SSH, FTP, SCP, Telnet. It is used as SSH Client to connect to Your Linux server or for some other purpose. SSH is available by default in Mac and Linux or Unix. Although you can use terminal for SSH connections still there are some benefits using putty such as other clients don't keep connections alive whereas Putty does. Also it is cool to use Putty as your SSH client if you are doing some Amazon AWS, VMware ESXi or CISCO Stuffs, transferring files, managing files on a server or whatever.
Update: I wrote this in 2009! That was forty Internet years ago. I’m leaving this article here in an archival state. But please, use Homebrew to install PuTTY. You don’t have to read the rest of this post. Simply open Terminal, paste this command: ruby -e '$(curl -fsSL Then type: brew install putty And that’s it, PuTTY will be installed on your machine. That is, if you are running the newest version of OS X, which you certainly should be.
PuTTY is a terminal emulator application which can act as a client for the SSH, Telnet, rlogin, and raw TCP computing protocols.
If you have any questions at all, please leave a comment below or use the contact form above. I do answer your emails if they are interesting enough!
Some people are very used to PuTTY and they miss it when they are on a Mac. Is there a version for OS X? No, so this post is for those people. This really isn’t an install per se, it’s actually called a port. PuTTY doesn’t work “naturally” on OS X, so you need to use MacPorts to ‘port’ it to your Mac.
When utilizing MacPorts, you can find that there are thousands of programs you can run on your Mac that normally wouldn’t be available. The interfaces may feel or act a bit differently, but it’s better than not having them at all. Here are the steps to get it geared up: 1) Install MacPorts – (Be sure to pick the correct file for your OS X version.) 2) Open the saved.dmg file to install MacPorts. 3) After installation of MacPorts is complete, there’s one more item to check. Make sure you have XCode installed on your computer.
If you are running OS X 10.6, you should. You will have to be a member (which is free) of Apple Developer Connection to download the file. The reason you need developer tools is because you are actually compiling source code in order to get this working, as a developer does. After installing XCode, open up Terminal and paste this command: sudo port -v selfupdate This updates your install of MacPorts. You should see the update take place. If you don’t, leave a comment here so we can help you out with the error.
But everything should work fine if the steps above have been followed exactly. All you have to do next is paste this command: sudo port install putty This should take a few minutes and work without a hitch. Now to start using it, type this into Terminal and Putty will then pop right up into an X11 window: putty 7. To put a shortcut on the Desktop, run an additional command in the terminal: cp /opt/local/bin/putty /Desktop/PuTTY Additonal Install/Migration Instructions If you have installed MacPorts prior to Snow Leopard, you have to run a few fixes to get PuTTY to work again properly.
Open Terminal 2. Paste: sudo port uninstall glib1; sudo port uninstall gtk1; sudo port install putty 3. Once done, all the necessary libraries should be updated and you should have a new Putty up and running. Note: When I first started to write this article, I was going to use, however, it appears they dropped the package.
So I opted for MacPorts which is the most recently updated and compatible. It all works – for now.
What this means: Eventually, everyone who is accustomed to Putty will need to change directions indefinitely, so please take a look at. Until then, keep hacking and compiling if you really need to. Hi Daniel & Kayla – Thanks for publishing this information, you are a great resource. Once I had PuTTy installed, it works fine. The only issue I have is getting a serial console session via a USB-Serial adapter.
The adapter is installed and accessible using the Apple provided pl2303 driver. I can open a connection pointing to the /dev/tty.PL234 serial line, and I can see physical evidence that my keystrokes are passing through (via the LED on the USB device), but the terminal screen remains blank.
I’ve tried changing the normal serial options (local echo, etc) with no result. @Guido: try messing with the baud rate settings – typically most devices will use 9600 bps, 8N1 (bps, parity, bits). If you have a manual for the device that you’re trying to console, it most likely has a section which describes how to access it via serial. Another possibility – the device might require you to use a serial or a null modem cable – both look identical, however are wired differently. Finally, just to be sure – you can also try to access the serial device by opening Terminal and typing the following: ‘screen /dev/tty.PL234 9600’ Again, try to mess with the baud rate depending on what the device takes.
Hello I have mac os 10.6.5 and XCode 3.2.4 i installed MacPorts and then i did sudo port -v selfupdate as a super user and everything was fine but when i did sudo port install putty as a super user after long time i got this error Error: The following dependencies were not installed: gtk1 xorg-libXext xorg-libX11 xorg-libxcb python26 db46 gdbm openssl zlib readline sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXt xorg-libsm xorg-libice any advice? Sent 36 bytes received 77 bytes 25.11 bytes/sec total size is 512 speedup is 4.53 Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports Hi, Can you please help me out why i am getting this error while update the port i used the cammand which is mentioned in the website i.e:sudo port -v selfupdate Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 13523 — MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated Thanks, Snehith. Running OS X 10.3. Trying to install putty. Have installed mac ports and xcode 4, This is message I get. Last login: Sun Feb 26 15:10:12 on ttys000 Roberts-MacBook-Air: rhadstate$ sudo port install putty Password: Warning: xcodebuild exists but failed to execute Warning: Xcode does not appear to be installed; most ports will likely fail to build.
— Computing dependencies for puttyError: Unable to execute port: can’t read “build.cmd”: Failed to locate ‘make’ in path: ‘/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin’ or at its MacPorts configuration time location, did you move it? To report a bug, see Roberts-MacBook-Air: rhadstate$ If you can help I would appreciate. Hi Kayla, It doesn’t work.
Sudo port install putty Warning: xcodebuild exists but failed to execute Warning: Xcode appears to be installed but xcodebuild is unusable; some ports will likely fail to build. Warning: You may need to run `sudo xcode-select -switch /Applications/Xcode.app` Warning: The Command Line Tools for Xcode don’t appear to be installed; most ports will likely fail to build. Warning: See for more information.
— Computing dependencies for puttyError: Unable to execute port: can’t read “build.cmd”: Failed to locate ‘make’ in path: ‘/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin’ or at its MacPorts configuration time location, did you move it? To report a bug, see. Hi, having this error $ sudo port install putty Warning: The Command Line Tools for Xcode don’t appear to be installed; most ports will likely fail to build. Warning: See for more information. — Computing dependencies for puttyError: Unable to execute port: can’t read “build.cmd”: Failed to locate ‘make’ in path: ‘/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin’ or at its MacPorts configuration time location, did you move it? To report a bug, see running on macbook air – lion 10.7.4 thank and regard.
I installed every bit but when I start putty on my mac osx lion. Sorted the last error out! Got this new one, just installed xcode, restarted my imac and tried to run these commands from the terminal Anubhav-Singhs-iMac: itsmeanubhav$ sudo port install putty Warning: The Command Line Tools for Xcode don’t appear to be installed; most ports will likely fail to build. Warning: See for more information. — Computing dependencies for puttyError: Unable to execute port: can’t read “build.cmd”: Failed to locate ‘make’ in path: ‘/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin’ or at its MacPorts configuration time location, did you move it? Hi, I have MAC OSX Lion. I installed Macports, Xcode and also putty using cmd line.
I typed ‘putty’ in cmd line but it is giving the following error. Dyld: lazy symbol binding failed: Symbol not found: cairoxlibsurfacecreate Referenced from: /opt/local/lib/libgdk-x11-2.0.0.dylib Expected in: /opt/local/lib/libcairo.2.dylib dyld: Symbol not found: cairoxlibsurfacecreate Referenced from: /opt/local/lib/libgdk-x11-2.0.0.dylib Expected in: /opt/local/lib/libcairo.2.dylib Trace/BPT trap: 5 Please help me to resolve this. I face a problem.I did download all the things you said(Xcode,MacPort) and now I am running terminal and in the demand sudo port install putty it writes to meError: Error: No Xcode installation was found. Error: Please install Xcode and/or run xcode-select to specify its location. Error: Warning: xcodebuild exists but failed to execute Warning: Xcode does not appear to be installed; most ports will likely fail to build.
— Computing dependencies for puttyError: Unable to execute port: can’t read “build.cmd”: Failed to locate ‘make’ in path: ‘/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin’ or at its MacPorts configuration time location, did you move it? I do have the latest version of iOS and I do have the latest version of Xcode. Error: The following dependencies were not installed: gtk2 gdk-pixbuf2 hicolor-icon-theme pango Xft2 shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXext xorg-xextproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto To report a bug, follow the instructions in the guide: Error: Processing of port putty failed I have the above errors, so I failed in installing it. Looking forward to your help.
I have Mac OS X 10.7.4. I installed MacPorts-2.1.2-10.7-Lion and Xcode-4.3.2. I got the error below, Kindly help. I got this error!!
Rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) receiver=2.6.9 Command failed: /usr/bin/rsync -rtzv –delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs Exit code: 10 Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed. I am new here. Tried to install putty on my macbook pro. Mac os mavericks i have downloaded correct file but showing error.
Error goes like this. I have installed mac port successfully. However when i ran ‘sudo port -v selfupdate’, it gives me beow error, Updating MacPorts base sources using rsync receiving file list done base.tar WARNING: base.tar failed verification — update discarded (will try again).