-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run NTop on remote computer #37
Comments
Any one can help ? |
could this be ingetraged? i'm also very interested in running this via enter-pssession :) |
I'd also love to be able to remotely run NTop on remote computers. Could this be integrated? |
Is there any reason why NTop cannot be run remotely whilst connected through Powershell (Enter-PSSession)? |
Maybe that's where I was going wrong. I connected to a remote PC via an SSH session in Command Prompt, not Powershell. I copied over ntop.exe, and tried running it via the remote SSH session, and it failed/did nothing, hence I was under the impression that ntop didn't work at all on remote PCs |
Here's what happens when I try and run NTOP via a remote SSH session (might be unclear due to low framerate, but cursor is moving all over the command window) NTOP.mp4EDIT: Oh, wow, Telegram compressed that horribly when I sent the gif to myself :( |
The first thing that NTop does is replace the console screen buffer with its own (https://github.com/gsass1/NTop/blob/master/ntop.c#L1648). It seems like that doesn't work in SSH? |
It works over SSH when the remote computer is Windows 10 or Windows 11. When the remote computer is Windows 7, then I have same experience as in the video posted above, the cursor just starts jumping all over the screen ( #37 (comment) ). I am using Windows 7 OpenSSH 8.1.0.0p1-Beta. If it did work with Windows 7 before, then it would be good to know when was the last time the working version was installed and/or which version of ntop AND sshd it was. I would be happy to be able to use ntop over SSH on Windows 7 too. I tried various old versions of ntop (from the first to latest, skipping a couple intermediate ones) from https://github.com/gsass1/NTop/releases and none of them worked with my current OpenSSH version. The versions of ntop I tried: Maybe older versions of OpenSSH behave better? I know I had a screen scrolling issue with OpenSSH outside of ntop use as well. It was supposedly introduced with OpenSSH v8.1, so earlier versions did not have it. But I fixed it with a private ssh-shellhost binary (see PowerShell/Win32-OpenSSH#1556 (comment) for more info). |
I remember , I can run ntop on remote computer when I remote to a computer with powershell. I think it was in 2019,
But I find I can not do that now.
Is there anything change that cause fail to run it remotely ,any advise ?
The text was updated successfully, but these errors were encountered: