From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.help Subject: unable to visit /ftp:USER@MACHINE.com:~ Date: Fri, 11 Aug 2017 18:23:26 +0200 Message-ID: <87378y2hvl.fsf@len> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502468673 27376 195.159.176.226 (11 Aug 2017 16:24:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2017 16:24:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 11 18:24:26 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgCjW-0006Z1-1x for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2017 18:24:22 +0200 Original-Received: from localhost ([::1]:54250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgCjc-00011n-FZ for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2017 12:24:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgCiq-0000yj-40 for help-gnu-emacs@gnu.org; Fri, 11 Aug 2017 12:23:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgCin-0008PS-0Z for help-gnu-emacs@gnu.org; Fri, 11 Aug 2017 12:23:40 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:52057) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgCim-0008O0-LN for help-gnu-emacs@gnu.org; Fri, 11 Aug 2017 12:23:36 -0400 Original-Received: from len.workgroup ([84.189.133.19]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MHHdb-1dth821DjX-00E3lW for ; Fri, 11 Aug 2017 18:23:33 +0200 Mail-Followup-To: help-gnu-emacs@gnu.org X-Provags-ID: V03:K0:CSYowb75A1lp3Rw2yMIZ2qVJz00/k0wM9fdcbLYqs/7gMM+GtcR WkfkHBqOI89/d/1NQNUs3oQlCcB9inAn4E9DaMumv5EEMBGrsQTHY2zoF+43wU+yGDkB71V SMSPtTPYckjoY4zOdeVYeN5598+FdQq8Qg8ySOcP33TApBqjYIlLius7MM/C63RZs59PoMu SeFFQtg1PshjBr1oIkOTA== X-UI-Out-Filterresults: notjunk:1;V01:K0:A7V0k43zVKI=:Db/iZapiP4540e8QriAahS x+HuXfMfjKK5DLnvjF6DVt0nGuUW7Zx8PyuJoY3zO6P6SpKSIHRjE9SWE3yemXo+9N7SqxfGy yrBnxJV9oQtnii7/enWCbU1xmUog2rSW/s/7BVftTeAGJnmc9TchDkqk7N/lVO6ZtNSb31QMy pXdwYtKLmkFcfvRHxnmcgmnPXXXCNhUtqGByhdbmV3T6C3CESJGQkkn38ReYzxrlzbAHVHuHl lP9jIR0tUkuZ7zHVQg33SLUdSor+ot2NVWhGxVL2KDTtcKWSOjFt5+sTNZ5yJ8P3K3wNlWpmp 3TJMUB7vcq8OrYNRzzQT9sYTw8mcmHhRobL0fDLjKyfzkPPvaM13ZfBq3KW7fGK6977jB/vDf evAl1c8VEbeqfpcensmzMniiCtOhXgoobOO4XRttSFOzR7mO4GUTH161Vzeo77gRPuas4FIwF 62j7xmK7UlC3OoM28Kek9j6XCeUtu8t9iYZeXovHAWTBESuumrRi0uqxyqzGUm02CWu7crZwd mIkKezjwNW3nMfBNDwTbRMjgOartKyaef6gbW1SNzklyJQufoVkTSDOvKQ8szk0G2aUboEf5H wQYUhuuDDfJDv8SIp1yuo03GeaJWyZB1s+WrbeJ/fVG/FG4GP3aCYSkU+1QA4sAjR5KaN4U31 fO5JKLYAuSEwnAr03YBPJ7PRJtaRpSCvktFE2omSTSKk47hthApIbFT1am02NgAFmwuph77tl HMkFa0NV4g+D91KxS8nFE2LC3RWCBi69DTmDEn9RdqB3+uVZQMw2MPIJTmkD7X0gVw0AbXPx X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113988 Archived-At: 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