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@AdminServer
ssh oracle@AdminServer
ssh oracle@ManagedServer1
ssh oracle@ManagedServer2
In this example you will need access to the id_rsa
public key.
ssh -i id_rsa oracle@AdminServer
ssh -i id_rsa oracle@AdminServer
ssh -i id_rsa oracle@ManagedServer1
ssh -i id_rsa oracle@ManagedServer2
If 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://docs.rubiconred.com/myst-studio/infrastructure/providers/hosts/