chattr +a ~/.bash_history
What does this do?
Very clever, +1.
11–20 of 49 posts
Earlier quoted context omitted.
In defense, you're not recording keystrokes. Simply taking bash history which is already recorded locally and moving it to the cloud.
You are giving all your bash history to a third party, that is incredibly scary and if you can't see the security implications then you need to rethink your product.
Creator here! Wow, didn't think this would get posted on HN all of a sudden. Would love to hear your feedback or ideas, I'm very actively developing the project. ryan@bashhub.com
The security implications are terrifying.
[In case it wasn't clear, above was mildly tongue-in-cheek; secrets should not be in your bash history, but of course things approaching (and including) PII may well be]
>#ignore added to any command will omit it from being saved. Simply add it to the end of any command and it won't be recorded in Bashhub. A space at the start of the command will do the same in Bash itself - with this work for bashhub?
Yes, if you configure your history to ignore space. It won't be put in Bashhub. Actually just added a filter command as well. You can export BH_FILTER="some-regex" and it'll ignore all those commands. Just released in 0.0.14!
Earlier quoted context omitted.
The security implications are terrifying.
I'd hope not. What winds up in your bash history? [In case it wasn't clear, above was mildly tongue-in-cheek; secrets should not be in your bash history, but of course things approaching (and including) PII may well be]
Also accidental pastes from other windows occasionally.
There are people who would not be wary of sending this kind of information remotely to be stored by someone else.
But I think the intersection of these types would be small.
There are people who use bash enough--and in such a way--that they'd benefit from this kind of .bash_history backup and analysis. There are people who would not be wary of sending this kind of information remotely to be stored by someone else. But I think the intersection of these types would be small.