SSH keys are cryptographic keys used to authenticate users to servers, offering a more secure method than traditional passwords. By leveraging both a public and a private key, SSH keys ensure secure, encrypted communication between the server and the client.
For added convenience, FlyWP allows users to add SSH keys at the team level. Any SSH key added in the “Team Settings” section will automatically be integrated into every new server you create. This ensures that team members can securely access any new server without additional configuration steps.
How to Obtain the Public SSH Key
Generating and accessing SSH keys varies depending on the operating system. Below are the methods for macOS, Windows, and Linux:
macOS & Linux:
- Generate SSH Key: If you haven’t already generated an SSH key, you can do so using the following command in the terminal:
ssh-keygen -t rsa -b 4096
- When prompted, press
Enterto accept the default file location and name.
- You’ll then be asked to enter a passphrase. You can either enter a passphrase or just press
Enterto proceed without one.
- Access Public SSH Key: To view your public key, use the
catcommand followed by the path to your public key. By default, the public key is saved in the
~/.ssh/directory with the filename
- Copy the displayed key to use it in FlyWP or any other application.
- Download and install PuTTY and PuTTYgen from the official website.
- Open PuTTYgen.
- Click the “Generate” button and follow the on-screen instructions.
- Once generated, you’ll see your public key in the “Public key for pasting into OpenSSH authorized_keys file” section.
- Copy the public key to use it in FlyWP or any other application.
Using Windows Subsystem for Linux (WSL):
If you have WSL installed, you can follow the macOS & Linux instructions above, as the process is identical.
Remember: Always keep your private key confidential. The public key, on the other hand, can be shared and is used to allow secure access to services that recognize your corresponding private key.
Adding a SSH Key
On the FlyWP Team Settings page:
- Click “Add New Key” and input your public SSH key.
- Provide a descriptive name for the key, making it easier to identify later.