all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Killing a hung ssh process in a TRAMP session
Date: Thu, 07 Jan 2010 09:41:28 +0100	[thread overview]
Message-ID: <877hrufgsn.fsf@gmx.de> (raw)
In-Reply-To: 4B458C2F.9010709@gmail.com

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> Hi everyone,

Hi,

> Is there any way I could tell emacs not to reconnect when this
> happens? I tried running `ps uf -u `whoami`' and kill the shell
> running the hung ssh process. But that only re-spawns the process
> again.
>
> Is there anyway around this? Hopefully I have explained my predicament
> clearly. Thanks for any advice on this.

Usually, you should be able to interrupt Tramp's activities by
C-g. Which version of Tramp do you use? You find it out by
"C-h v tramp-version".

Furthermore, there are some commands to close a connection.
"M-x tramp-cleanup-connection" allows you to close a connection.
"M-x tramp-cleanup-all-connections" closes all existing connections, and
"M-x tramp-cleanup-all-buffers" does the same, and deletes also related
buffers.

Best regards, Michael.




  reply	other threads:[~2010-01-07  8:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-07  7:24 Killing a hung ssh process in a TRAMP session Suvayu Ali
2010-01-07  8:41 ` Michael Albinus [this message]
2010-01-07 15:29   ` Suvayu Ali
2010-01-07 15:46     ` Michael Albinus
2010-01-14  6:23       ` Suvayu Ali
2010-01-17 12:23         ` Michael Albinus
2010-01-17 19:18           ` Suvayu Ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hrufgsn.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=fatkasuvayu+linux@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.