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

Re: Re: Public key SSH with Midnight Commander



> sshfs ip.address.of.host: mountpoint -o
> IdentityFile="~/.ssh/id_remote"
> 
> The reference from the sshfs help output and manpage is a
> bit obscure
> refering the reader to the ssh_config man page for ssh
> option where
> IdentityFile is described.

Better method: specify the identify file per host in
~/.ssh/config. That will work with sshfs and anything else
using openssh as a backend. E.g.

    Host foo
    IdentityFile ~/.ssh/id_dsa_foo

However, if your authentication agent has a key loaded, the
ssh connection should try to use it for a connection, so
you could just make sure you've ssh-added all the identity
files prior to using sshfs/mc etc.


-- 
Jon Dowland



Reply to: