====== SSH доступ по ключам ====== --- //[[winogradov@list.ru|lonebuddha]] 2023/05/07 08:29// Доступ по RSA-ключам с putty/pscp-клиента под win32 на openssh/sshd-сервер Генерация ключей на клиенте >puttygen.exe, Generate, Save public key (.pub), Save private key (.ppk) Копирование открытого ключа на сервер >pscp.exe .pub username@server:/tmp/ Установка открытого ключа на сервере ssh-keygen -i -f /tmp/.pub >> /home//.ssh/authorized_keys service sshd restart Доступ по закрытому ключу >putty.exe, Connection=>SSH=>Auth=>Authentication parameters=> Private key for authentication => >pscp.exe -i username@server:/remote/path/ {{tag>FreeBSD ssh}}