Sometimes it is useful to cleanup remote connections. The following commands support this.
This command flushes all connection related objects. vec is the internal representation of a remote connection. Called interactively, the command offers all active remote connections in the minibuffer as remote file name prefix like /method:user@host:. The cleanup includes password cache (see Password handling), file cache, connection cache (see Connection caching), connection buffers.
This command flushes all objects of the current buffer’s remote
connection. The same objects are removed as in
This command flushes objects for all active remote connections. The
same objects are removed as in
tramp-cleanup-all-connections, all remote connections
are cleaned up. Additionally all buffers, which are related to a
remote connection, are killed.