Question & Answer
Question
How do I access a virtual machine on a PureApplication System or an IBM Workload Deployer from Windows using PuTTY?
Answer
When you need to troubleshoot or perform maintenance on a particular virtual machine, you can connect to it using SSH. There are many clients that can be used to make an SSH connection to a virtual machine. This technote provides instructions for using the PuTTY client for Windows.
Note the following before you begin:
- The virtual machine must have the public key installed and you must have the private key for connecting to the virtual machine. If you do not have an SSH key pair, see Configuring SSH key-based access for details about generating SSH keys and uploading them to virtual machines.
- To use the PuTTY client, download it from the PuTTY web site. Contact the focal point on the PuTTY site if you need assistance with the download or installation process. Install the client on the computer you will use to access the virtual machines.
- OpenSSL must be installed if you are using a private key generated by the system. If Cygwin, you can use the OpenSSL package provided in that environment. Binary distributions of OpenSSL for Windows are also available from a number of open source projects. For more information, see OpenSSL Downloads.
If you generated your private key from the system, you must convert the private key to a format that is compatible with PuTTY. The private key file must end with a newline character so that PuTTY will load it correctly.
- Run the following OpenSSL command to remove the passphrase on the RSA private key: openssl rsa -in id_rsa -out id_rsa.pem
- Start the PuTTYgen program.
- Click Conversions > Import Key.
- Select the id_rsa.pem file you created.
- In the Parameters section of the window, ensure SSH-2 RSA is selected.
- Click Save private key. Save the file as id_rsa.ppk.
- Start the PuTTY program.
- Configure PuTTY to connect with your private key.
- In the Category pane, select Connection > SSH > Auth.
- In the Authentication parameters section, under Private key file for authentication, click Browse and select your id_rsa.ppk file.
- In the Category pane, select Session.
- Specify the IP address of the virtual machine and select SSH as the connection type.
- Click Open.
- When prompted for the user name, type virtuser.
- Note: You must use this user name to connect to the virtual machine. Other user names, including root will not work.
After you are logged in, you can administer the system as needed. To change to the root user, use the command: sudo -s .
Related Information
[{"Product":{"code":"SSM8NY","label":"PureApplication System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Virtual applications","Platform":[{"code":"PF016","label":"Linux"}],"Version":"2.1.2.0;2.1.1.0;2.1.0.0;2.0;1.1.0.0;1.0","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"SSZ6WM","label":"IBM Workload Deployer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Virtual applications","Platform":[{"code":"","label":""}],"Version":"3.1","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21614074