IBM® SmartCloud Enterprise provides on-demand development and test infrastructure services for enterprises. With the increasing use of mobile devices to access cloud applications, it is important to know how to connect a mobile device (in this case, an Android mobile smartphone) to a cloud instance (in this case, an IBM SmartCloud Enterprise instance) in a secure manner (via an OpenSSH connection).
This article shows you how to install and configure an Android smartphone so that it connects to the IBM Cloud in a secure way. The starting point is an IBM Cloud instance that is accessed by a secure PuTTY connection from a Windows® system.
The steps include:
- Accessing an instance with PuTTY from Windows.
- Converting to an OpenSSH key.
- Installing the SSH client on an Android device.
The Android mobile operating system is managed by the Android Open Source Project led by Google.
PuTTY is a free, open source teminal emulation application that acts as a client for SSH. SSH, or Secure SHell, is a network protocol for remote administration of UNIX computers.
In a Windows systems, use PuTTY to access the IBM Cloud instance (in this case, a
Linux® instance). The private key in this example is
my_rsa.ppk (Figure 1).
Figure 1. Accessing PuTTY and choosing key for authentication
The default user in the new created Linux instance is
idcuser (Figure 2).
Figure 2. The default user is idcuser
OpenSSH (OpenBSD Secure Shell) is a set of computer programs providing encrypted communication sessions over a computer network using the SSH protocol. It was created as an open source alternative to the proprietary Secure Shell.
Convert your key to an OpenSSH key for the Android smartphone.
- Run puttygen (the PuTTY key generator) and load the key file
- Export the OpenSSH key and save it as
Figure 3. The PuTTY key generator
- Specify the
my_opensshfile to transfer to /mnt/sdcard on the Android phone via USB cable, BlueTooth, or any method you prefer.
For this article I used ConnectBot, an open-source Secure Shell (SSH) client, to connect to the Secure Shell server of the IBM SmartCloud Enterprise instance.
Figure 4. ConnectBot
- After installatation, import the private key by selecting Menu > Manage Pubkeys > Copy Private Key.
- On the connection settings, select Used pubkey Authentication > my_openssh.
Here's a shot of the connection. That's all there is to it.
Figure 5. Connected!
To facilitate the boom in mobile-to-cloud access demands, try these concepts: Grid and P2P add to automated testing on the cloud.
Discover common mobile cloud vulnerabilities and solutions to secure them in Build a more secure, mobile cloud environment.
Dive into the devices, trends, issues, and the enabling technologies of mobile cloud computing in Mobile cloud computing.
For more on how to perform tasks in the IBM Cloud, visit these resources:
- Up and download files from a Windows instance.
- Install IIS web server on Windows 2008 R2.
- Create an IBM Cloud instance with the Linux command line.
- Create an IBM Cloud instance with the Windows command line.
- Extend your corporate network with the IBM Cloud.
- High availability apps in the IBM Cloud.
- Parameterize cloud images for custom instances on the fly.
- Windows-targeted approaches to IBM Cloud provisioning.
- Deploy products using rapid deployment service.
- Integrate your authentication policy using a proxy.
- Configure the Linux Logical Volume Manager.
- Deploy a complex topology using a deployment utility tool.
- Provision and configure an instance that spans a public and private VLAN.
In the developerWorks cloud developer resources, discover and share knowledge and experience of application and services developers building their projects for cloud deployment.
Find out how to access IBM SmartCloud Enterprise.
Get products and technologies
See the product images available for IBM SmartCloud Enterprise.
Join a cloud computing group on developerWorks.
Read all the great cloud blogs on developerWorks.
Join the developerWorks community, a professional network and unified set of community tools for connecting, sharing, and collaborating.