petenetlive.com petenetlive.com

TinyCore Linux: Build a ‘Persistent’ Web Server

KB ID 0001697 Problem Recently I was building a lab for testing load balancing, and needed some web servers, I could have built three Windows servers, but I wanted to run them in EVE-NG, so they had to be as light as I could make them. I chose TinyCore Linux, (I know there are smaller options, but it’s light enough for me to run, and work with). The problem occurs when you reboot the TinyCore host, it (by default) reverts back to its...

programmer group

Access other nodes through a jumper using the JSCH framework

A set of code for remotely accessing ssh has been developed. Recently, there is a need for a jumper to access the target service.After searching the web for half a day, I didn't find a good example, so I browsed the API of JSCH myself.But look in the clouds.Imagine if port forwarding works by mapping the target node ip:port to localhost:port and sending a message through localhost:port to reach the target node? With this inference, the...