• 0 Posts
  • 66 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle
















  • FigMcLargeHuge@sh.itjust.workstoLinux@lemmy.mlSSH login without user name?
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    2 months ago

    I only have experience with Bitbucket, and absolutely none if this may be applicable to you, but we have to generate a key with certain parameters (a minimum) for them to work, and the public key has to be input into a field on your account. So while you do not need to “provide” a username to perform git commands, it is set up in your account as your private key. The command to gen the key is: ssh-keygen -t rsa -m PEM -b 4096 -C “your.email@domain.com

    Once you put your public key into your bitbucket account, using that key will mark all changes you make to you. Is this what you are talking about or am I just off in left field?


  • Son, is that you? I had a linux machine setup for my kids with a reverse proxy. I let them have a handful of websites that were whitelisted and they could go directly to. Everything else was off limits unless I ok’ed it and added it to the list. It still boggles my mind at the scoffs I would receive from other parents, and even my spouse at the time.



  • Mine falls along with the people who were distracted. Was doing two deployments for work on night and on one I need to clear a cache. As I was typing the cd command, I happened to glance at the instructions for the other deployment and for some reason my mind switched to the deployment folder. I then typed out rm -rf *, and as I hit return realized I wasn’t in the cache subdir. Blew away our prod environment and it took hours to get it all restored. The restore kept asking the guy to go pull tape #xxx. It was nerve wracking because depending on the tape, there was a chance it was moved offsite. Got it all restored and turned it back on, and then had to start back from the beginning since the backup was from the night before. The other people doing deployments weren’t too happy, but I owned up immediately and we ended up changing the procedure. First, the cache clearing was done via a script after that, and I won my argument about not having to do two deployments simultaneously!