SSH
enter the mainframe but remotely like a cool hackerman hacker!!11!!1!
alr so basically we don't like password authentication. so we will use ssh keypairs. (use your own email)
ssh-keygen -t ed25519 -C "table@liltable.dev"
now we shall copy over our newly generated key to the remote mainframe we want to enter like a cool hackerman hacker!!11!!1!
ssh-copy-id table@hackerman.local
Enabling Key-based SSH on Windows
Alright, so Windows doesn't normally let you do this by default. Which means we must explicitly enable it.
This requires Powershell stuff.
Set-Service -Name ssh-agent -StartupType Automatic
Start-Service ssh-agent
And then we tell the SSH agent where our super secret SSH keys are stored. And see if it can see them.
ssh-add ~/.ssh/id_ed25519
ssh-add -l