SSH keys
Make an SSH key on macOS, Linux or Windows and paste its public half into bFLOPS.
An SSH key is a pair of files: a private key that stays on your computer, and a public key you give to bFLOPS. The machine lets in only the computer that holds the private key.
Check for a key you already have
ls ~/.ssh/*.pubIf it lists a file such as id_ed25519.pub, skip to Copy the public key.
Make a key
Run this in Terminal on macOS or Linux, or in PowerShell on Windows 10 and 11:
ssh-keygen -t ed25519Press Enter to keep the file where it suggests. A passphrase is optional: it protects the key if someone copies your files.
Copy the public key
Print it:
cat ~/.ssh/id_ed25519.pubCopy the whole line, from ssh-ed25519 to the end. Paste it into SSH public key when you start a machine.
Keys bFLOPS takes
- Types:
ssh-ed25519,ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521, and hardware keys (sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com). - One key per machine, on one line, up to 4,096 characters.
Use another key file
If your key is not the default one, point SSH at it with -i:
ssh -i ~/.ssh/my_key -p 40022 root@203.0.113.7