on
03-01-2015
07:30 PM
- edited on
08-04-2023
08:46 PM
by
sophie
To scan a Linux or Unix computer without an agent, certain requirements must be met. Ideally, an agentless scan of a Linux or Unix computer is performed through SSH. Though other protocols enabled on the computer, like SNMP, may provide some information as well, SSH will return the most detailed data.
In order for Lansweeper to scan a Linux or Unix computer, you must ensure that SSH is enabled on the computer. We recommend using OpenSSH. The account you use to access SSH must at least be able to run the uname
command.
Depending on your Linux distribution, Lansweeper will also run a selection of other commands. These commands are used to retrieve data like operating system, processor, memory, software and more. Full root access is not necessary for scanning, but using an account with sudo rights is recommended. Sudo is used to run certain commands.
To configure a Linux computer for agentless scanning, follow these steps:
dpkg -s openssh
rpm -q openssh
equery list openssh
pacman -Q openssh
sudo apt-get install openssh-server
sudo yum install openssh
emerge --ask --changed-use net-misc/openssh
sudo urpmi openssh
sudo equo install openssh
sudo pacman -S openssh
sudo update-rc.d ssh defaults
sudo chkconfig sshd on
rc-update add sshd default
sudo systemctl enable sshd.service sudo systemctl start sshd.service
sudo /etc/init.d/sshd start
ps -e | grep sshd
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try NowExperience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now