Login to your server as root.As the root user, edit the sshd_config file found in /etc/ssh/sshd_config:vim /etc/ssh/sshd_config(For details on working with Vim check out our article here!)Add the following line to the file, you can add it anywhere but it’s
good practice to find the block about authentication and add it there.
PermitRootLogin yesSave and exit the file.Restart the SSH server: systemctl restart sshd
or service sshd restart
To diagnose the CPU usage issues, you should use Event Tracing for Windows (ETW) to capture CPU Sampling data / Profile.
To capture the data, install the Windows Performance Toolkit, which is part of the Windows SDK.
The Windows 10 WPT can be used on Windows 8/Server 2012, Windows
8.1/Server 2012R2 and Windows 10/Server 2016. If you still use Windows
7, use the SDK/WPT with Build 15086. (all other entries can be unselected)
Now run WPRUI.exe, select First Level, under Resource select CPU usage and click on start.