Configuring the Switching Between the Jump Host and Other Nodes
Scenarios
To switch to an SAP node from the jump host and to allow SSH switchovers between SAP nodes and the jump host, you must configure the them to be trusty.
Procedure
- Upload the key file to the jump host.
- Use WinSCP to log in to the jump host. Ensure that user root and the key file are used for authentication. Upload the certificate private key file (.pem file) to the directory /usr on the jump host.
- Log in to the jump host. Copy the certificate private key file to the /root/.ssh directory and rename the file id_rsa.
For example, if the original file name is private.pem, run the following commands to rename it:
cp /usr/private.pem /root/.ssh/id_rsa
cd /root/.ssh/
chmod 600 id_rsa
- Use the server/client plane IP address to allocate the private key file and authorized_keys file to all nodes excepting the SAP HANA Studio node.
The commands are in the following format:
scp /root/.ssh/id_rsa Peer IP address:/root/.ssh/id_rsa
scp /root/.ssh/authorized_keys Peer IP address:/root/.ssh/
- Verify the switching.
Use SSH to switch from the jump host to all nodes excepting the SAP HANA Studio node for verification.
For example, the server/client plane IP address of the NFS server is 10.0.3.101. To switch from the jump host to the NFS server, run the following command:
ssh 10.0.3.101
Last Article: Configuring Switching Permissions
Next Article: Configuring Mapping Between Hostnames and IP Addresses
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.