Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Bluemix VM Login using Putty

3100004YNJ gravatar image
Question by nimblesolutions  (1) | Jun 18, 2015 at 04:25 PM ibmcloudvirtual machines

After creating the virtual machine in Bluemix, what is the process to access the VM via SSH? Where are the credentials located? What is login/pwd to be used? Is there a way to download the image?

It is confusing to find this and there is no clear documentation.

People who like this

  0   Show 1
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
50MB08VYEX gravatar image Aakash40 (1)   Feb 27 at 05:28 AM 0
Share

You need to have SSH product like Putty and PuTTygen. The first thing you need to do is create the SSH private and public key. This is required when you create the bluemix VM. Check this link:- http://www.ng.bluemix.net/docs/starters/index-gentopic4.html#vms

PuTTygen will help you generate the Private and public key. https://www.digitalocean.com/community/tutorials/how-to-create-ssh-keys-with-putty-to-connect-to-a-vps

You will have to specify passphrase during this key generation. Once you create your VM and it is started.

Start Putty and then specify your connection details for ssh connection under Connection -> SSH -> AUTH , browse and specify the private key that was generated using PuTTygen.

Then click Open and you will be asked to login Enter ibmcloud and then it will ask you for the passphrase that you enter during key creation.

I hope this helps.

2 answers

  • Sort: 
060000VQM8 gravatar image

Answer by adasilva (371) | Jun 22, 2015 at 07:21 PM

Hello @nimblesolutions

When you create the VM you have the option to create an SSH key or import an existing one. If you choose the option to create an SSH key you will be prompted to download the private key to your client machine (your Windows system). Once the VM is created you can use PuTTY and PuTTYgen to access it.

First you need to use PuTTYgen to save the private key (a .pem extension file) to a PuTTY Private Key file (extension .ppk - this is the only format PuTTy recognizes).

Simply open PuTTygen and import the .pem key, it will automatically asked you to save the file as a ppk file. You have the option to also select a passphrase, if you select one you will need to enter it later on when you ssh to your VM.

With the ppk file created open a PuTTy session.

  1. In the session tab enter the host name of your new VM

  2. Go to Data tab and enter "ibmcloud" for auto-login user name (this is the default user created in the VM)

  3. Expand the SSH tab and go to Auth

  4. On the "Private Key for Authentication" field, browse to the private key (ppk file) you created above

  5. Go back to the Session tab, provide a name for your session under "Saved Sessions" and save it.

Make sure this new session is the current one loaded and click on the "Open" button to open new session. The first time you open a new session you are asked to verify the authenticity of the remote server, accept it and the new session will open. (If you choose a passphrase when importing the private key with PuttyGen above you will be prompted to enter it now).

Comment
AlexeyPoltaratskiy
Thrinesh MN
TomFischer

People who like this

  3   Show 1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270003F9VK gravatar image F9VK_Shubham_Roy_Choudhury (1)   Aug 16, 2015 at 01:16 PM 0
Share

It does not work. While connecting using the .ppk file, it say "Server refused our key". Please help.

310000S3QT gravatar image

Answer by JanSichula (1) | Oct 23, 2015 at 01:39 AM

Hello,

I can concur that documentation for VM service on Bluemix is somewhat spartan so far but the overview of Bluemix VM service by Smith Naik at https://smithsnaik.wordpress.com/2015/06/01/virtual-machines-on-ibm-bluemix/ had proven useful to me.

https://www.facebook.com/jan.sichula https://twitter.com/JanSichula

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

63 people are following this question.

Answers

Answers & comments

Related questions

trial period ended and didn't got a virtual machine 2 Answers

Virtual machine login per ssh: Connection refused 1 Answer

It takas too much time to enable access to Virtual Machine 1 Answer

Can't login to Horizon Dashboard 2 Answers

Unable to get started with Virtual Machines after being approved 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges