[Top][All Lists]

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

Re: reading ~/.ssh2/hostkeys

From: Michael Albinus
Subject: Re: reading ~/.ssh2/hostkeys
Date: Fri, 23 Jan 2004 00:15:12 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/20.7 (hpux)

Adrian Lanz <address@hidden> writes:

>> Please let me know whether this works for you.
> Yes. thanks a lot. I did not realize that we use a non open ssh at our
> company, sorry.
> It should be easy to also read out the username from the file? The
> files start with something like:
> Subject: lanz
> Comment: "host key for, accepted by lanz Mon Dec 22 2003 \
> 00:45:08 +0100"
> .....
> where lanz (the entry in the Subject field) is the username.

I don't think that it makes sense. The user mentioned here isn't a
remote user but the local one responsible creating the file in

If you want to get the user "lanz" by default, you can change the
following line in the function I've provided last message:

        (push (list "lanz" (match-string 1 (car files))) result))

Nevertheless, new function committed to Tramp CVS.

> Thanks, Adrian.

Best regards, Michael.

reply via email to

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