3 ms·
I know what you mean, but I disagree with "security experts". You don't need to be a security expert, just know the basics of how privileges work on your system
by viraptor 10y ago
I know what you mean, but I disagree with "security experts". You don't need to be a security expert, just know the basics of how privileges work on your system. And if people don't, we just need to keep calling it out, because otherwise code like this ends up in production one day, where it actually matters.
Simpler bash equivalent for the record:
scp script_demo.py "$1"
ssh "$1" python script_demo.py
scp "$1":output/* ./output/
- anantzoid 10y agoExactly. If you're a ML person, you must be working with Linux in most cases. And in such case, you need to be familiar with the types of permissions, cause that's relevant even during the installation of various libraries, doing ssh etc.