jeroenpeeters / docker-ssh

SSH Server for Docker containers ~ Because every container should be accessible
GNU General Public License v2.0
638 stars 89 forks source link

public key auth via authorized_keys file #16

Closed bdelbasso closed 7 years ago

bdelbasso commented 7 years ago

Hello.

This is a proposed implementation of public/private key authentication mechanism.

I've adapted public key example from underlying ssh2 lib to use an authorized_keys file.

Thanks for reviewing.

Benoit