cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ABECU
Engaged Sweeper III
What exact commands does Lansweeper run during an SSH session when scanning Linux/UNIX? We have a new system that has ssh restricted to only allow specified commands and I'd like to add what Lansweeper needs.
1 ACCEPTED SOLUTION
Susan_A
Lansweeper Alumni
ABECU wrote:
Unfortunately that page just talks about enabling SSH, not what is run once it logs on.


The second paragraph of the article mentions the SSH commands:

The account you use to access SSH must be able to run the uname command. Depending on your Linux distribution, Lansweeper will also run a selection of the following commands, though (unlike the uname command) these commands are not strictly required: arp, bdf, df, dmidecode, dpkg, echo, equery, grep, hal-find-by-property, hal-get-property, ifconfig, lanscan, lslpp, lspci, machinfo, netstat, oslevel, pciconf, pkg_info, pkginfo, prtconf, prtdiag, rpm, smbios, sudo, swlist, sysctl, type, uptime, xl. The output of these commands must be in English, as other languages may not be correctly parsed.

View solution in original post

3 REPLIES 3
ABECU
Engaged Sweeper III
Unfortunately that page just talks about enabling SSH, not what is run once it logs on.
Susan_A
Lansweeper Alumni
ABECU wrote:
Unfortunately that page just talks about enabling SSH, not what is run once it logs on.


The second paragraph of the article mentions the SSH commands:

The account you use to access SSH must be able to run the uname command. Depending on your Linux distribution, Lansweeper will also run a selection of the following commands, though (unlike the uname command) these commands are not strictly required: arp, bdf, df, dmidecode, dpkg, echo, equery, grep, hal-find-by-property, hal-get-property, ifconfig, lanscan, lslpp, lspci, machinfo, netstat, oslevel, pciconf, pkg_info, pkginfo, prtconf, prtdiag, rpm, smbios, sudo, swlist, sysctl, type, uptime, xl. The output of these commands must be in English, as other languages may not be correctly parsed.
Esben_D
Lansweeper Employee
Lansweeper Employee
I don't know the exact commands but this article provides some information: https://www.lansweeper.com/knowledgebase/linux-and-unix-scanning-requirements/