Mailing List Archive

[Bug 579] Can't specify files with whitespace in the name in ssh_config
http://bugzilla.mindrot.org/show_bug.cgi?id=579

Summary: Can't specify files with whitespace in the name in
ssh_config
Product: Portable OpenSSH
Version: -current
Platform: PPC
OS/Version: Mac OS X
Status: NEW
Severity: minor
Priority: P2
Component: ssh
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: harry@scms.waikato.ac.nz


I can't find any way to specify an IdentityFile or UserKnownHostsFile with
whitespace in the name. For example if ssh_config contains one line,

UserKnownHostsFile=/Library/Application\ Support/Miranda/known_hosts

and I run the command

ssh -F ssh_config miranda@miranda

I get the error message

ssh_config line 1: garbage at end of line; "Support/Miranda/known_hosts".

I've tried various combinations of quote marks and backslashes with and without
the equals sign.

ssh -V reports

OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090609f

Thanks,

Harry.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.