Page 1 of 1
Copying ta.key from HDA to laptop
Posted: Wed Dec 15, 2010 8:19 am
by ontariolta
I have followed the instructions on Prevent SSL Handshake Timeouts in OpenVPN until the last step. It says put a copy of ta.key into the folder on the client. I know the folder but how do I get a copy of the ta.key from the HDA to my laptop? Maybe a simple question to a techie but I'm not one so any help would be appreciated.
Re: Copying ta.key from HDA to laptop
Posted: Wed Dec 15, 2010 8:35 am
by bigfoot65
Its says to do this:
OK, there is one more thing left to do on server, you need to copy "ta.key" to a shared folder, because you have to use it on VPN client. a simple way to do this is to enter the following command, it will copy "ta.key" to "Docs" share folder which is accessible via Windows Share:
cp /etc/openvpn/amahi/ta.key /var/hda/files/docs
Once you have done that, you can access the Docs share and copy it with Windows Explorer or a file manager for whatever client you use.
Re: Copying ta.key from HDA to laptop
Posted: Wed Dec 15, 2010 10:56 am
by ontariolta
Thanks for the info about using windows explorer.
Now I get:
Error Copying File or Folder
Cannot copy ta: Access is denied
Make sure the disk is not full or write protected and that the file is not currently in use.
I have a copy of the file in my user /doc folder as well as the one in the hda/files/docs. I tried to copy both and got the same error.
Now what?
Re: Copying ta.key from HDA to laptop
Posted: Wed Dec 15, 2010 11:12 am
by bigfoot65
Best way to access the share is using \\hda form the Windows Run box. Also, sounds like a permission issue.
Make sure the file you are trying to copy has the same ownership as all the other files in the /var/hda/files/docs folder. To make it match, you can do a chown user:group filename.
For example, if your files are owned by user foo and group bar, it would be chown foo:bar filename.
Hope that helps. BTW, there is some linux help in the wiki as well should you need it.
Re: Copying ta.key from HDA to laptop
Posted: Wed Dec 15, 2010 1:00 pm
by ontariolta
Thanks. I now have a copy of the ta.key file in my config folder for HDAconnect.
Re: Copying ta.key from HDA to laptop
Posted: Wed Dec 15, 2010 3:03 pm
by bigfoot65
Awesome...glad it is working for ya.