cancel
Showing results for 
Search instead for 
Did you mean: 

SSH Keys

 
Highlighted

SSH Keys

I have a vendor who wants to connect via sftp using rsa keys to share information.  I have several vendors already doing this but they are using dsa keys.  When I generated an rsa key for the new vendor it 'broke' the connection for all my other dsa vendors.  Is it not possible to have both dsa and rsa public keys or do I need to make a configuration change elsewhere to allow this? 

4 REPLIES 4
Established Member

Re: SSH Keys

How did you generate the RSA keys?  Are you sending or receiving data?  What message are you getting when you try to communicate with your DSA partners?

Highlighted

Re: SSH Keys

$ ssh-keygen -t rsa

No passphrase used. 

The dsa connections stopped and requested a password.  I restored the .ssh directory to before I created the rsa keys and it started working again using dsa keys.  

Highlighted
Established Member

Re: SSH Keys

If you decide to try again it might help to get a directory listing before and after you create the rsa key to see if anything is getting changed that should not be.

The other thing I would trying is running ssh -v before and after you create the rsa keys.  This should show you what ssh is looking for.

 

Highlighted
Acclaimed Contributor

Re: SSH keys (DSA vs RSA)

I have a mixture of DSA and RSA keys and no problems.  At least in my ~/.ssh/.

I'm not sure about the authorized_keys file.