I reviewed JBOM a few months ago and it truly stands out from the crowd with the ability to scan active processes. I was able to scan active processes when the client / server were the same machine ( Ubuntu 22.04 Server ), but attempting to scan from another machine didn't work unfortunately.
Environment
Client: Windows 10 PC via PowerShell
Host: Ubuntu 22.04 LTS Server
To Replicate
Host
This is the example project I used. When testing locally I was able to generate an SBOM while this was running. I used mvn clean install to compile the .jar file, which I ran on the host machine
Client
I had the current latest jbom release (1.2.1) jar downloaded
Ran java -jar jbom-1.2.1.jar -h HOST_ADDRESS -U MY_USERNAME -P "PASSWORD" in PowerShell
Arguments spoofed for obvious reasons, but these were the correct login credentials to SSH into the host
Hmm... so if you run it across the network it fails, but if you run it locally (but still use -H) it works. A network connection failure would explain the issue. Could you:
confirm that SSH works to log into the host from where you're running jbom
try it with the -D flag to see if there are any clues there
I reviewed JBOM a few months ago and it truly stands out from the crowd with the ability to scan active processes. I was able to scan active processes when the client / server were the same machine ( Ubuntu 22.04 Server ), but attempting to scan from another machine didn't work unfortunately.
Environment
Client: Windows 10 PC via PowerShell Host: Ubuntu 22.04 LTS Server
To Replicate
Host
Client
Output
Running the commands the exact same on the host machine would result in the following: