Setting up SSH connectivity using username and password or SSH keypairs? Let's start by making you aware of how MyST connects via SSH.
| # | Source | Destination |
|---|---|---|
| 1 | MyST | AdminServer |
| 2 | AdminServer | AdminServer |
| 3 | AdminServer | Managed Server 1 |
| 4 | AdminServer | Managed Server 2 |
| 5 | AdminServer | Managed Server ... |
When running SSH commands to test connectivity ensure each command does not prompt and is passwordless.
NOTE: You may need to accept the fingerprint the first time. Once accepted, repeat the tests and ensure this time they are passwordless.
ssh oracle@AdminServerssh oracle@AdminServerssh oracle@ManagedServer1ssh oracle@ManagedServer2In this example you will need access to the id_rsa public key.
ssh -i id_rsa oracle@AdminServerssh -i id_rsa oracle@AdminServerssh -i id_rsa oracle@ManagedServer1ssh -i id_rsa oracle@ManagedServer2If the logs throw errors about the myst remote agent then make sure to disable requiretty for the SSH user that MyST is connecting with.
See here for requiretty settings: https://userguide.mystsoftware.com/infrastructure/providers/hosts/