Search code examples
sshvirtual-machineibm-cloud

Bluemix VM cannot connect via ssh


Just as my topic states, I cannot to the server via ssh while I can connect to it via horizon.

My area is America. I have tried to use CentOS 7 and Ubuntu 14.10, both provided by Bluemix. I use a security group which enable all data (whatever protocol, no matter ipv4 or ipv6).

When I use putty to connect to it, the server just close my connection.

Anyone has an idea about this problem?


Solution

  • Can you try ssh from the command line with -v option and paste the output of

    ssh -v -i ibmcloud@

    which would show why the connection is being closed.