Generate the SSH private key fails with error
unknown key type ed25519
possibly outdated open-ssh?
Steps to reproduce the behavior
./algo choosing digitalocean as provider and No to every question
Full log
What provider would you like to use?
1. DigitalOcean
2. Amazon EC2
3. Microsoft Azure
4. Google Compute Engine (only for testing, see issue #369)
5. Install to existing Ubuntu 16.04 server
Enter the number of your desired provider
: 1
Enter your API token. The token must have read and write permissions (https://cloud.digitalocean.com/settings/api/tokens):
[pasted values will not be displayed]
:
Name the vpn server:
[algo.local]:
What region should the server be located in?
1. Amsterdam (Datacenter 2)
2. Amsterdam (Datacenter 3)
3. Frankfurt
4. London
5. New York (Datacenter 1)
6. New York (Datacenter 2)
7. New York (Datacenter 3)
8. San Francisco (Datacenter 1)
9. San Francisco (Datacenter 2)
10. Singapore
11. Toronto
12. Bangalore
Enter the number of your desired region:
[7]: 2
Do you want macOS/iOS clients to enable "VPN On Demand" when connected to cellular networks?
[y/N]: n
Do you want macOS/iOS clients to enable "VPN On Demand" when connected to Wi-Fi?
[y/N]: n
Do you want to install a DNS resolver on this VPN server, to block ads while surfing?
[y/N]: n
Do you want each user to have their own account for SSH tunneling?
[y/N]: n
Do you want to apply operating system security enhancements on the server? (warning: replaces your sshd_config)
[y/N]: n
Do you want the VPN to support Windows 10 clients? (requires RSA certificates and key exchange, less secure)
[y/N]: n
Do you want to retain the CA key? (required to add users in the future, but less secure)
[y/N]: n
PLAY [Configure the server] ****************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [Generate the SSH private key] ********************************************
fatal: [localhost -> localhost]: FAILED! => {"changed": true, "cmd": "echo -e 'n' | ssh-keygen -C algo@ssh -t ed25519 -f configs/algo.pem -q -N \"\"", "delta": "0:00:00.025021", "end": "2017-04-10 12:05:45.252851", "failed": true, "rc": 1, "start": "2017-04-10 12:05:45.227830", "stderr": "unknown key type ed25519", "stdout": "", "stdout_lines": [], "warnings": []}
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1
Solved by updating openssh in Yosemite via homebrew to current version 7.5. Hoping it doesn't break anything, as all guides for doing this in Yosemite are outdated
OS / Environment
OS X Yosemite 10.10.5
Ansible version
2.2.0.0
Version of components from
requirements.txt
Summary of the problem
Generate the SSH private key fails with error
unknown key type ed25519
possibly outdated open-ssh?
Steps to reproduce the behavior
./algo choosing digitalocean as provider and No to every question
Full log