Skip to content

Supybot Website

Sections
Personal tools
You are here: Home » Members » Planet Ali » Sshd Plugin » Documentation » SSH RSA Public Key Authentication

SSH RSA Public Key Authentication

Document Actions
A description on how to use RSA public keys to authenticate with Supybot.

Introduction

The SSH protocol supports a method by which authorization is achieved using an authorized RSA public key, that the client sends, and the server can verify.

All the protocols using SSH authenticate using the same set of public keys.

How Does It work?

In the data directory for Supybot, the Gateway plugin will create (if not already exisiting) the directory Gateway/keys/ssh/authorized. Inside this directory will be placed files each containing a public key for an authorized client, and named as the user's username.

On connection attempts, the client's key will be checked against the key (if any) for that user in the authorized directory. If the keys match, the user is authorized, if not, the session moves on to password authentication.

How to generate keys?

To generate a pair of client keys using OpenSSH, execute:

    ssh-keygen -t rsa

Created by ali
Last modified 08:10 May 20, 2005
 

Powered by Plone

This site conforms to the following standards: