Bootstrapping of a client using the webUI fails with error: Permission denied (keyboard-interactive). scp: Connection closed
This document (000021763) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Multi Linux Manager 5
Situation
Bootstrapping a client using SUSE Multi Linux Manager webUI fails with following error message:
Bootstrapping a server fails with error:
root@somedomain.com: Permission denied (keyboard-interactive).
scp: Connection closed
Registration of a client using bootstrap script works without any issues.
Resolution
Either comment following two options in /etc/ssh/sshd_config configuration file on top of affected client:
PasswordAuthentication no
PubkeyAuthentication no
...and restart the sshd.service or set both option to yes:
PasswordAuthentication yes
PubkeyAuthentication yes
...and then restart the sshd.service.
Cause
The affected client system is missing sshd
authentication methods needed for proper client registration.
Additional Information
The sshd authentication methods can be tested by using the scp command (which is used during the bootstrapping process) from SUSE Multi Linux Manager to to affected client:
uyuni-server:~ # touch /tmp/tmpe9gdoxum
uyuni-server:~ # scp -o KbdInteractiveAuthentication=no -o PasswordAuthentication=yes -o GSSAPIAuthentication=no -o ConnectTimeout=180 -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o StrictHostKeyChecking=no -o Port=22 -o IdentityFile=/var/lib/salt/.ssh/mgr_ssh_id -o User=root /tmp/tmpe9gdoxum 10.156.233.224:.tmpe9gdoxum
root@10.156.233.224: Permission denied (keyboard-interactive).
scp: Connection closed
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021763
- Creation Date: 31-Mar-2025
- Modified Date:25-Apr-2025
-
- SUSE Manager Server
- SUSE Manager
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com