Linux - как подключиться к серверу по ssh используя приватный ключ

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Доступная цена


Linux - как подключиться к серверу по ssh используя приватный ключ

Для подключения к серверу с приватным ключем - нужно использовать опцию -i и путь к самому ключу:

# ssh -i /root/ssh-rsa.key [email protected]