cjohansson / emacs-ssh-deploy

A deployment plugin via Tramp for Emacs.
GNU General Public License v3.0
154 stars 6 forks source link

Add support for specific SSH identity files #2

Closed cjohansson closed 8 years ago

cjohansson commented 8 years ago

It should be easy to implement SSH identity files just by adding the -i parameter to scp. However must check how this supported by tramp.

cjohansson commented 8 years ago

TRAMP seems to lack the ability for specific identity files, it can use them if configured outside emacs in the local filesystem with ~/.ssh/config or ssh_add. So we should add this feature but it will only affect the scp command not the TRAMP ediff command or ztree-diff command.

http://stackoverflow.com/questions/1353297/editing-remote-files-with-emacs-using-public-key-authentication#10355132

cjohansson commented 8 years ago

There was no need to fix this since it's better to setup SSH with custom identity-files using ~/.ssh/config