help-gnu-emacs
[Top][All Lists]
Advanced

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

specifying identity file for scp within tramp


From: 锁住子
Subject: specifying identity file for scp within tramp
Date: Thu, 18 Dec 2008 21:26:42 -0800 (PST)
User-agent: G2/1.0

Can anyone tell me if it's possible to direct tramp to use a
particular set of ssh keys when connecting to a particular server? I'm
trying to use scp with the equivalent of the -i option, what I tried
below just seems to confuse tramp, is there some other way I should be
doing this?

(add-to-list 'tramp-default-method-alist
              '("remote_server" "" "scp -i /Users/my_user/.ssh/
my_key"))


Thanks,
Eric


reply via email to

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