From f6072bf094cd45d0da45cea289c0bdc94e959dd0 Mon Sep 17 00:00:00 2001 From: mohammed jasem alaajel Date: Fri, 4 Feb 2022 09:24:33 +0400 Subject: [PATCH] finish readme --- README.md | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3d9776e..ed1bc67 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,31 @@ # How to setup * *create user in your system using the command provided below* - ``useradd xrambad --shell=/bin/true`` +``useradd xrambad --shell=/bin/true`` * create ssh key for the user. * there will be issue that user can't login to fix this - add ``/bin/true`` to ``/etc/shells`` - \ No newline at end of file +add ``/bin/true`` to ``/etc/shells`` + +* start your minecraft server with the plugin installed. + but you will notice that it will not load the plugins as shown down below. + ``` + [09:16:17 WARN]: [AppleTunneler] no Identities files found, please put them in plugins/AppleTunneler/Identities + [09:16:17 ERROR]: Error occurred while enabling AppleTunneler v1.0-SNAPSHOT (Is it up to date?) + ``` +* place your private key into ``plugins/AppleTunneler/Identities`` folder + +* start server again but you will be met with another error as shown below + ``` + [09:20:16 ERROR]: [AppleTunneler] FILE at path: /home/test/Desktop/test-server/plugins/AppleTunneler/.known_hosts Does not exists + [09:20:16 ERROR]: Error occurred while enabling AppleTunneler v1.0-SNAPSHOT (Is it up to date?) + java.lang.RuntimeException: Known host file does not exists in plugin folder + ``` + as you can see the error created path for us which will be easy for us to create the file, now copy the path. + +* run this command to create the host file + ``ssh-keyscan limework.net >> /home/test/Desktop/test-server/plugins/AppleTunneler/.known_hosts`` + +* now modify the config of the plugins for your needs by setting host, port, username of ssh server and setting tunneling needed. + +and done. \ No newline at end of file