parent
494ea4c1bb
commit
45bbb03bd9
@ -1,11 +1,53 @@
|
|||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
This is a dummy SSH server created using MINA SSHD Library and springboot 3.
|
This is a dummy SSH server created using MINA SSHD Library and Springboot 3.
|
||||||
The point is for me to learn the SSH hacker bots command patterns around the world.
|
The point is for me to learn all SSH-hacker-bot-command patterns around the world.
|
||||||
I share this project so that others can learn this as well.
|
I share this project so that others can learn this as well.
|
||||||
|
|
||||||
## How to build
|
## How to build
|
||||||
|
|
||||||
|
```
|
||||||
mvn clean package
|
mvn clean package
|
||||||
|
|
||||||
## How to run
|
```
|
||||||
java -jar echo-sshd-server-{version}.jar
|
|
||||||
|
## Auth Bind Setup
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo touch /etc/authbind/byport/22
|
||||||
|
sudo chmod 777 /etc/authbind/byport/22
|
||||||
|
```
|
||||||
|
|
||||||
|
## Expected OS
|
||||||
|
Linux
|
||||||
|
|
||||||
|
##Expected Directory Structory
|
||||||
|
|
||||||
|
```
|
||||||
|
$ tree echo-ssh-server/
|
||||||
|
echo-ssh-server/
|
||||||
|
├── conf
|
||||||
|
│ ├── hash-replies.properties
|
||||||
|
│ ├── log4j2.xml
|
||||||
|
│ ├── private.key
|
||||||
|
│ ├── regex-mapping.properties
|
||||||
|
│ └── springboot.yml
|
||||||
|
├── data
|
||||||
|
│ ├── remote-ip-info-db.mv.db
|
||||||
|
│ └── remote-ip-info-db.trace.db
|
||||||
|
├── echo-sshd-server-1.4.1.jar
|
||||||
|
├── echo-sshd-server.jar -> echo-sshd-server-1.4.1.jar
|
||||||
|
├── logs
|
||||||
|
├── start-jar.sh
|
||||||
|
└── stop.sh
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## How to start
|
||||||
|
```
|
||||||
|
./start-jar.sh
|
||||||
|
```
|
||||||
|
## How to stop
|
||||||
|
```
|
||||||
|
./stop.sh
|
||||||
|
```
|
Loading…
Reference in new issue