[Resolved] Trouble SCP'ing static key off remote server
Posted: Mon Feb 17, 2014 8:29 pm
Hello All,
I am in the process of reconfiguring a remote OpenVPN server- I interact with it solely through SSH for now.
Getting away from certificates because of a particular users location we're setting up keys, and I generated a static key on the remote box
I'm now trying to SCP that file to my local machine. After hitting one brick wall after another, if I run the SCP command from my local machine I get the following:
If I run the SCP command on the remote machine, it asks for a passphrase that I don't have nor ever created.
I've modified permissions on the remote file (though maybe not correctly?). I recognize that this may very well not be an OpenVPN issue, and as such I will certainly go elsewhere...but I thought I'd start here.
Thanks so much!
I am in the process of reconfiguring a remote OpenVPN server- I interact with it solely through SSH for now.
Getting away from certificates because of a particular users location we're setting up keys, and I generated a static key on the remote box
Code: Select all
sudo openvpn --genkey --secret /etc/openvpn/openvpn-key.txt
Code: Select all
Warning: Identity file openvpn-key.txt not accessible: No such file or directory.
ssh: connect to host XX.XXX.XXX.XXX port 22: Network is unreachable
I've modified permissions on the remote file (though maybe not correctly?). I recognize that this may very well not be an OpenVPN issue, and as such I will certainly go elsewhere...but I thought I'd start here.
Thanks so much!