• B правой части каждого сообщения есть стрелки и . Не стесняйтесь оценивать ответы. Чтобы автору вопроса закрыть свой тикет, надо выбрать лучший ответ. Просто нажмите значок в правой части сообщения.

В файле /etc/ssh/ssh_config нет строки PermitRootLogin

Aslanbek

New member
03.11.2019
2
0
BIT
0
В файле /etc/ssh/ssh_config нет строки PermitRootLogin. Kali Linux 2019.3, ядро 5.3.0. Все пакеты обновлены.
Код:
Host *
# ForwardAgent no
# ForwardX11 no
# ForwardX11Trusted yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# IdentityFile ~/.ssh/id_ecdsa
# IdentityFile ~/.ssh/id_ed25519
# Port 22
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
# VisualHostKey no
# ProxyCommand ssh -q -W %h:%p gateway.example.com
# RekeyLimit 1G 1h
 SendEnv LANG LC_*
 HashKnownHosts yes
 GSSAPIAuthentication yes
Надеюсь на мудрость олдов
 

f22

Codeby Academy
Gold Team
05.05.2019
1 909
226
BIT
1 542
В файле /etc/ssh/ssh_config нет строки PermitRootLogin. Kali Linux 2019.3, ядро 5.3.0. Все пакеты обновлены
А рутом подключиться получается?
ssh root@localhost

Ты не тот файл смотришь ))
Нужные тебе настройки находятся в /etc/ssh/sshd_config
 
Последнее редактирование:
Мы в соцсетях:

Обучение наступательной кибербезопасности в игровой форме. Начать игру!