2 ms·
I was being incredibly lazy and did the following: pscp *.jpg root@gibsonandlily.com:/ This was monumentally stupid, I know. Looking on the bright side o
by blhack 17y ago
I was being incredibly lazy and did the following:
pscp *.jpg root@gibsonandlily.com:/
This was monumentally stupid, I know. Looking on the bright side of things, however, I learned my lesson :).
- BrandonM 17y agoYou know that if you just left the slash off, the files go into root's home directory (typically /root/)? On a separate note, I tend to disable root SSH access on my servers. I SSH as a user and then when necessary, I'll su to root. Not only does that kill the temptation to use root as the default login, it also makes it doubly-hard to get to root as far as password-stealing goes.