tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ssh ControlMaster=yes, known_hosts, etc.


From: Gary .
Subject: ssh ControlMaster=yes, known_hosts, etc.
Date: Wed, 31 Mar 2010 16:05:11 +0200

Okay, first maybe you can clear something up for me - does tramp use
.ssh/known_hosts? I'm asuming it does (when using ssh) but I've
occasionally seen odd behaviour that makes me wonder.

Secondly, is tramp supposed to automatically clear up ssh sessions and
processes when I close the file I am editing? I got a *lot* of ssh
processes running, to the extent that I couldn't start any more programs
(yeah, Windows...).

As a result of finding all of those processes, I wanted to try using
single connections for all my activity on any particular host, so added
 Host *
 ControlMaster auto
 ControlPath ~/.tmp/address@hidden:%p
to my .ssh/config file.

This didn't actually work, and appears to be a problem with the system I
am using not supporting it. Okay. I can live with it, since it seems I
must, but in that case I really need some way of making sure I don't
leave stale processes around (yeah, it looks like I can do that
manually, but I'll forget!). Does anyone have any ideas? I notice
(tramp-cleanup-all-connections) doesn't kill off the ssh processes,
rather frustratingly.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]