• 0 Posts
  • 30 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2023

help-circle











  • The rules now are generally: bare metal if that’s all the box will do, or it’s main task, container if it’s one of many services, vm if it’s a larger application you might migrate and i/o isn’t your limitation.

    The line between container and vm is fuzzy, but bare metal means you’re making a design choice for that machine and if that or another application breaks the machine you’re screwed.

    In a way freebsd is amazing for this, you put all applications in jails and don’t use the main userspace much, but the virtualiztion story isn’t quite there yet.



  • I did not know -J, I rolled my own because I’ve been doing it forever and many of my tricks (non-ssh included) aren’t as easily portable across different os’s.

    For some reason ssh-copy-id has been failing for me sometimes lately because it can’t reach the agent, while cat always works, but I never learned much about the user agent, let me look into that now, thanks for the tip!


  • InverseParallax@lemmy.worldtoSelfhosted@lemmy.worldSelf hosted SSH key repository?
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Have an alias so trusted hosts can bounce through my authorization host and end up on a tmux session on the targetted host. It has logging and such but mostly it’s for simplicity.

    If I plan to use that connection a lot there’s a script to cat my priv key through the relay.

    Have an scp alias too, but that gets more complicated.

    For more sensitive systems I have 2fa from gauth set up, works great.