F5F Stay Refreshed Software Operating Systems Retrieve your PiVPN setup from your device.

Retrieve your PiVPN setup from your device.

Retrieve your PiVPN setup from your device.

K
KutzClan
Member
184
10-16-2016, 01:00 PM
#1
Hello, I attempted to install PiVPN on my Raspberry Pi Zero and everything seemed to work until the final step of generating the client configuration file. I installed it fully but faced problems when trying to export the file from the device. Initially, using the scp command didn’t work because of directory or permission issues. When I tried running a Linux Mint VM and copying the SD card manually, I still couldn’t transfer the file or upload it due to access restrictions. Some error messages indicated the drive wasn’t mounted, even though the SD card appeared on the VM’s desktop. I followed the guide from CircuitDigest, but it didn’t resolve the issue. What should I do now? It feels like I’m stuck. Thanks.
K
KutzClan
10-16-2016, 01:00 PM #1

Hello, I attempted to install PiVPN on my Raspberry Pi Zero and everything seemed to work until the final step of generating the client configuration file. I installed it fully but faced problems when trying to export the file from the device. Initially, using the scp command didn’t work because of directory or permission issues. When I tried running a Linux Mint VM and copying the SD card manually, I still couldn’t transfer the file or upload it due to access restrictions. Some error messages indicated the drive wasn’t mounted, even though the SD card appeared on the VM’s desktop. I followed the guide from CircuitDigest, but it didn’t resolve the issue. What should I do now? It feels like I’m stuck. Thanks.

B
bigminerryan
Junior Member
36
10-23-2016, 12:14 AM
#2
The config file is saved in your personal home folder, ensuring your Pi account has access. What does ls -la show for ~/ovpns/?
B
bigminerryan
10-23-2016, 12:14 AM #2

The config file is saved in your personal home folder, ensuring your Pi account has access. What does ls -la show for ~/ovpns/?

M
mccoop03
Posting Freak
910
10-23-2016, 12:25 AM
#3
I just fixed a similar problem with headless DietPi. By default, my setup uses Dropbear as the SSH server. I realized Dropbear doesn’t have a scp command. In dietpi-launcher I switched to OpenSSH, which does support scp. The DietPi server accepted user@hostname:/Host/remote/file /Client/local/file but then warned me the hostkey didn’t match what was stored on my client.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ It looks like someone might be interfering! There’s a chance a man-in-the-middle attack is happening, or the host key was recently changed. The ECDSA fingerprint from the remote host is SHA256:XXXXXXXXXXX. According to some sources, Dropbear and OpenSSH use different keygen files. I cleared the known hosts file (for OSX it’s /Users/USERNAME/.ssh/known_hosts) and tried scp again. It worked!
M
mccoop03
10-23-2016, 12:25 AM #3

I just fixed a similar problem with headless DietPi. By default, my setup uses Dropbear as the SSH server. I realized Dropbear doesn’t have a scp command. In dietpi-launcher I switched to OpenSSH, which does support scp. The DietPi server accepted user@hostname:/Host/remote/file /Client/local/file but then warned me the hostkey didn’t match what was stored on my client.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ It looks like someone might be interfering! There’s a chance a man-in-the-middle attack is happening, or the host key was recently changed. The ECDSA fingerprint from the remote host is SHA256:XXXXXXXXXXX. According to some sources, Dropbear and OpenSSH use different keygen files. I cleared the known hosts file (for OSX it’s /Users/USERNAME/.ssh/known_hosts) and tried scp again. It worked!