I'm using a Mac and shelling into the pi. Pivpn is installed and ready to go, just can't get to the .ovpn file and would like to transfer it to my Mac. Is there a way to copy to my Mac and then drop into Tunnelblick? I've tried the scp command to copy it to my downloads folder, and it looks like it works, but then it doesn't appear in the downloads folder. Trying to get the configuration file to drop into Tunnelblick and get everything working--stuck on last step.
Thank you!
.
curl install.pivpn.io | bash
pivpn add or pivpn add nopass
pivpn debug
What you've done should work. Try just copying the file to /tmp/.
Are you getting any sort of error message from scp, or is it actually claiming to copy the file.
I’m not getting any error messages, it just lists the file example.ovpn 100% 5125 5.0KB/s 00:00
I’ve tried copying to my Mac’s downloads, desktop, tmp, always the same thing—looks like it’s doing it correctly, but then can’t locate the file.
On Jan 27, 2017, at 11:12 PM, fyellin notifications@github.com wrote:
What you've done should work. Try just copying the file to /tmp/.
Are you getting any sort of error message from scp, or is it actually claiming to copy the file.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/pivpn/pivpn/issues/194#issuecomment-275826028, or mute the thread https://github.com/notifications/unsubscribe-auth/AXlNnRQS0gem3AKsCKT7PrP778fTK3Yfks5rWsA8gaJpZM4LwS76.
I found a solution. I downloaded Cyberduck to connect to the Pi through SFTP. I saw the OVPN file immediately and could transfer it. Thanks for your help!
On Jan 27, 2017, at 11:12 PM, fyellin notifications@github.com wrote:
What you've done should work. Try just copying the file to /tmp/.
Are you getting any sort of error message from scp, or is it actually claiming to copy the file.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/pivpn/pivpn/issues/194#issuecomment-275826028, or mute the thread https://github.com/notifications/unsubscribe-auth/AXlNnRQS0gem3AKsCKT7PrP778fTK3Yfks5rWsA8gaJpZM4LwS76.
I still wished I knew what the problem was. I've had no problem with scp.
It’s possible I was doing it wrong, although it is strange that it looked like it worked and didn’t give me an error message. Is there a guide for commands for Jessie lite or a resource site?
On Jan 30, 2017, at 5:29 PM, fyellin notifications@github.com wrote:
I still wished I knew what the problem was. I've had no problem with scp.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/pivpn/pivpn/issues/194#issuecomment-276212606, or mute the thread https://github.com/notifications/unsubscribe-auth/AXlNna-CPiBDn4a2zBCy5vkJqBx_vk2Iks5rXmQ7gaJpZM4LwS76.
I used this method via netatalk and it worked perfectly!
http://www.instructables.com/id/How-to-share-files-between-Mac-OSX-and-Raspberry-P/
I personally don't think this is an issue of pivpn, but I'll share you my method anyway.
What I did is using the scp utility on the mac. Open up your terminal.app and enter te following command:
scp <username_of_pi>@<ip_of_pi>:/home/<username_of_pi>/ovpns/<chosen_username>.ovpn ~/Desktop/
Replace the fields with your information and you should be ready to go. The chosen_username is the name you've chosen when generating an ovpn file at the end of 'pivpn add'.
Hope this helps.
EDIT: This will transfer the file to your Mac Desktop.
old issue, marked as information as scp info can be useful for someone else.
Closing.
Most helpful comment
I personally don't think this is an issue of pivpn, but I'll share you my method anyway.
What I did is using the scp utility on the mac. Open up your terminal.app and enter te following command:
scp <username_of_pi>@<ip_of_pi>:/home/<username_of_pi>/ovpns/<chosen_username>.ovpn ~/Desktop/Replace the fields with your information and you should be ready to go. The chosen_username is the name you've chosen when generating an ovpn file at the end of 'pivpn add'.
Hope this helps.
EDIT: This will transfer the file to your Mac Desktop.