scp -i <yourpem-file> <local-path>/alfresco-ansible-deployment-<version>.zip centos@<control-node-ip>:/home/centos/
Could you tell me pls what command i must write to transfer Transfer the ZIP file to the control node and SSH into the machine:
I have admin username,192.168.241.138 ip address,and i downloaded alfresco-ansible-deployment-1.0.zip
The path to this file is /home/admin/alfresco-ansible-deployment-1.0.zip
I write this command there is an error appear
scp -i /home/admin/alfresco-ansible-deployment-1.0.zip admin@192.168.241.138:/home/admin/
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 ... [[user@]host2:]file2