Fedora 5 SSH Server configuration

Status
Not open for further replies.

mpmackenna

Beta member
Messages
5
I am trying to configure a server to be accesses via SSH. I would like to use SSH2 and require a specific key on the client for login. The SSH server works at this time, but when I login it just creates a key for me as long as I have the login credentials. I would like to restrict access so that the user must already have the appropriate key and login credentials to login. I tried making changes to the SSHd_conf file and creating public and private keys using SSH-keygen, but so far none of my changes seem to be restricting access the way I would like it. I am sure I am just not completely understanding what changes to make to the SSHd_conf file and where to put the appropriate generated keys. Any help would be greatly appreciated. Thanks. Mike
 
figured it out

passwordauthentication in the sshd_conf file has to be set to no. The key files go in the client .ssh directory, and the pub key gets appended to .ssh/authorized_keys.
 
Status
Not open for further replies.
Back
Top Bottom