Howard Liu
Howard Liu

Reputation: 93

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?

Upvotes: 0

Views: 74

Answers (2)

v.bontempi
v.bontempi

Reputation: 1562

VM instances on both US region and UK one need some time (at least one minute) to have all the network stack fully enabled and routed after VM boot process is completed. This is why if you try to connect through SSH just after VM booting up, the connection is refused and then it worked few minutes later

Upvotes: 0

K P
K P

Reputation: 51

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.

Upvotes: 1

Related Questions