Question

How would I go about doing this on the terminal?

sftp then asks me for a password. how do I include my DSA key so that I do not have to use the password?

Was it helpful?

Solution

As sftp uses SSH protocol for communication, you may generate private/public key pair using ssh-keygen (read everything their!). Then read this HOWTO about how to transfer your key to remote server. If you need more, read more detailed description of OpenSSH Public Key Authentication.

If you setup your key correctly, and remove SSH server is configured to use key authentication, you will be granted the access without additional password.

OTHER TIPS

If you have ssh-agent running, holding the key to the site, it will handle authentication for you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top