...
the source is:
root@10.11.12.13/batm/vpngen/cli-adminusers/vpnUjdoe.ovpn
the target is:
.
(a period represents “here”: the current directory).
Finally, using the above examples, this command would copy the OVPN source file to the current directory:
Code Block |
---|
scp root@10.11.12.13:/batm/vpngen/cli-adminusers/vpnUjdoe.ovpn ./ |
this example assumed assumes password authentication is currently enabled (default configuration).
WE URGE YOU TO Afterwards: AVOID USING PASSWORDS FOR SSH. Convert to Public Key Authentication as soon as practical, and disable password-based SSH .
Implementing public keys are recommendedlogins from that point forward.
Password-based logins can be very insecure.
Public Key Authentication is secure and well-documented on the Internet:
You may be asked to confirm the “authenticity of host”. If this is the first time you’ve connected to that server, then do soconfirm it. You should not encounter that obstacle again for that server (unless the server has been rebuilt or compromised). It is a security checkpoint.
Modified (if you have heeded our warnings and implemented public key SSH access):
...