News for hackers. Stuff that matters.
Re:Emacs Tramp over AWS SSM APIs by kstrauser on Tuesday July 13, 2021 @02:45PM (#27824596)
Configuring OpenSSH's ControlMaster setting here makes an enormous difference. Summary: it keeps a connection open for a while in case you want to connect to the same machine again. If you do, it reuses that connection so the new one is nearly instant.
Re:Emacs Tramp over AWS SSM APIs by Scarbutt on Tuesday July 13, 2021 @05:20PM (#27826466)
I'll give it a try, thanks.
Re:Emacs Tramp over AWS SSM APIs by kstrauser on Tuesday July 13, 2021 @07:15PM (#27827387)
Examples, starting with a new connection to a server I haven't accessed recently:

  ᐅ time ssh myserver exit
  
  Executed in    1.66 secs
Now visiting it again uses the existing connection:

  ᐅ time ssh mastodon exit
  
  Executed in   55.89 millis
Re:Emacs Tramp over AWS SSM APIs by kstrauser on Wednesday July 14, 2021 @12:59PM (#27835316)
(Assume the hostname is identical in both cases. I edited one and not the other. Oops!)