Copying ta.key from HDA to laptop

ontariolta
Posts: 34
Joined: Mon Nov 22, 2010 7:28 am

Copying ta.key from HDA to laptop

Postby ontariolta » Wed Dec 15, 2010 8:19 am

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Copying ta.key from HDA to laptop

Postby bigfoot65 » Wed Dec 15, 2010 8:35 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

ontariolta
Posts: 34
Joined: Mon Nov 22, 2010 7:28 am

Re: Copying ta.key from HDA to laptop

Postby ontariolta » Wed Dec 15, 2010 10:56 am

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?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Copying ta.key from HDA to laptop

Postby bigfoot65 » Wed Dec 15, 2010 11:12 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

ontariolta
Posts: 34
Joined: Mon Nov 22, 2010 7:28 am

Re: Copying ta.key from HDA to laptop

Postby ontariolta » Wed Dec 15, 2010 1:00 pm

Thanks. I now have a copy of the ta.key file in my config folder for HDAconnect.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Copying ta.key from HDA to laptop

Postby bigfoot65 » Wed Dec 15, 2010 3:03 pm

Awesome...glad it is working for ya.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 17 guests