Multiple SSH Sessions in a Single Window with EasySSH | TechRepublic (2024)

I frequently remote into various servers throughout the day. Sometimes, I wind up having to bounce from machine to machine such that I can’t remember what IP address is associated with what machine. Anyone who’s managed numerous serves gets this.

SEE: 40+ open source and Linux terms you need to know (TechRepublic Premium)

How do you make this process a bit more efficient? Yes, you could always simply construct your SSH config file such that you can SSH into those machines with commands like:

ssh web1ssh db1ssh dev1

Although that’s a simple solution if you prefer GUI tools, what should you use? For me, at least on Linux, one of the best options is called EasySSH. This tool is found in the standard repositories and makes it really easy to manage multiple SSH connections. From this one GUI, you can configure multiple connections, organize them into groups and keep your connections running in tabs. EasySSH also features user configuration, and key authentication.

EasySSH was written by the team behind elementary OS, so you know it’s very user-friendly.

Let’s get this tool installed and see how easy it makes SSH management.

What you’ll need to install and use EasySSH

The only thing you’ll need to install EasySSH is a Linux distribution and a user with sudo privileges. Unfortunately, the app isn’t available for either macOS or Windows, but there are plenty of amazing SSH GUIs for those platforms, such as Server Cat for macOS which happens to be one of my favorites.

How to install EasySSH

Let’s install EasySSH on Ubuntu-based distributions. Here’s how:

sudo apt-get install easyssh -y

Because EasySSH is found in the default repositories, that’s all there is to the installation. Unfortunately, the app isn’t found in the Fedora repositories. However, EasySSH can be installed with Flatpak, which is supported by most Linux distributions. For Flatpack installation, the command is:

flatpak install easyssh

That’s all there is. You’re ready to start using EasySSH.

How to use EasySSH

As with most GUI tools, using EasySSH is extremely simple. Open the app from your desktop menu and click the + button in the top left corner (Figure A).

Figure A

Multiple SSH Sessions in a Single Window with EasySSH | TechRepublic (1)

In the resulting window (Figure B), fill out the information for the remote machine.

Figure B

Multiple SSH Sessions in a Single Window with EasySSH | TechRepublic (2)

Here are the details for each section:

  • Name: A human-readable name for the remote connection.
  • Group: You can create groups to more easily organize your connections.
  • Host: The IP address or domain name for the remote machine.
  • Port: The port used for SSH connections on the remote machine.
  • Username: The remote username you’ll log in with.
  • Password: The password for the remote user.

If you use SSH key authentication for your connections, make sure to click the checkbox for Change Password To Identity File. That text field will change to a drop-down. Click the drop-down and then navigate to your SSH key identity file. By default, that file will be ~/.ssh/id_rsa.pub file. Of course, I highly recommend using SSH key authentication, which is very easy to set up.

Once you have your connection configured, click Save. With your connection created, all you have to do is double-click its entry in the left pane to open the EasySSH terminal window. If you configured the username and password, the connection will be made automatically. If you configured it with an identity file, you’ll be prompted to type the SSH key password.

You can configure as many connections/groups as you need in EasySSH, which makes remote connections to an entire data center’s worth of Linux machines very easy.

And that’s all there is to make the management of multiple SSH connections considerably more efficient.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the latest tech advice for business pros from Jack Wallen.

Subscribe to the Developer Insider Newsletter

From the hottest programming languages to commentary on the Linux OS, get the developer and open source news and tips you need to know. Delivered Tuesdays and Thursdays

Subscribe to the Developer Insider Newsletter

From the hottest programming languages to commentary on the Linux OS, get the developer and open source news and tips you need to know. Delivered Tuesdays and Thursdays

Multiple SSH Sessions in a Single Window with EasySSH | TechRepublic (2024)

FAQs

Can you have multiple SSH sessions at once? ›

You can configure as many connections/groups as you need in EasySSH, which makes remote connections to an entire data center's worth of Linux machines very easy. And that's all there is to make the management of multiple SSH connections considerably more efficient.

Can I have multiple SSH keys on Windows? ›

If you wish to gain regular access to the Git Fusion host, you can specify the correct key in your ssh command. Alternatively, you can manage multiple SSH keys using the SSH 'config' file on your local machine. This file is located at '~/. ssh/config' when using Linux, Mac or 'Git Bash' on Windows.

What is the limit number of concurrent SSH sessions? ›

Limiting SSH Concurrent Sessions
  • MaxStartups is the option.
  • 10 is the number of unauthenticated connections before SSH starts dropping.
  • 30 is the percentage chance of dropping a connection, once the limit is reached.
  • 60 is the maximum number of connections at which SSH starts dropping everything.
Feb 17, 2024

How do I open multiple SSH sessions in PuTTY? ›

1 Answer
  1. go to Connection > SSH page.
  2. locate "Sharing an SSH connection between PuTTY tools" box.
  3. and check "Share SSH connection if possible"
Feb 9, 2020

Can I SSH into multiple machines at once? ›

The short answer - Yes. It usually works by default. The long answer - Depending on what you are using it for, it may slow down with multiple connections, but that is a bandwidth issue, not an ssh issue.

How to run multiple commands in one SSH? ›

There are 3 ways to run multiple shell commands in one line:
  1. 1) Use ; No matter the first command cmd1 run successfully or not, always run the second command cmd2: ...
  2. 2) Use && Only when the first command cmd1 run successfully, run the second command cmd2: ...
  3. 3) Use ||
