Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I get user public key authentication to work with SSH2?

0
Posted

How do I get user public key authentication to work with SSH2?

0

From the FAQ in the 2.2 distribution (I’ll add more to this later): In remote_host (this is the host where you want to connect to): Add the following line to file ~/.ssh2/authorization: key id_dsa_1024_a.pub #or whatever is your pub keys name In local_host (this is the host you want to connect from): Add the following line to ~/.ssh2/identification: idkey id_dsa_1024_a #or whatever is your private keys name You have to create your keypair in local_host, and transfer the .pub-part to remote_host to your $HOME/.ssh2/ there. Generate the keys using ssh-keygen (see ‘man ssh-keygen’ for details).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123