Alternative to terminal for ssh/nc?

Commissario
Joined
16 Oct 2002
Posts
343,122
Location
In the radio shack
Morning all.

I use terminal a lot. I've always got at least two windows open where I'm connected to a Pi either via ssh or nc.

I generally log on to the Pis with key pairs (or whatever they're called) and I type the login commands manually in terminal. I don't care about fancy editors and stuff like that, I just want to be able to select the connection and have it happen automatically, ideally with the saved window size.

For example, this is how my two sessions look on my MBA (the grey background is from the app I'm running on the session).

UyHb0KP.png


I detest dark mode so it needs to be white on black, just like a normal terminal window.

Is there such an app that I can use for this? It would be nice if it can sync connections between Macs and I don't mind paying a couple of quid if I have to but not a subscription.

Ta.
 
Ta.

Putty is horrible, the interface and functionality was designed by a three year old who has no design skills (or brain cells).

Cyberduck may be an option, I do already have that but hadn't even considered it.

Termius is subscription.

I'll have a look at Warp.
 
Hmm, I've tried a couple this morning and they all ask for an SSH keyfile for the connection.

I don't have them. All the key things are stored in ~/.ssh/known_hosts

I'm sure I'm missing something stupid here, I feel I should know this.
 
Cool. The contents of id_rsa.pub should be in authorized_keys on the pi. In Termius or whichever program you've chosen you should be able to specify id_rsa as the private key, sometimes it's chosen by default.
I did try that, it didn't work.

Both Terminal and iTerm2 allow for multiple profiles with the option of executing a custom command at session start. I just get it to execute the SSH command and have shortcuts assigned for different boxes.
Oh, I never even realised Terminal has profiles. That might be the way to do it, thanks.
 
You can probably do everything you want with the stock Terminal app and a combination of profiles and window groups.

To set up profiles, click Terminal on the top menu -> Settings. On the profiles tab select the profile that has the colour customisations you want then click duplicate. Now on your duplicated profile click the Shell tab and set the run command as "ssh your_pi_user@your_pi_ip_address" (whatever you normally manually type to connect) - tick run inside shell. Repeat for your other connections.

Now you can launch it from Shell on the menu and clicking New Window or New Tab.

To use window groups, open up the connections how you want them (after launching via the profiles you created) and then click Window -> Save Windows as Group. You can then restore them via Window -> Open Windows Group. That should open in the exact positions you saved them in.
That's really good, thanks. I've got the two windows I always open, configured in a window group.

The question is whether I can script that Window Group to open via Alfred now :)
 
Back
Top Bottom