• 0 Posts
  • 38 Comments
Joined 1 年前
cake
Cake day: 2023年8月24日

help-circle


  • Gotcha, it’s cheaper to exploit something/someone than to do it ethically. Yet, once it is produced in mass, I’m sure it can be sold at way higher volume and thus sell at a higher revenue stream. Especially once the process is effectively efficient and cheaply done. However, the bump in upfront cost from exploiting for short-term gain to this is rather large. If only there was a relatively community driven system that already takes a percentage of people’s income to lessen the cost or burden for such services as a way to incentivize ethical processes…













  • Hey, I’m autistic! I notice that if I don’t follow the group’s current propaganda fueled nonsense, I am seen as an outsider and hated for asking those hard-hitting questions. Eventually, they think I’m “inflexible” or “will not change my mind” and then say i am “supporting the other guy” or whatever. Like what is wrong with playing with a little of devils advocate to get the full picture. Sheesh






  • Yes, but I usually add my public key to the authorized_keys file and turn off password authentication once i do login with a password. On top of that, I have a sshpass one line command that takes care of this for me. It’s much easier than trying to manually type a password for the next time. I save it and just run it every time I think about using password login. Next time I need to ssh, I know the password login is not necessary.

    sshpass -p ‘PASSWORD’ ssh USER@IP.ADDRESS “echo ‘`cat ~/.ssh/id_rsa.pub`’ > ~/.ssh/authorized_keys && echo ‘Match User !root
    PasswordAuthentication no
    Match all’ > /etc/ssh/sshd_config’ && exit” && ssh USER@IP.ADDRESS

    At the next reboot, your system will now only accept key logins, except for root. I hope the root user password is secure. I don’t require it for root because if a hacker does gain shell access, a password(or priv esc exploit) is all they need to gain root shell. It is also a safety net in case you need to login and lost your private key.