sadhu suresh created CLOUDSTACK-1257:
----------------------------------------
Summary: resetssh:able to ssh to vm without sshkey pair
Key: CLOUDSTACK-1257
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1257
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.1.0
Reporter: sadhu suresh
Assignee: Harikrishna Patnala
1. generate the keypair
http://10.147.38.236:8096/api?command=createSSHKeyPair&name=k2&account=sadhu&domainid=1
2.deploy a VM using above keypair
http://10.147.38.236:8096/client/api?command=deployVirtualMachine&zoneId=a47cec47-5317-479b-96c4-
7b1ac7756cd1&templateId=51cbd77a-746f-11e2-b806-064666000076&hypervisor=XenServer&serviceOfferingId=8d43fe05-803b-4018-b745-
c9ebd0c3bd92&networkIds=aeb0e192-2e74-4fcf-b3df-
264a50129dd9&displayname=guest2&name=guest2&account=sadhu&domainid=1&keypair=k2&response=json
{ "deployvirtualmachineresponse" :
{"id":"63fea898-95c4-4bb1-bd6f-0de1a6641d88","jobid":"ca6542d6-f674-4d66-ae3f-
97bdf6f86b52"} }
3.try to ssh to using ssh key pair as with out passing ssh keypair
actual result:
even with out passing key-pair also its allowing to ssh to guest VM
additioanl Info; copied the cloud-set-guest-sshkey in the guest vm as per
documentation.
MS IP:10.147.38.236
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira