tramp-cleanup-connection

tramp-cleanup-connection is an interactive autoloaded Lisp function in `tramp-cmds.el'.


(tramp-cleanup-connection VEC &optional KEEP-DEBUG KEEP-PASSWORD)

Flush all connection related objects.
This includes password cache, file cache, connection cache,
buffers. KEEP-DEBUG non-nil preserves the debug buffer.
KEEP-PASSWORD non-nil preserves the password cache.
When called interactively, a Tramp connection has to be selected.