Hi, noob here. I am using 9.10.2-U3. I am trying to setup OpenVPN in jail. The final step is to copy the user .crt and .key files. I used scp like this
I am trying to copy the files from openvpn to the main storage location so I can copy it to an external pc.
The user ks@openvpn has an account and a password. The user ks@freenas.local has the same password.
I can also go into freenas.local from external computer using ssh, but once in I do not know what to do to copy the files. Here is what I did using ssh
Please help. Thanks.
Code:
root@OpenVPN:/ # scp ks@OpenVPN:/mnt/NAS/OpenVPN/mnt/keys/itx-shum.crt ks@freena s.local:/mnt/NAS/ks ks@openvpn's password: Host key verification failed. lost connection
I am trying to copy the files from openvpn to the main storage location so I can copy it to an external pc.
The user ks@openvpn has an account and a password. The user ks@freenas.local has the same password.
I can also go into freenas.local from external computer using ssh, but once in I do not know what to do to copy the files. Here is what I did using ssh
Code:
root@debian:/home/shum# ssh ks@192.168.0.2 ks@192.168.0.2's password: Last login: Fri May 12 12:14:44 2017 from 192.168.0.81 FreeBSD 10.3-STABLE (FreeNAS.amd64) #0 r295946+21897e6695f(9.10.2-STABLE): Thu Apr 20 17:58:31 UTC 2017 FreeNAS (c) 2009-2016, The FreeNAS Development Team All rights reserved. FreeNAS is released under the modified BSD license. For more information, documentation, help or support, go here: http://freenas.org Welcome to FreeNAS [ks@freenas ~]$ ls 2007_01 Sun Rise my_pictures raw-pictures-2 Pictures pictures-email raw_pictures gallery3 piwigo-backup-17-03-13 my_music piwigo_galleries [ks@freenas ~]$
Please help. Thanks.