OpenVPN setting up own server 2 errors

8,710

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!

Share:
8,710

Related videos on Youtube

timmyspan
Author by

timmyspan

Studying B.S. for Computer Science specialized in Software Programming through Penn State University.

Updated on September 18, 2022

Comments

  • timmyspan
    timmyspan over 1 year

    I followed a guide on creating your own VPN using OpenVPN and only encountered two errors from openVPN guide. I think my VPN is created but I thought this would be useful since I am in Libraries using open WiFi.

    When I ran sudo ufw allow OpenSSH I got an error message: ERROR: Could not find a profile matching 'OpenSSH'

    Another issue I encounter was after I ran sftp tim@openvpn_server_ip:client-configs/files/client1.ovpn ~/ I received the message ssh: Could not resolve hostname openvpnserverip: Name or service not known Couldn't read packet: Connection reset by peer

    Thanks for any help in advance! I tried running the second command again and it wouldn't terminate so I had to ctrl + c it myself