- Find OpenSSH Client, then select Install
- Find OpenSSH Server, then select Install
Once setup completes, return to Apps and Optional Features and you should see OpenSSH listed.
3. To generate the RSA key, run the following command from a PowerShell or cmd prompt on your client:
- ssh-keygen -t rsa -b 4096
Launch application
Add additional SSH Keys to the application
You can grant SSH access to a running Application by appending new public keys to the authorized_keys file.
- Display your public key by running: cat ~/.ssh/id_rsa.pub (note: SSH key must be named id_rsa.pub)
- Add the public key to the Application's authorized_keys file (~/.ssh/authorized_users) using your preferred editor like vim or nano.
- You can optionally "echo" the SSH key on the command prompt and re-direct the output by running: echo {pubkey} >> ~/.ssh/authorized_users. Replace {pubkey} with your actual public key located in the id_rsa.pub file on your local machine.