Jan 15, 2020

What is the default SSH max session? ›

The MaxSessions setting specifies the maximum number of open sessions that are permitted per network connection. The default is 10. For tuning, the MaxSessions value needs to be increased to 60. The value depends on the number of drives that are attached to a node.

What is maximum concurrent sessions? ›

This feature prevents having more than a configurable number of concurrent sessions. Default value is set to 0, which means the concurrent session check is bypassed. Additional logins are prevented if the maximum concurrent session count has been reached.

How do I see how many SSH sessions I have? ›

To list all connected SSH sessions, you can use the “who -a” command. The -a option shows all users, including those who are not logged in through the system console. The result will show your username, terminal, and login date and time.

Can one SSH key be used multiple times? ›

You can use the same key for multiple remote systems.

How do I manage multiple SSH? ›

Manage Multiple SSH Connections
  1. Step 1 - Locate or Create Your ssh_config File: On most Unix-like systems, the global ssh_config file is located at /etc/ssh/ssh_config . ...
  2. Step 2 - Edit Your ssh_config File: ...
  3. Step 3 - Define Host Aliases: ...
  4. Step 4 - Connect to a Remote Server:
Feb 2, 2024

Can you have multiple SSH tunnels? ›

The way you would configure this would then be to create two SSH Tunnel entries (Tunnel1, Tunnel2). Configure Tunnel1's VPN/SSH/Gateway tab to point to Tunnel2. Then, configure your desired entry (for example, an RDP entry) to point to Tunnel1. Then, when you open the RDP, it should open Tunnel2 > Tunnel1 > RDP.

Can I have 2 SSH ports? ›

Configuring SSH to listen on multiple ports involves modifying the sshd_config file. This file allows the administrator to define additional ports on which the server will listen. Proper configuration ensures that the SSH server can handle connections on all specified ports.

How do I add multiple SSH? ›

Table of Contents
  1. Step 1: Double-check if you have an existing SSH key. ...
  2. Step 2a: If you don't have an existing SSH key, generate a new SSH key. ...
  3. Step 2b: Save the SSH key in the according file of your choice. ...
  4. Step 3: Adding the SSH to the ssh-agent. ...
  5. Step 4: Add your SSH private key to the ssh-agent.

What is the max session in SSH config? ›

The MaxSessions setting specifies the maximum number of open sessions that are permitted per network connection. The default is 10. For tuning, the MaxSessions value needs to be increased to 60. The value depends on the number of drives that are attached to a node.

Top Articles
Dentists' debt-to-income ratios worse than other health workers
Can You Leave the Airport During a Layover?
NYT Mini Crossword today: puzzle answers for Tuesday, September 17 | Digital Trends
Weeminuche Smoke Signal
Phone Number For Walmart Automotive Department
Shorthand: The Write Way to Speed Up Communication
Oppenheimer & Co. Inc. Buys Shares of 798,472 AST SpaceMobile, Inc. (NASDAQ:ASTS)
Which Is A Popular Southern Hemisphere Destination Microsoft Rewards
R Tiktoksweets
C Spire Express Pay
Bowie Tx Craigslist
finaint.com
Dc Gas Login
Invert Clipping Mask Illustrator
St Maries Idaho Craigslist
Morristown Daily Record Obituary
Promiseb Discontinued
Samantha Aufderheide
Is Windbound Multiplayer
Air Traffic Control Coolmathgames
Doublelist Paducah Ky
27 Paul Rudd Memes to Get You Through the Week
Thick Ebony Trans
Craigslist Maryland Trucks - By Owner
Vivaciousveteran
Lovindabooty
SOGo Groupware - Rechenzentrum Universität Osnabrück
Costco Jobs San Diego
Generator Supercenter Heartland
Craigslist Auburn Al
Rugged Gentleman Barber Shop Martinsburg Wv
Promatch Parts
Kltv Com Big Red Box
In Branch Chase Atm Near Me
24 slang words teens and Gen Zers are using in 2020, and what they really mean
Cheap Motorcycles Craigslist
Craigslist Boats Eugene Oregon
Elgin Il Building Department
8005607994
Ashoke K Maitra. Adviser to CMD's. Received Lifetime Achievement Award in HRD on LinkedIn: #hr #hrd #coaching #mentoring #career #jobs #mba #mbafreshers #sales…
Aurora Il Back Pages
Pro-Ject’s T2 Super Phono Turntable Is a Super Performer, and It’s a Super Bargain Too
Wasmo Link Telegram
Cocaine Bear Showtimes Near Cinemark Hollywood Movies 20
Po Box 101584 Nashville Tn
Caesars Rewards Loyalty Program Review [Previously Total Rewards]
Terrell Buckley Net Worth
5103 Liberty Ave, North Bergen, NJ 07047 - MLS 240018284 - Coldwell Banker
40X100 Barndominium Floor Plans With Shop
Page 5747 – Christianity Today
The Latest Books, Reports, Videos, and Audiobooks - O'Reilly Media
OSF OnCall Urgent Care treats minor illnesses and injuries
Latest Posts
Article information

Author: Lidia Grady

Last Updated:

Views: 6501

Rating: 4.4 / 5 (45 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Lidia Grady

Birthday: 1992-01-22

Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

Phone: +29914464387516

Job: Customer Engineer

Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.