From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: SSH URL Date: Tue, 01 Apr 2014 08:38:54 +0200 Message-ID: <87eh1ha70h.fsf@gmx.de> References: <87r45kiyjh.fsf@quasar.esben-stien.name> <87bnwnh92n.fsf@gmx.de> <87d2h2dx6n.fsf@quasar.esben-stien.name> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1396334375 9143 80.91.229.3 (1 Apr 2014 06:39:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2014 06:39:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Esben Stien Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 01 08:39:29 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WUsM4-0001Gm-EP for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Apr 2014 08:39:28 +0200 Original-Received: from localhost ([::1]:52828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUsM3-0005Ax-Q0 for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Apr 2014 02:39:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUsLl-00059V-Vn for help-gnu-emacs@gnu.org; Tue, 01 Apr 2014 02:39:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUsLf-0005Q6-Mz for help-gnu-emacs@gnu.org; Tue, 01 Apr 2014 02:39:09 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:53453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUsLf-0005Q1-DI for help-gnu-emacs@gnu.org; Tue, 01 Apr 2014 02:39:03 -0400 Original-Received: from detlef.gmx.de ([93.202.59.15]) by mail.gmx.com (mrgmx001) with ESMTPS (Nemesis) id 0MbOoG-1WnVA03az6-00IoZb; Tue, 01 Apr 2014 08:39:01 +0200 In-Reply-To: <87d2h2dx6n.fsf@quasar.esben-stien.name> (Esben Stien's message of "Mon, 31 Mar 2014 20:45:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:eJNlCfC7PdTNVw2P8FyLUCR5RglJ86eP2kQ43LgfCP9CQt3mz3l 5jGkwriXyZlA/2TRgPkIqPhAU8r0fugejsu+qln5PErCP3uYBawgp9zhyup8j2+SL16MvfP UlJpMmqilgn5z5RROdooO/8z7t0ZPdKMRNDhUY+ReJDwSdyBTgJedry77CPJ3WLHRkizRXP V4nK3ZrtaPJ+dXa7dkt3A== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96897 Archived-At: Esben Stien writes: >> Tramp has denied to add passwords to the file name syntax so far, for >> security reasons. I don't believe that I would like to change this policy. > > Is there any way I could get around this? Yesterday, during a boring hour, I've added some glue code to url-handlers.el. Didn't look bad, when I've tested in *scratch* (progn (url-handler-mode 1) (insert-directory "ssh:///" "-al" nil 'full)) For the password thing, you could use Tramp's password caching mechanism. Or you could add an entry to .authinfo; Tramp uses auth-source.el if appropriate. > I have a specific use case where this would save me lots of time and the > security aspects are nothing I worry about. > > These are ssh urls to restricted accounts for websites. > > I basically want to just follow the url and be logged into the site, do > my thing and get out. I have no idea what you mean with this. Could you give me an example of what you're doing, usually? Best regards, Michael.