News for hackers. Stuff that matters.
Re:Master Emacs in one year by jefurii on Thursday July 24, 2014 @01:43PM (#8081042)
I've had trouble using Emacs to edit remotely via SSH/tramp, but the following ~/.ssh/config settings helped me a lot:

  # stop ssh connections from freezing
  KeepAlive yes
  ServerAliveCountMax 10
  ServerAliveInterval 10
  
  # Lets you bounce through an arbitrary number of hosts.
  # ex: ssh 1sthost/2ndhost/3rdhost
  Host */*
  ProxyCommand ssh $(dirname %h) nc -w1 $(basename %h) %p

There are no comments on this comment yet.