|Execute Remotely - Secure SSH via private/public keys|
SSH (Secure Shell) is the method used by xCute to execure remotely. SSH can be set up with public-private key pairs and a passphrase.
With a non empty passphrase it is a methodology that increases security over the traditional login and password method.
There are two possible modes, RSA and DSA. xCute supports both.
Using RSA, you need to store the private key in your mobile and the public key in your server.
Using DSA, you need to store both private and public keys in your mobile and the public key in your server.
xCute will save the private key in the mobile, it will NOT transfer it anywhere else, not even to your iCloud account.
You need to generate at least one pair of private/public keys. You can use this pair across several servers or you could generate one pair per group/project/server.
1 - Generating SSH public/private keysTo generate a pair of keys, you use the traditional ssh-keygen mechanism on any Linux/Unix/MaxOS machine.
First check if you already have a pair of keys:
If you found id_rsa.pub and id_rsa skip this box. If not do the following to create one pair of keys:
ssh-keygen will ask for a destination path, accept with the <return/enter> key.
When ssh-keygen exits, it would have generated a pair of key files, a private and a public key:
2 - Transfering the public key to your servers
3 - Transfering the private key to your mobile via emailTo transfer the private key to your mobile you need to send it to xCute. The simplest way is to do it by email by selecting its contents from where you have generated it:
4 - Transfering the private key from the email to xCuteYou need to select and copy - in your mobil - the contents of the private key you received by e-mail. Do not worry if when selecting it in the email there is extra text before of after the key, xCute will ignore it, just Select All and Copy:
|In xCute, you paste the key to the Import page of either the global settings or host settings. Remember to Save after the Paste.|
5 - Using a DSA key pairThe differences when installation DSA key pairs are: