mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-10-24 16:05:41 +00:00
The entry in the passwd table has to use the key `switch`, otherwise the sshusername and password is not detected.
See `man switches` page:
```
sshusername
The remote login user name. It can be for ssh or telnet. If it is for telnet,
set protocol to "telnet". If the sshusername is blank, the username, password
and protocol will be retrieved from the passwd table with "switch" as the key.
sshpassword
The remote login password. It can be for ssh or telnet. If it is for telnet, set
protocol to "telnet". If the sshusername is blank, the username, password and
protocol will be retrieved from the passwd table with "switch" as the key.
```
See `man passwd` page:
```
key
The type of component this user/pw is for. Valid values: blade (management module),
ipmi (BMC), system (nodes), omapi (DHCP), hmc, ivm, cec, frame, switch.
```