Closed GoogleCodeExporter closed 8 years ago
Fixed in r72. The sed expression in _known_hosts now goes like this:
sed -ne 's/^[ \t]*[Hh][Oo][Ss][Tt]\([Nn][Aa][Mm][Ee]\)\?['"$'\t
'"']\+\([^#*?]*\)\(#.*\)\?$/\2/p'
Note that SSH allows a comment after `Host' but not after `HostName'. In the
latter
case you'll get an error message when trying to scp/ssh/sftp:
garbage at end of line; "#".
Original comment by fvu...@gmail.com
on 31 Oct 2008 at 10:21
Original issue reported on code.google.com by
fvu...@gmail.com
on 31 Oct 2008 at 12:28