OpenVPN setting up own server 2 errors

I have encountered the same ERROR:

ERROR: Could not find a profile matching 'OpenSSH'

So what I did was to run:

sudo apt-get install ssh

After installing, I ran:

cd ~/openvpn-ca
sudo ufw allow OpenSSH

And I verified it with:

sudo ufw status

I hope it will work for you too!


$ sudo ufw allow OpenSSH
ERROR: Could not find a profile matching 'OpenSSH'

Run

sudo apt-get install ssh

and then:

$ sudo ufw allow OpenSSH
Rules updated
Rules updated (v6)
$ sudo ufw status
Status: inactive
$ sudo ufw enable
Firewall is active and enabled on system startup
$ sudo ufw status
Status: active
To                         Action      From
--                         ------      ----
8080                       ALLOW       Anywhere                  
OpenSSH                    ALLOW       Anywhere                  
8080 (v6)                  ALLOW       Anywhere (v6)             
OpenSSH (v6)               ALLOW       Anywhere (v6)