Syntax: ssh -i x.pem root@server "command" ssh root@server "command" Setup: 1. login using private key: Generate ssh public and private key pairs using ssh-genkey . 2. copy the public key to the destination server under a user. location of the content to be pasted > vi .ssh/authorized_keys 3. test the tunnelling from the source server .i.e ssh root@server RKE SSH Config: cluster.yml changes ssh_agent_auth: true Note: make sure the ssh_key_path is proper . If it's protected by passphrase then you need to run following commands to allow current terminal session to get access to key storage . > eval $(ssh-agent -s) > ssh-add ( this will allow current ag...