본문 바로가기

NCS/Kali Linux

Kali 09. Enable ssh for root

1. Modify sshd_config file

vi /etc/ssh/sshd_config

PermitRootLogin yes


2. Start ssh daemon

 # systemctl start ssh


3. Auto start daemon at system booting

# update-rc.d ssh enable S 3 4 5


4. Reboot


# 추가적으로 다음을 데몬 관리 도구를 설치

apt-get install sysv-rc-conf

sysv-rc-conf

ssh  3(X) 4(x) 5(x) S(x)

q(빠져나오기)