bug with -i

John Horne J.Horne at plymouth.ac.uk
Fri Oct 27 20:52:22 EST 2000


On 26-Oct-00 at 23:43:16 Eric Youngblut wrote:
> The code that handles identity files listed on the command line only
> adds the files to the options.identity_files array, which is for RSA
> keys.  If you use the SSH2 protocol and have a DSA identity, you
> cannot specific it with -i on the command line.
> 
To avoid this I used the ssh '-o' option and instead of using '-i' used:

   '-o "IdentityFile2 ~/.ssh/backups"'

(this was from our backups script).

HTH

John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: jhorne at plymouth.ac.uk
PGP key available from public key servers





More information about the openssh-unix-dev mailing list