Keeping SSH Connection Alive for Longer Durationsby@clumsycoder
423 reads

Keeping SSH Connection Alive for Longer Durations

tldt arrow
Read on Terminal Reader🖨️

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

@clumsycoder

Kaushal Joshi

Learn More
LEARN MORE ABOUT @CLUMSYCODER'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa