all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Esben Stien <b0ef@esben-stien.name>
Cc: help-gnu-emacs@gnu.org
Subject: Re: SSH URL
Date: Tue, 01 Apr 2014 08:38:54 +0200	[thread overview]
Message-ID: <87eh1ha70h.fsf@gmx.de> (raw)
In-Reply-To: <87d2h2dx6n.fsf@quasar.esben-stien.name> (Esben Stien's message of "Mon, 31 Mar 2014 20:45:20 +0200")

Esben Stien <b0ef@esben-stien.name> 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.



      reply	other threads:[~2014-04-01  6:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-29 19:40 SSH URL Esben Stien
2014-03-30  2:51 ` Stefan Monnier
2014-03-30 17:48   ` Michael Albinus
2014-03-30 18:41     ` Stefan Monnier
2014-03-30 19:26       ` Michael Albinus
2014-04-01 12:57       ` Michael Albinus
2014-04-01 14:29         ` Stefan Monnier
2014-03-31 18:45     ` Esben Stien
2014-04-01  6:38       ` Michael Albinus [this message]

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=87eh1ha70h.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=b0ef@esben-stien.name \
    --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.