OpenSSH

putty Генерация ключей -- как создать ключи в puttygen Windows + OpenSSH формат

Сначала качаем puttygen.exe отсюда.

Запускаем и нажимаем "Generate" (водите мышкой по пустой области - чтобы создать "случайность"))

А затем сохраняем публичный и приватный файлы ключ (кнопки "Save public key" "Save private key").

Пример "рабочего" кофига (конфигурафионного файла) для OpenSSH

#	$OpenBSD: sshd_config,v 1.65 2003/08/28 12:54:34 markus Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

#Port 22
#Protocol 2,1
Protocol 2
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
Subscribe to RSS - OpenSSH