Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

[2024 EXTENDED] Black Friday / Cyber Monday: FLASH SALE & MEGATHREAD

17627637657677681337

Comments

  • emghemgh Veteran, Megathread Squad
    edited December 2024

    @beanman109 said:
    how do i make 1 ssh key and set it up on every single server i have

    By generating an ssh key pair

    And just put the pubkey into one account’s .ssh-authorized_keys on each server

    Easy

    Thanked by 2FAT32 r3k
  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @beanman109 said:
    how do i make 1 ssh key and set it up on every single server i have

    more importantly how fucked am i if i lose the key, how the fuck do pubkeys work

    Thanked by 3Zyra FAT32 r3k
  • beanman109beanman109 Member, Host Rep, Megathread Squad

    its all too much

    Thanked by 2plumberg r3k
  • generate a fancy ssh key first:
    ssh-keygen -t ed25519 -a 100

    Thanked by 4emgh FAT32 admax r3k
  • @beanman109 said:

    @beanman109 said:
    how do i make 1 ssh key and set it up on every single server i have

    more importantly how fucked am i if i lose the key, how the fuck do pubkeys work

    yeah thats a different story.

    Thanked by 3beanman109 FAT32 r3k
  • emghemgh Veteran, Megathread Squad

    @beanman109 said:

    @beanman109 said:
    how do i make 1 ssh key and set it up on every single server i have

    more importantly how fucked am i if i lose the key, how the fuck do pubkeys work

    Just keep the private key on a usb as a backup

    And you’re never really fucked since you have rescue

    Thanked by 1r3k
  • @beanman109 said: how do i make 1 ssh key and set it up on every single server i have

    Pointless! As you still need to login to every server to set it up [and you will already have login+password copied] - just skip ssh keys and copy-paste login data pastebin - one step less!

    Thanked by 2emgh r3k
  • FAT32FAT32 Administrator, Deal Compiler Extraordinaire

    @JabJab said:
    Pointless! As you still need to login to every server to set it up [and you will already have login+password copied] - just skip ssh keys and copy-paste login data pastebin - one step less!

    Just use the same password on every VPS

  • emghemgh Veteran, Megathread Squad
    edited December 2024

    IMO .ssh/config should be everyone’s database of servers they have

  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @FAT32 said:

    @JabJab said:
    Pointless! As you still need to login to every server to set it up [and you will already have login+password copied] - just skip ssh keys and copy-paste login data pastebin - one step less!

    Just use the same password on every VPS

    you're gonna hate what I have to tell you next about my current password scheme

    Thanked by 3FAT32 webcraft r3k
  • emghemgh Veteran, Megathread Squad

    @beanman109 said:

    @FAT32 said:

    @JabJab said:
    Pointless! As you still need to login to every server to set it up [and you will already have login+password copied] - just skip ssh keys and copy-paste login data pastebin - one step less!

    Just use the same password on every VPS

    you're gonna hate what I have to tell you next about my current password scheme

    I already know it’s the same with some small variation

    like beanmanvirmach etc or something line that

    Thanked by 3beanman109 webcraft r3k
  • @FAT32 I need new @VirMach coupon - what happen to your signature/footer?!

    Thanked by 2FAT32 r3k
  • plumbergplumberg Veteran, Megathread Squad

    @beanman109 said:

    @beanman109 said:
    how do i make 1 ssh key and set it up on every single server i have

    more importantly how fucked am i if i lose the key, how the fuck do pubkeys work

    Add 2 keys from 2 different devices.
    Backup the private key, print it out (this will work but will end up taking millions of years for you to type it out, but works)

    Another thing I ended up doing is create an obscure user and set a weird password )print it if you like or stick it to a post it on your screen )

    In that way should things go south you still have a way in.

    Thanked by 3FAT32 beanman109 r3k
  • beanman109beanman109 Member, Host Rep, Megathread Squad

    okay look i tried and googld where ssh keys go in putty and it's not there for me???

    Thanked by 2FAT32 r3k
  • FAT32FAT32 Administrator, Deal Compiler Extraordinaire

    I have to admit I made a mistake last time. One of the VPS I got out of flash sale purchase has a super weak password because I just spammed some gibberish on the password field.

    It was only 4 characters and I forgot about idling it. Few weeks later I got a notice that it has suspended due to abuse and oh well :joy: Boot into rescue mode and it was infected.

    Now I spam even more gibberish when sign up just in case. Will look into all the servers I bought this weekend :joy:

  • @emgh said: I already know it’s the same with some small variation

    beanman + IP address without dots.

    Strong, fast, secure, long!

  • emghemgh Veteran, Megathread Squad

    @beanman109 said:
    okay look i tried and googld where ssh keys go in putty and it's not there for me???

    I think Putty has a separate program for keygen

    Windows can’t do it straight from terminal? Noobs

    Thanked by 2beanman109 r3k
  • Neat321Neat321 Member
    edited December 2024

    *Off-topic: plain SSH client until the end.

    Thanked by 2lukast__ r3k
  • @beanman109 said:
    okay look i tried and googld where ssh keys go in putty and it's not there for me???

    Thanked by 2emgh r3k
  • For putty you need theirs agent, I think plus the format of files is different, PITA.

    Thanked by 2emgh r3k
  • emghemgh Veteran, Megathread Squad

    Why even use Putty

    Even windows can handle .ssh/config now right

    Only took them 30 years but it was worth it

    Keep things simple IMO

  • emghemgh Veteran, Megathread Squad

    @JabJab said:
    For putty you need theirs agent, I think plus the format of files is different, PITA.

    Exactly. Pain

    Thanked by 1r3k
  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @JabJab said:

    @beanman109 said:
    okay look i tried and googld where ssh keys go in putty and it's not there for me???

    what the fuck is KiTTY thats not putty

    Thanked by 2FAT32 r3k
  • Cyber Monday is gone. Lets hope for deal's which made our day Cyber funday.

    Thanked by 2FAT32 r3k
  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @emgh said:

    @beanman109 said:
    okay look i tried and googld where ssh keys go in putty and it's not there for me???

    I think Putty has a separate program for keygen

    Windows can’t do it straight from terminal? Noobs

    and YET people ask why the fuck i'm using passwords for $7 VPS's

    Thanked by 3admax emgh r3k
  • Btw you can just save your private and public ssh key in vaultwarden.
    no difference in losing a password

    Thanked by 4beanman109 FAT32 emgh r3k
  • Me from Page 1 to Page 777

    Thanked by 4FAT32 Zyra Savvy r3k
  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @emgh said:
    Why even use Putty

    Even windows can handle .ssh/config now right

    Only took them 30 years but it was worth it

    Keep things simple IMO

    because i don't know how to connect with an ssh key using command prompt but i CAN do it with a password

    Thanked by 2emgh r3k
  • emghemgh Veteran, Megathread Squad

    @beanman109 said:

    @emgh said:

    @beanman109 said:
    okay look i tried and googld where ssh keys go in putty and it's not there for me???

    I think Putty has a separate program for keygen

    Windows can’t do it straight from terminal? Noobs

    and YET people ask why the fuck i'm using passwords for $7 VPS's

    Just ask chatgpt how to:
    1. Generate a ed25519 keypair on windows
    2. Setup .ssh/config on windows

    Once you’ve fone that, everything will be a breeze I promise you

    Thanked by 2admax r3k
This discussion has been closed.