Private key (-i key_file) percent_expand problem when path contains percent sign (%)

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

 



I have problems ssh:ing with my private key when the user's.

I run Debian Jessie, with (other than whatever Debian has done)
non-modified OpenSSH:

   $ aptitude show openssh-client |grep Version:
   Version: 1:6.7p1-3

The problem is I get this fatal error without a remote connection being
made:

   $ ssh user@xxxxxxxxxxx
   percent_expand: unknown key %/

My $HOME is "/srv/www/example.com/%".

If I give the full path to the directory with the -i parameter I get the
same error. If I provide a relative path, with `pwd` equal to $HOME, it
works just fine:

   $ pwd
   /srv/www/kulturhusfestivalen.se/%
   $ ssh -i /srv/www/example.com/%/.ssh/id_rsa user@xxxxxxxxxxx
   percent_expand: unknown key %/
   $ ssh -i .ssh/id_rsa user@xxxxxxxxxxx
   The authenticity of host 'example.com'...

So it boils down to the -i parsing with a percent sign (which doesn't
expand) it seems. Anyone else experiencing this or can reproduce it?

-- 
Mikael Nordfeldth
XMPP/mail: mmn@xxxxxxxxxx
OpenPGP fpr: AE68 9813 0B7C FCE3 B2FA  727B C7CE 635B B52E 9B31

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux