Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- 랜섬웨어
- software
- wargame
- node.js
- SQLMap
- PetitPotam
- #C언어 #연산자
- filesystem
- #whitespace #
- 정보보안
- pwnable
- rce
- elk stack
- 침해사고
- sql인젝션
- Mitre
- 백엔드개발자
- forensic
- error 583066
- Credential Access
- 프론트엔드개발자
- elasticsearch
- windows
- 시스템해킹
- ATT&CK
- 가이드라인
- Threat Intelligence
- exploit
- Index
- AD
Archives
- Today
- Total
Plit00's Story
Ubuntu 20.04 LTS SSH 문제 본문
*sudo 제외
apt install network-tools
apt update && sudo apt upgrade -y
apt install openssh-server -y
sudo systemctl enable --now ssh 할 시
Synchronizing state of ssh.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable ssh
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down 라는 오류가 뜸
이건 systemctl이 없다고 하는건데 해결 방법은
apt-get install systemd
"service 서비스명 start"
"ser
service ssh start #ssh 시작
service enable ssh #시스템 시작시 자동 실행
ufw allow ssh #방화벽 시스템에서 ssh포트 열기
#오류가 뜬다면 apt-get install --reinstall linux-modules-5.4.0-42-generic
#apt-get install --reinstall iptables
#그래도 오류가 뜬다 Perhaps iptables or your kernel needs to be upgraded.
#Skipping adding existing rule
Comments