
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2019 06:53 PM
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.
Solved! Go to Solution.
Labels:
- Labels:
-
General Discussion
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2019 08:51 AM
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.
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2019 04:34 PM
Unfortunately that page just talks about enabling SSH, not what is run once it logs on.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2019 08:51 AM
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2019 01:39 PM
I don't know the exact commands but this article provides some information: https://www.lansweeper.com/knowledgebase/linux-and-unix-scanning-requirements/
