Scott Neugroschl
2014-Aug-26 00:05 UTC
Blanks in filenames generated by ssh-keygen (Was RE: GSSAPI)
Scott Neugroschl wrote:>Thanks, Damien. I was trying to debug an issue in this code. Turns out there was a trailing blank in > my host key file name. I'll look at ssh-keygen.c and see if I can rectify that.Is there a particular reason to allow leading/trailing blanks in the key file name? If there is no such reason, then buf should be trimmed in ask_filename(), around line 250 (OpenSSH 6.6p1). ScottN