News for hackers. Stuff that matters.
Re:BASH autocomplete for SSH by jacknagel on Saturday January 21, 2012 @12:02PM (#3493945)
HISTIGNORE=ssh

It won't strip existing lines, but will prevent them from being recorded in the future.

Re:BASH autocomplete for SSH by jacknagel on Saturday January 21, 2012 @07:01PM (#3495098)
Sorry, should be

    HISTIGNORE=ssh*
(the pattern has to match the entire line.)

Like many shell variables, this one is a colon-separated list.