paint-brush
Keeping SSH Connection Alive for Longer Durationsby@clumsycoder
735 reads
735 reads

Keeping SSH Connection Alive for Longer Durations

by Kaushal Joshi4mJune 3rd, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

A few weeks ago, I was working on a project that had Husky pre-push hook configured. After working on it for a few days, I noticed that sometimes code is not getting pushed to the remote repository. If the connection is inactive for a certain period of time, it terminates itself due to timeout. Luckily, we can do this in the terminal itself. The terminal must be connected to your GitHub account via SSH. The solution is to keep the connective alive until husky finishes its task.

Company Mentioned

Mention Thumbnail
featured image - Keeping SSH Connection Alive for Longer Durations
Kaushal Joshi HackerNoon profile picture
Kaushal Joshi

Kaushal Joshi

@clumsycoder

SWE Intern @ Hackernoon | MERN Stack Developer | Technical Blogger

Learn More
LEARN MORE ABOUT @CLUMSYCODER'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Kaushal Joshi HackerNoon profile picture
Kaushal Joshi@clumsycoder
SWE Intern @ Hackernoon | MERN Stack Developer | Technical Blogger

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here