I very rarely use a monitor to view the full-fat desktop interface with my Raspberry Pis. I don’t use any of the applications or the web browser – I just use them to make projects.
For those that don’t know, this is referred to as a ‘headless’ setup. Most headless users will simply access their Pi’s terminal using SSH, which is exactly what I do with my preferred application ‘PuTTY‘.
PuTTY gets the job done – it’s not pretty but it works. However, one gripe I have is having to open separate instances of PuTTY for each Pi I want to connect to.
You know what, someone should develop some kind of tabbed PuTTY application…oh wait…here’s one now: MTPuTTY!
MTPuTTY – PuTTY’s Helpful Step-Cousin
So there I am fannying about with a stack of Raspberry Pis testing if they can crunch numbers for [email protected] (blog on this soon once I’ve set it up properly – subscribe to be notified):

My stack of old Raspberry Pi running [email protected] using BOINC. Blog on this soon.
I get 5 of them up and running but I’m well aware that my projects have a tendency to fail. I decide to log in to each of them every day to make sure they’re still working.
Every day – 5 ugly PuTTY terminals to open and then run commands – it got a bit tedious. So I started looking for some kind of alternative.
Enter MTPuTTY (Multi-Tabbed PuTTY). I found this on Google suggesting it was pretty much just a tabbed version of PuTTY, so I gave it a try.

The MTPuTTY website. It’s rocking green-screen chic
Multiple PuTTY Tabs
What a find! It turns out that MTPuTTY is the daddy, and it’s the daddy for two reasons.
The first reason – and the functionality I was looking for – was the ability to have separate terminal sessions as tabs:

No more cluttered taskbars full of individual PuTTY windows
Just like PuTTY, MTPuTTY also lets you save details of a device (‘session’) to open again later on, which saves you typing in IP addresses every time. I’m monitoring 5 Pis so far, so I saved them all then just double-click each one to open a tab.

Clickety-click and all my tabs are open. It’s marvellous!
That’s good, but there’s more…
Sending Commands to Multiple PuTTY Terminals
So I’ve now got 5 terminal sessions open in tabs, but I’ve still got to undertake the soul-destroying task of running through each one, typing in ‘Pi’ and my password just to get the party started…right?
Wrong! MTPuTTY has a ‘send script’ button which will change your motherfudging world.
You click the button, type in a command (for example, ‘Pi’ + ‘enter’) and send it to all of your tabbed sessions at once.
It fires that command off, and every Raspberry Pi now has the username entered and is waiting for the password. So I send a second script command with the password+enter (as they all have the same password). You guessed it – I’m now logged in to all my Pis!
You can even do it all in one hit by adding a delay to the script using ‘###_SLEEP:nnnn’ (where nnnn = milliseconds) and then following up with the password.

Sending scripts saves me typing the same thing 5 times
I told you it was the daddy!
So that’s it, just a short post today. Remember that you need to have PuTTY installed first as MTPuTTY runs off of it.
I just had to share this one as it’s something I wish I’d found years ago. Enjoy!
Rich
29.10.2018
Thanks for this, I will try it out.
I use VNC to log in to my Pi’s from a PC the advantage there is that one gets the pi screen output and keyboard input as though one is sitting in front of the Pis.
I’m a fan of VNC too, but these days I only really run terminal commands from my PC, so I’m using it less and less.
I’ve been using SuperPutty, has it’s draw backs but works quite well. The use of the “BELL” control code gets annoying when you’ve deleted a line on the command prompt and the whole screen flashes as well as going “BING”!
I’ll certainly be giving MTPutty a go 🙂 Good find.
Ah, well, you might not like this then. MTPuTTY goes “DONG” every time you press the letter ‘D’
…well…it doesn’t really, I’m just up late and wrestling with Python3 so thought I’d have some fun 😀
Take a look at MobaXterm can run multiple sessions sftp from the session can make folders for sessions can use it for RDP really nice product can use it for x-forwarding when running headless rou can even run VNC sessions with it