Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6043293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:53:01+00:00 2026-05-23T06:53:01+00:00

I use SSH in a terminal window many times during a day. I remember

  • 0

I use SSH in a terminal window many times during a day.

I remember reading about a way to reuse a single connection so that the TCP and SSH handshaking don’t have to happen every time I establish another request to the same host.

Can someone point me to a link or describe how to establish a shared ssh connection so that subsequent connections to the same host will connect quickly?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:53:01+00:00Added an answer on May 23, 2026 at 6:53 am

    Answering my own question. Improving SSH (OpenSSH) connection speed with shared connections describes using the “ControlPath” configuration setting.

    UPDATE: For connections that are opened and closed often add a setting like ControlPersist 4h to your ~/.ssh/config. See this post about SSH productivity tips.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Question: How to use ssh & scp from the Windows command prompt? I remember
Is there a way I can use NSTask to ssh into another computer (in
How can I use expect to send a password to an ssh connection. say
Hi Thanks for reading my question. I currently use Mac Terminal to use MySQL.
When I use emacs from a terminal (xterm-color; a putty ssh session in this
I use ssh-agent with password-protected keys on Linux. Every time I log into a
I am trying to use ssh port forwarding to defeat corporate firewall: ssh git@GIT_SERVER
This is a follow-on question to the How do you use ssh in a
I want to use Net::SSH::Expect in my unix box but unfortunately, it is not
When I try to use an ssh command in a shell script, the command

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.