Java connects to the server remotely and executes the script command tool class

How to implement a remote connection server to execute a script in a Java program? Sometimes there is such a need. If you have to go to another machine to execute the script, you can use the tool class below, which has been encapsulated and can be used directly. The author uses the Maven project to demonstrate how to use: 1) First introduce dependency:<-- https://mvnrepository.com/artifact/ch.ethz.ganymed/ganymed-ssh2 -->

-Read the full text-

Windows Security Series - Disable system shutdown without logging on account

Why is it forbidden to shut down the computer without logging in to Windows? A: This is a serious security problem that I found on the remote dormitory computer in the computer room last week. It must be banned. Cause: Last week, I took classes in the computer room. I usually didn't take my computer to the dormitory computer room through the intranet remote. The computer room has a restoration wizard, so most of them take their computers to the computer room. For lazy people like me, they usually use the intranet remote, at least 100M, and don't get stuck at all. So you can also refer to it, but I didn't enter the password when I was remote last week, Then you directly enter the remote interface, and the password is not entered

-Read the full text-

Windows_server modifies the maximum number of remote desktop connections

1. Run cmd ->gpedit. msc 2. Local computer policy ->Management template ->Windows component 3. Find "Remote Desktop Services" ->Remote Desktop Session Host ->Connection in the Windows component list 4. Double click "Limit the number of connections" on the right, which is enabled, and set the number of connections. 5. Double click "Restrict Remote Desktop Service Users to Individual Remote Desktop Service Sessions" on the right to disable it. 6. Finally, modify it and restart the server to try multiple links to this service again. (Remember

-Read the full text-

Latest articles

classification

file

link

other