[Top][All Lists]

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

Re: How to use ‘ssh -i <identity_file>’ with Tramp?

From: Emanuel Berg
Subject: Re: How to use ‘ssh -i <identity_file>’ with Tramp?
Date: Fri, 17 Jun 2022 19:58:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Pankaj Jangid wrote:

>>> When I edit remote files using ssh with default options,
>>> it works fine. But now there is a requirement to use an
>>> identity_file with option -i. How to add this option when
>>> connecting using Tramp?
> Thanks. This works. And I found another option also.
> Use ssh-add to add the IdentityFile to ssh’s own store.
> And then use ssh as usual.

Meta: I hade to fill these quotes manually. Only your mails.
      What's up with the lines?

But to answer your question, see the use of -i here:

Actually it isn't that, that's sh(1) or dash on Debian which
isn't even secure.

underground experts united

reply via email to

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