Открытый ключ не работает… но он соответствует ключ хоста

В функции print_utline из исходного кода utmpdump вы можете найти литовую справку:

static void print_utline(struct utmp ut, FILE *out)
{
....
    /*       pid    id       user     line     host     addr       time */
fprintf(out, "[%d] [%05d] [%-4.4s] [%-*.*s] [%-*.*s] [%-*.*s] [%-15s] [%-28.28s]\n",
       ut.ut_type, ut.ut_pid, ut.ut_id, 8, UT_NAMESIZE, ut.ut_user,
       12, UT_LINESIZE, ut.ut_line, 20, UT_HOSTSIZE, ut.ut_host,
       addr_string, time_string);
}
1
24.10.2015, 16:45
1 ответ

Замените

 IdentityFile .ssh/id_rsa,.ssh/id_dsa

в вашем / etc / ssh_config на

 IdentityFile ~/.ssh/id_rsa

, если ваш закрытый ключ размещен в ~ / .ssh / id_rsa

2
27.01.2020, 23:36

Теги

Похожие вопросы