|Transferring from the Command Line|
Public key authentication (SSH Key) is a more secure alternative to password authentication that allows users to avoid entering or storing a password, or sending it over the network. Public key authentication uses the client computer to generate the key-pair (a public key and a private key). The public key is then provided to the remote computer's administrator to be installed on that machine.
If you are using this machine as a client to connect to other Aspera servers with public key authentication, you can create key-pairs from the command line, as follows:
> md user_home_dir\.ssh
Go to the .ssh folder:
> cd user_home_dir\.ssh
> ssh-keygen -t key_type
> openssl pkcs8 -topk8 -v2 aes128 -in id_rsa -out new-id_rsa
Provide the public key file (for example, id_rsa.pub) to your server administrator so that it can be set up for your server connection. The instructions for installing the public key on the server can be found in the Setting Up a User's Public Key; however, the server may be installed on an operating system that is different from the one where your client has been installed.
> ascp -T -l 10M -m 1M -i "user_home_dir\.ssh\id_rsa" myfile.txt email@example.com:\space
In this example, you are connecting to the server (10.0.0.2, directory /space) with the user account jane and the private key user_home_dir\.ssh\id_rsa.