opasetupssh(8)
β¨ NAME β¨
opasetupssh β bestie, this one's for Linux or Switch, and it creates SSH keys and configures them on all hosts or chassis so your system can use SSH and SCP into all the other hosts or chassis without a password prompt. π
Typically, during cluster setup, this tool lets the root user on the Management Node log into the other hosts (as root) or chassis (as admin) using password-less SSH. it's giving β¨effortlessβ¨
πΈ SYNTAX πΈ
opasetupssh [-C|p|U] [-f hostfile] [-F chassisfile] [-h 'hosts']
[-H 'chassis'] [-i ipoib_suffix] [-u user] [-S] [-R|P]
π OPTIONS π
--helpβ produces full help text. the girlies love a help flag π«Ά-Cβ performs the operation against chassis. Default is hosts. pick your fighter π-pβ performs operation against all chassis or hosts in parallel. multitasking queen π-Uβ performs connect only (to enter in local hosts, known hosts). When run in this mode, the-Soption is ignored. no cap, it just does not care about-Shere π-fhostfile β specifies the file with hosts in cluster. Default is/etc/opa/hostsfile. π-Fchassisfile β specifies the file with chassis in cluster. Default is/etc/opa/chassisfile. π-hhosts β specifies the list of hosts to set up.-Hchassis β specifies the list of chassis to set up.-iipoib_suffix β specifies the suffix to apply to host names to create IPoIB host names. Default is-opa. π¦-uuser β specifies the user on remote system to allow this user to SSH to. Default is current user code for host(s) andadminfor chassis. iykyk π-Sβ securely prompts for password for user on remote system. π-Rβ skips setup of SSH to local host.-Pβ skips ping of host (for SSH to devices on Internet with ping firewalled). firewall said not today π§±
π EXAMPLES π
π Operations on Hosts
opasetupssh -S -i ''
opasetupssh -U
opasetupssh -h 'arwen elrond' -U
HOSTS='arwen elrond' opasetupssh -U
π Operations on Chassis
opasetupssh -C
opasetupssh -C -H 'chassis1 chassis2'
CHASSIS='chassis1 chassis2' opasetupssh -C
β ENVIRONMENT VARIABLES β
The following environment variables are also used by this command:
HOSTS_FILEβ file containing list of hosts, used in absence of-fand-h.CHASSIS_FILEβ file containing list of chassis, used in absence of-Fand-H.HOSTSβ list of hosts, used if-hoption not supplied.CHASSISβ list of chassis, used if-Cis used and-Hand-Foptions not supplied.FF_MAX_PARALLELβ when-poption is used, maximum concurrent operations.FF_IPOIB_SUFFIXβ suffix to append to hostname to create IPoIB hostname. Used in absence of-i.FF_CHASSIS_LOGIN_METHODβ how to log into chassis. Can beTelnetorSSH.FF_CHASSIS_ADMIN_PASSWORDβ password foradminon all chassis. Used in absence of-Soption.
π¦ DESCRIPTION π¦
The Intel(R) Omni-Path Fabric Suite FastFabric Toolset provides additional flexibility in the translation between IPoIB and management network hostnames.
opasetupssh provides an easy way to create SSH keys and distribute them to the hosts or chassis in the cluster. Many of the FastFabric tools (as well as many versions of MPI) require that SSH is set up for password-less operation. Therefore, opasetupssh is an important setup step. it's literally the main character of your cluster setup π
This tool also sets up SSH to the local host and the local host's IPoIB name. This capability is required by selected FastFabric Toolset commands and may be used by some applications (such as MPI).
opasetupssh has two modes of operation. The mode is selected by the presence or absence of the -U option. Typically, opasetupssh is first run without the -U option, then it may later be run with the -U option. two moods, both iconic β¨
πΈ Host Initial Key Exchange
When run without the -U option, opasetupssh performs the initial key exchange and enables password-less SSH and SCP. The preferred way to use opasetupssh for initial key exchange is with the -S option. This requires that all hosts are configured with the same password for the specified "user" (typically root). In this mode, the password is prompted for once and then SSH and SCP are used in conjunction with that password to complete the setup for the hosts. This mode also avoids the need to set up rsh/rcp/rlogin (which can be a security risk). π¨
opasetupssh configures password-less SSH/SCP for both the management network and IPoIB. Typically, the management network is used for FastFabric Toolset operations while IPoIB is used for MPI and other applications.
During initial cluster installation, where the Intel(R) Omni-Path Fabric software is not yet installed on all the hosts, IPoIB is not yet running. In this situation, use the -i option with an empty string as follows:
opasetupssh -i ''
This causes the last part of the setup of SSH for IPoIB to be skipped. no IPoIB, no problem π
π Refreshing Local Systems Known Hosts
If aspects of the host have changed, such as IP addresses, MAC addresses, software installation, or server OS reinstallation, you can refresh the local host's SSH known_hosts file by running opasetupssh with the -U option. This option does not transfer the keys, but instead connects to each host (management network and IPoIB) to refresh the SSH keys. Existing entries for the specified hosts are replaced within the local known_hosts file. When run in this mode, the -S option is ignored. This mode assumes SSH has previously been set up for the hosts, as such no files are transferred to the specified hosts and no passwords should be required. glow-up only, no heavy lifting π§
Typically after completing the installation and booting of Intel(R) Omni-Path Fabric software, opasetupssh must be rerun with the -U option to update the known_hosts file.
π Chassis Initial Key Exchange
When run without the -U option, opasetupssh performs the initial key exchange and enables password-less SSH and SCP. For chassis, the key exchange uses SCP and the chassis CLI. During this command you log into the chassis using the configured mechanism for chassis login.
The preferred way to use opasetupssh for initial key exchange is with the -S option. This requires that all chassis are configured with the same password for admin. In this mode, you are prompted for the password once and then the FF_CHASSIS_LOGIN_METHOD and SCP are used in conjunction with that password to complete the setup for the chassis. This method also avoids the need to setup the chassis password in /etc/opa/opafastfabric.conf (which can be a security risk). π¨
For chassis, the -i option is ignored. yeah bestie, it just skips that one π
β Chassis Refreshing Local Systems Known Hosts
If aspects of the chassis have changed, such as IP addresses or MAC addresses, you can refresh the local host's SSH known_hosts file by running opasetupssh with the -U option. This option does not transfer the keys, but instead connects to each chassis to refresh the SSH keys. Existing entries for the specified chassis are replaced within the local known_hosts file. When run in this mode, the -S option is ignored. This mode assumes SSH has previously been set up for the chassis, because no files are transferred to the specified hosts and no passwords are required. π
and that's the whole page, bestie β every flag, every file path, every env var, all of it. ate and left no crumbs π β¨
Copyright(C) 2015-2019 Intel Corporation β shoutout to the Intel Corporation for this one, and this page lives in the IFSFFCLIRG (Man Page) set, dated 2015-2019. k bye, go set up those keys π«Άπ
π¦ where this page comes from
- centos-stream 9: opa-fastfabric 1:10.12.1.0.6-1.el9 Β· BSD or GPLv2
- debian bookworm: opa-fastfabric 10.10.3.0.11-1+b1 Β· BSD-3-clause-top
- debian trixie: opa-fastfabric 10.10.3.0.11-1+b2 Β· BSD-3-clause-top
- opensuse-leap 16.0: opa-fastfabric 10.14.4.0.20-160000.3.2 Β· BSD-3-Clause OR GPL-2.0-only
- ubuntu jammy: opa-fastfabric 10.10.3.0.11-1ubuntu1 Β· BSD-3-clause-top
- ubuntu noble: opa-fastfabric 10.10.3.0.11-1ubuntu3 Β· BSD-3-clause-top
- ubuntu questing: opa-fastfabric 10.10.3.0.11-1ubuntu3
- ubuntu resolute: opa-fastfabric 10.10.3.0.11-1ubuntu4 Β· BSD-3-clause-top
- ubuntu stonking: opa-fastfabric 10.10.3.0.11-1ubuntu5 Β· BSD-3-clause-top
- Copyright 2015-2019, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms