Hi, I'm still throughly testing every needed function before I setup production environment :-)
I tried a very simple test : export "all" in RA to some other computer to test how scp works. And it fails. RA sits on 192.168.1.5 (FreeBSD 5.1). Export line looks like : EXPORT_IMPORT_UP_EXPORT "/usr/bin/tar -cvpf /usr/local/openca/test.tar -C @__SRC__@ ." \ "/usr/bin/scp /usr/local/openca/test.tar [EMAIL PROTECTED]:/home/openca/test.tar" The tar file contains only a file, but at least it isn't empty. Export target is 192.168.1.7 (Red Hat 8) and I have already humanly logged in there to accept the public key. The error is : Exporting archive ... Load required variables ... Changing to directory /usr/local/openca/OpenCA/var/tmp/tmp_81158 ... Running the export command(s) ... /usr/bin/tar -cvpf /usr/local/openca/test.tar -C /usr/local/openca/OpenCA/var/tmp/tmp_81158 . /usr/bin/scp /usr/local/openca/test.tar [EMAIL PROTECTED]:/home/openca/test.tar Export failed! 256 Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,password,keyboard-interactive). lost connection I wasn't asked for the password... If I run scp in command-line I am asked for the password and transfert works. If I run it with -B switch so that it doesn't use the password method, it cannot authenticate with private key. debug1: Host '192.168.1.7' is known and matches the DSA host key. debug1: Found key in /home/openca/.ssh/known_hosts:1 debug1: ssh_dss_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/openca/.ssh/identity debug1: Trying private key: /home/openca/.ssh/id_rsa debug1: Trying private key: /home/openca/.ssh/id_dsa debug1: No more authentication methods to try. Permission denied (publickey,password,keyboard-interactive). What did I forget to do ? I connected once with "openca" account from 192.168.1.5 to 192.168.1.7 so that it knows the public key or the target. Thanks a lot, and sorry because this is a bit offtopic. Barbara Post ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users
