all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Haines Brown <haines@histomat.net>
To: help-gnu-emacs@gnu.org
Subject: Re: run ssh in emacs
Date: Fri, 16 Jan 2015 15:55:41 -0500	[thread overview]
Message-ID: <87wq4m30oi.fsf@bach.histomat.net> (raw)
In-Reply-To: mailman.18043.1421438398.1147.help-gnu-emacs@gnu.org

Michael Albinus <michael.albinus@gmx.de> writes:

> The ftp method is not handled by Tramp; Tramp redirects all work to
> ange-ftp.el. And that package does not use auth-ources, it simply relies
> on ~/.netrc.

Michael, sorry to be so slow on the uptake. For my Emacs 24, ELPA tells
me that ange-ftp is built in, and so I would not expect to see any
ange-ftp.el file. I gather that if I use a tramp command to transfer a
file by ftp, it is authomatically done with ange-ftp.

I presume that since I want to use ftp, I need to define the login in
the .netrc. I have this line there:

  machine uss-irex.info login ussir03 password "Geheim"

I open an emacs session amd issue this command:

  C-x C-f /ftp:issir03@uss-irex.info: 

The messages buffer tells me:

  Waiting for prompts from remote shell
  ssh: connect to host ftp port 22: No route to host.

Can on infer from this that ange-ftp is attempting to log in to the
remote FTP server? But I thought port 22 was SSH? Does "No route" mean
that there is either no such server or account? Is it possible the
hosting service introduced some kind of sercurity measure of which I am
unaware (if there's nothing wrong with what I'm doing at this end, I'll
have to pursue this with them)? 

In *messages* buffer:

  Tramp: Waiting for prompts from remote shell
  Tramp: Sending command `exec ssh   -e none ftp'
  Tramp: Opening connection for ftp using ssh...done
  Tramp: Opening connection for ftp using ssh...
  Tramp: Sending command `exec ssh   -e none ftp'

  Tramp: Waiting for prompts from remote shell
  Tramp: Sending command `exec ssh   -e none ftp'
  Tramp: Opening connection for ftp using ssh...done
  byte-code: Process died

I don't know how to interpret this. It seems ange-ftp wants to execute
ssh session but fails.

Haines  



  parent reply	other threads:[~2015-01-16 20:55 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-12 19:32 run ssh in emacs Haines Brown
2015-01-12 19:42 ` Tory S. Anderson
2015-01-13 12:38   ` Haines Brown
2015-01-13 13:04     ` Nikolay Kudryavtsev
2015-01-13 13:18       ` Tory S. Anderson
2015-01-13 13:21       ` Michael Albinus
2015-01-13 13:18     ` Tory S. Anderson
2015-01-13 13:28       ` Michael Albinus
2015-01-13 14:29     ` Tory S. Anderson
2015-01-13 15:16       ` Haines Brown
2015-01-13 15:23         ` Tory S. Anderson
2015-01-13 18:11           ` Haines Brown
2015-01-14  4:26             ` Bob Proulx
     [not found]         ` <mailman.17817.1421162618.1147.help-gnu-emacs@gnu.org>
2015-01-15 16:26           ` Haines Brown
2015-01-15 17:19             ` Ted Zlatanov
2015-01-15 20:26               ` Haines Brown
2015-01-15 21:10                 ` Ted Zlatanov
2015-01-16 17:18                   ` Haines Brown
2015-01-16 19:59                     ` Michael Albinus
     [not found]                     ` <mailman.18043.1421438398.1147.help-gnu-emacs@gnu.org>
2015-01-16 20:55                       ` Haines Brown [this message]
2015-01-16 21:34                         ` Dan Espen
2015-01-16 21:36                         ` Michael Albinus
2015-01-17 12:17                           ` Haines Brown
2015-01-17 17:12                             ` Michael Albinus
     [not found]                             ` <mailman.18073.1421514787.1147.help-gnu-emacs@gnu.org>
2015-01-17 20:15                               ` Haines Brown
2015-01-17 23:32                                 ` Dan Espen
2015-01-18 12:29                                   ` Haines Brown
2015-01-19  2:15                                     ` Dan Espen
     [not found]                           ` <mailman.18064.1421497097.1147.help-gnu-emacs@gnu.org>
2015-01-17 14:13                             ` Dan Espen
     [not found]       ` <mailman.17814.1421162216.1147.help-gnu-emacs@gnu.org>
2015-01-13 16:59         ` Dan Espen
     [not found]     ` <mailman.17800.1421154285.1147.help-gnu-emacs@gnu.org>
2015-01-14 12:14       ` Haines Brown
2015-01-14 19:55         ` Bob Proulx

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=87wq4m30oi.fsf@bach.histomat.net \
    --to=haines@histomat.net \
    --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.