• 0 Posts
  • 67 Comments
Joined 1 year ago
cake
Cake day: August 24th, 2023

help-circle















  • 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 [email protected] “echo ‘`cat ~/.ssh/id_rsa.pub`’ > ~/.ssh/authorized_keys && echo ‘Match User !root
    PasswordAuthentication no
    Match all’ > /etc/ssh/sshd_config’ && exit” && ssh [email protected]

    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.





  • Acters@lemmy.worldtoMemes@lemmy.mlme_irl
    link
    fedilink
    arrow-up
    3
    ·
    7 months ago

    Sounds like good advice, but most guys with chub can still land a woman.

    Is it more important not to do it at the workplace or other non-social settings. Also, looking nice, (think about having it done professionally) is a must for good impressions, especially first impressions. Along top of that, just training the charisma without worrying about someone’s feelings being hurt is a great way to practice. Usually with friends, but can be done with random people as long as you pick your battles and don’t push them aggressively. Not greatest advice, but making friends, being funny, and standing your ground on your beliefs will land you the right one. Don’t chase a pretty girl. That’s just asking for trouble.