I wanted to setup a way to allow SSH access to my machine but limit their abilities heavily. To do that I figured a chroot jail was the best way. In this example I’m using ArchLinux and OpenSSH 5.1p1. It…
I wanted to setup a way to allow SSH access to my machine but limit their abilities heavily. To do that I figured a chroot jail was the best way. In this example I’m using ArchLinux and OpenSSH 5.1p1. It…
Перш за все, потрібно згенерувати самі ключі (приватний та публічний). Для цього використаємо утиліту ssh-keygen. Відповідаємо на питання та отримуємо потрібні ключі. $ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/USER/.ssh/id_rsa): 123 Enter…
На клиентской машине, откуда собираемся коннектиться к SSH серверу: cd ~/.ssh ssh-keygen -t rsa -b 2048 На все вопросы отвечаем Enter-ом, тем самым создавая пару ключей, без passfrase (пароля, который будет требоваться при активации ключа). Если вам к ключу еще…