Skip to content

codenkeg

Just another tech blog

Posted on January 11, 2017January 11, 2017 by Tapioke

How to Keep Your SSH Sessions Alive

(Episode #39 – CLI Monday: How to Keep Your SSH Sessions Alive)

  1. Create a file locally ~/.ssh/config
  2. Host *
      ServerAliveInterval 60
  3. Restart any ssh sessions
$ cat ~/.ssh/config
Host *
  ServerAliveInterval 60

$ chmod 600 ~/.ssh/config
$ chown user:group ~/.ssh/config
CategoriesServer

Post navigation

Previous PostPrevious Setting up parse-server on Ubuntu
Next PostNext Setting up nginx on Ubuntu for parse-server

Categories

  • App Store
  • Core Data
  • Crayon
  • iOS
  • macOS
  • Objective C
  • Server
  • Shell script
  • Spotify
  • Swift 2
  • Swift 3
  • Text
  • TV
  • Uncategorized
  • Web
  • WordPress
  • Xcode

Recent Posts

  • Speed Up Time Machine
  • Converting automatic numbering to manual numbering in Word (Windows)
  • Samsung TV cheat mode
  • MAME on OpenEmu
  • Adding AirPlay

Archives

  • May 2020
  • October 2019
  • October 2018
  • March 2018
  • July 2017
  • January 2017
  • November 2016
  • October 2016
  • September 2016

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress