1
vote
2answers
281 views

Amazon EC2 - Creating new RSA/DSA Keypair

I'm going to keep this quick. A friend of mine's dev locked him out of his EC2. Now I'm not familiar with Amazon EC2, but I've setup my fair share of keypairs. Note: I will get the PEM/PPK ...
1
vote
1answer
195 views

Enforce sshd key algorithm

In ssh_config I have the HostKeyAlgorithms parameter where I can enforce the use of DSS algorithm for the key, like: HostKeyAlgorithms "ssh-dss" How can I do this in sshd_config (daemon config) in ...
6
votes
3answers
12k views

How to use openssh sftp command with a RSA/DSA key specified from the command line

The Openssh ssh and scp command provied an -i command line option to specify the path to the RSA/DSA key to be used for authentication. Looking at the sftp man pages I was not able to find a way to ...