Wednesday, October 31, 2018

Mac Terminal timeout with SSH - Solved!

If you're like me and have a bajillion things open on your machine, it's a real PITA to have a SSH session timing out after a couple minutes of inactivity. Maybe in certain scenarios this is beneficial, but when I'm on my personal laptop at home, it's not a security risk.

At any rate, it's a really simple fix and it requires the creation/editing of a local user ssh config file.

vi~/.ssh/config

Add lines:

Host *  ServerAliveInterval 60

Save and Exit.

Just tweak some permissions and you'll be good to go.


chmod 600 ~/.ssh/config
That's pretty much it.

Details: http://www.kehlet.cx/articles/129.html

4 comments:

  1. Treasurebox is an online store which provide their customers all the latest household items, outdoor furniutre,electronic gadgets nz, Pop up gazebos nz and much more.
    YOu will be easily buy all the items on a single click

    ReplyDelete
  2. Memang benar bahwa setiap orang yang bermain judi online mengharapkan kemenangan yang besar pada setiap permainan. Namun anda tidak boleh terlalu serakah. Sebaiknya berikan patokan kemenangan yang ingin anda raih disesuaikan dengan modal yang anda bawa juga.
    asikqq
    dewaqq
    sumoqq
    interqq
    pionpoker
    bandar ceme terbaik
    hobiqq
    paito warna terlengkap
    syair sgp

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete