OpenSSH_8.9p1 and public key authenticating

All types of networks, network stacks, and protocols supported by OpenVMS.
Post Reply

Topic author
neliasen
Member
Posts: 8
Joined: Mon Aug 28, 2023 5:23 am
Reputation: 0
Status: Offline

OpenSSH_8.9p1 and public key authenticating

Post by neliasen » Thu Aug 31, 2023 4:37 am

hello guys
Where can I find some documentation for public key authentication and OpenSSH_8.9p1 ?
I have found some old stuff... but that appears to be all for the older version, and does not really correspond to the layout according "sshd_config" for OpenSSH_8.9p1 ...
regards Niels

User avatar

martinv
Master
Posts: 104
Joined: Fri Jun 14, 2019 11:05 pm
Reputation: 0
Location: Goslar, Germany
Status: Offline
Contact:

Re: OpenSSH_8.9p1 and public key authenticating

Post by martinv » Thu Aug 31, 2023 5:24 am

Looking at the first line in my OpenSSH V8.9-1F's SSH$ROOT:[ETC]SSHD_CONFIG. which reads

Code: Select all

#       $OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $
then googling for "OpenBSD sshd_config" and following the first hit, I find this which looks reasonable.
Last edited by martinv on Thu Aug 31, 2023 5:26 am, edited 1 time in total.
There is something wrong with everything that is popular.
(Charles Fort)


Topic author
neliasen
Member
Posts: 8
Joined: Mon Aug 28, 2023 5:23 am
Reputation: 0
Status: Offline

Re: OpenSSH_8.9p1 and public key authenticating

Post by neliasen » Thu Aug 31, 2023 5:47 am

hello
Actually ....
ran ssh_keygen which created the necessary files in the [.ssh] directory, and then copied the id_rsa.pub from my MacBook to [.ssh]AUTHORIZED_KEYS.
did the necessary set file/prot=(s:rwed,o:rwed,g,w) [.ssh]authorized_keys. ... and tada! login works!

Post Reply