mmaxsim.ucoz.ua
Меню сайта
Категории раздела
Ubuntu [69]
Ubuntu
DLE [7]
баги. фиксы и тд
Windows [6]
eyeOS [3]
FreeBSD [5]
FreeBSD
Linux [0]
VMware ESXi [7]
Amazon kindle [0]
Debian [4]
Trimax TR-2012HD [1]
Статистика

Онлайн всего: 1
Гостей: 1
Пользователей: 0
Главная » 2011 » Октябрь » 19 » error: PAM: authentication error for root” when trying to SSH to FreeBSD server as “root”
15:57
error: PAM: authentication error for root” when trying to SSH to FreeBSD server as “root”

On a new installed FreeBSD server, when you try to SSH to the server as root, you will end up in the below error.

error: PAM: authentication error for root from 10.1.XXX.XXX

This is because by default "root” logins are disabled in SSH. You will have to enable this in the "/etc/ssh/sshd_config”. In many forums, you will notice that people ask you not to enable this. What they argue is true, but when I in closed network, I want to be able to login as root for many reasons which is why I’m writing this up.

In the "/etc/ssh/sshd_config” file, make sure you have below lines for you to be able to use "root” login using SSH. If any of the line doesn’t exist, you can add it to the file or if it is commented out, uncomment it.

PermitRootLogin yes
PasswordAuthentication yes
AllowUsers root

Категория: FreeBSD | Просмотров: 1652 | Добавил: Maxs | Рейтинг: 0.0/0
Всего комментариев: 0
Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]
Форма входа
Поиск
Календарь
«  Октябрь 2011  »
ПнВтСрЧтПтСбВс
     12
3456789
10111213141516
17181920212223
24252627282930
31
Архив записей
Друзья сайта
  • Официальный блог
  • Сообщество uCoz
  • FAQ по системе
  • Инструкции для uCoz
  • Copyright MyCorp © 2017