Ask Your Question
0

SSH to VM failed

asked 2013-04-19 16:43:12 -0500

nassim-kaabache gravatar image

Hi, I create my own Cloud, I create a VM. I can ping but I can't SSH it. thx for help

test@one-PC:/usr/lib/ltp$ ping 172.16.0.3 PING 172.16.0.3 (172.16.0.3) 56(84) bytes of data. 64 bytes from 172.16.0.3: icmp_req=1 ttl=64 time=0.271 ms 64 bytes from 172.16.0.3: icmp_req=2 ttl=64 time=0.208 ms ^C --- 172.16.0.3 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 0.208/0.239/0.271/0.035 ms test@one-PC:/usr/lib/ltp$ ssh -vvvv 172.16.0.3 OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 172.16.0.3 [172.16.0.3] port 22. debug1: connect to address 172.16.0.3 port 22: Connection refused ssh: connect to host 172.16.0.3 port 22: Connection refused

edit retag flag offensive close merge delete

13 answers

Sort by ยป oldest newest most voted
0

answered 2013-04-23 17:59:26 -0500

do you create keypair using keypair-add and using that keypair to boot your instance?

edit flag offensive delete link more
0

answered 2014-02-24 01:48:44 -0500

liuqi-edward gravatar image

hi kaabache

Thanks for your reply.

When i create a ubuntu instance , i can't log in it in dashboard. so how do you solve the ssh server problem?

sorry, i am a fresher.

Thanks again!

edit flag offensive delete link more
0

answered 2014-02-24 09:23:06 -0500

nassim-kaabache gravatar image

Hi Edward,

If you want to log in throw the dashboard, it s a VNC connexion normally and not a ssh connexion. VNC is more about the openstack configuration.

If you want to ssh your server you need to install ssh server on your ubuntu instance. you can install it with an iso that you add as a CD driver. I ve never done that so I can check it.

Regards,

Nassim

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-04-19 16:43:12 -0500

Seen: 911 times

Last updated: Feb 24 '14