help-gnu-emacs
[Top][All Lists]
Advanced

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

unable to visit /ftp:address@hidden:~


From: Gregor Zattler
Subject: unable to visit /ftp:address@hidden:~
Date: Fri, 11 Aug 2017 18:23:26 +0200

Dear emacs users,

I'm unable to visit /ftp:USER@MACHINE.com:~
although there is a line

machine  MACHINE.com port ftp  login USER     password "PASSWORD"

in my ~/.authinfo.gpg

with the correct infos instead of the capitalised parts.

This is no configuration issue, since this:

EMACS -Q -nw --eval "(setq auth-source-debug 'trivia)" --eval '(setq 
ange-ftp-netrc-filename "~/.authinfo.gpg")'   /ftp:USER@MACHINE.com:~

does not work for emacs24, emacs25 and emacs-snapshot (emacs from
git as of today) as values of EMACS.  I'm asked by gpg-agent for
my passphrase to the key which decrypts ~/.authinfo.gpg and
actually I am able to visit this file and see it's decrypted
content.

Without setting ange-ftp-netrc-filename I'm not asked by
gpg-agent but instead emacs asks me for the password of
USER@MACHINE.com.


but the result is otherwise the same (besides the line regarding
authinfo.gpg):


*Messages*:
For information about GNU Emacs and the GNU system, type C-h C-a.
Decrypting /home/grfz/.authinfo.gpg...done
Opening FTP connection to ha01s001.org-dns.com...
tramp-file-name-handler: FTP Error: OPEN request failed: open 
ha01s001.org-dns.com



*ftp USER@MACHINE.com*
ftp> open ha01s001.org-dns.com
open ha01s001.org-dns.com
Connected to ha01s001.org-dns.com.
220 ProFTPD 1.3.5b Server (ProFTPD) [212.144.99.144]
234 AUTH TLS successful
[SSL Cipher ECDHE-RSA-AES256-GCM-SHA384]
200 PBSZ 0 successful
200 Protection set to Private
[Encrypted data transfer.]
ftp>

If I then type ls in the *ftp USER@MACHINE.com* (Internal
Ange-ftp:run) buffer I get:

ftp> ls
ls
530 Please login with USER and PASS
ftp: bind: Address already in use
ftp>

This is on debian 9.1 (stretch) with ftp provided by package
ftp-ssl:

~$ type -a ftp
ftp is /usr/bin/ftp
~$ ls -l /usr/bin/ftp
lrwxrwxrwx 1 root root 21 Jul  1 15:38 /usr/bin/ftp -> /etc/alternatives/ftp*
~$ ls -l /etc/alternatives/ftp
lrwxrwxrwx 1 root root 16 Jul  1 15:38 /etc/alternatives/ftp -> 
/usr/bin/ftp-ssl*
~$ file /usr/bin/ftp-ssl
/usr/bin/ftp-ssl: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), 
dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 
2.6.32, BuildID[sha1]=e7426e29e339b8432948fadea38cf0137e6b3e62, stripped
~$





Any ideas how to make emacs/tramp connect to this ftp site?

Thanks for your reading, Gregor




reply via email to

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