Hello Bharat,

Looks like you are trying to access the system VM using wrong key - in you 
message it says no such file or directory, and the key name is -  id_rsa.cloud


1- First find the correct ssh key - 

# find / -name id_rsa.cloud

It should give you the key location, make sure it has 400 permission, 

2- Then run the command 

ssh -I <path_of_id_rsa.pub> -p 3922 root@169.254.168.209


Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com <mailto:vivek.ku...@indiqus.com>
        www.indiqus.com <https://www.indiqus.com/>




> On 30-Jan-2024, at 6:06 PM, Wei ZHOU <ustcweiz...@gmail.com> wrote:
> 
> Hi,
> 
> Sorry my previous reply was not clear.
> 
> for kvm/xen/xcp-ng, please log into system vms/vrs from the kvm host.
> for vmware, please log into the system vms/vrs from the mgmt server.
> 
> -Wei
> 
> 
> 
> On Tue, 30 Jan 2024 at 12:43, Bharat Bhushan Saini
> <bharat.sa...@kloudspot.com.invalid> wrote:
> 
>> Hi Suresh,
>> 
>> 
>> 
>> It is login from the Host. I tried from management as well same output I
>> got which I shared below.
>> 
>> 
>> 
>> Thanks and Regards,
>> 
>> Bharat Saini
>> 
>> 
>> 
>> [image: signature_3506744539]
>> 
>> 
>> 
>> *From: *Suresh Kumar Anaparti <sureshkumar.anapa...@gmail.com>
>> *Date: *Tuesday, 30 January 2024 at 4:08 PM
>> *To: *users@cloudstack.apache.org <users@cloudstack.apache.org>
>> *Subject: *Re: VM Login Issue
>> 
>> EXTERNAL EMAIL: Please verify the sender email address before taking any
>> action, replying, clicking any link or opening any attachment.
>> 
>> 
>> Hi Bharat,
>> 
>> It seems you are trying to login from Host, not the Management Server. Can
>> you check the key file at /root/.ssh/ ? else, try with find.
>> 
>> After that, try cmd:
>> ssh -p 3922 -i /root/.ssh/id_rsa.cloud 169.254.168.209
>> 
>> Regards,
>> Suresh
>> 
>> On Tue, Jan 30, 2024 at 3:38 PM Bharat Bhushan Saini
>> <bharat.sa...@kloudspot.com.invalid> wrote:
>> 
>>> Hi All,
>>> 
>>> 
>>> 
>>> When I try to login in the ssvm I found below errors,
>>> 
>>> 
>>> 
>>> ssh -i  /var/cloudstack/management/.ssh/id_rsa  -p 3922
>>> root@169.254.168.209
>>> 
>>> Warning: Identity file /var/cloudstack/management/.ssh/id_rsa not
>>> accessible: No such file or directory.
>>> 
>>> root@169.254.168.209: Permission denied (publickey).
>>> 
>>> root@kvm:~# virsh list
>>> 
>>> Id   Name     State
>>> 
>>> ------------------------
>>> 
>>> 3    v-4-VM   running
>>> 
>>> 4    s-3-VM   running
>>> 
>>> 
>>> 
>>> I checked file is also not present there.
>>> 
>>> 
>>> 
>>> Thanks and Regards,
>>> 
>>> Bharat Saini
>>> 
>>> 
>>> 
>>> [image: signature_855438220]
>>> 
>>> --------------------------- Disclaimer: ------------------------------
>>> This message and its contents are intended solely for the designated
>>> addressee and are proprietary to Kloudspot. The information in this email
>>> is meant exclusively for Kloudspot business use. Any use by individuals
>>> other than the addressee constitutes misuse and an infringement of
>>> Kloudspot's proprietary rights. If you are not the intended recipient,
>>> please return this email to the sender. Kloudspot cannot guarantee the
>>> security or error-free transmission of e-mail communications. Information
>>> could be intercepted, corrupted, lost, destroyed, arrive late or
>>> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
>>> for any issues arising from the transmission of this email.
>>> 
>> 
>> --------------------------- Disclaimer: ------------------------------
>> This message and its contents are intended solely for the designated
>> addressee and are proprietary to Kloudspot. The information in this email
>> is meant exclusively for Kloudspot business use. Any use by individuals
>> other than the addressee constitutes misuse and an infringement of
>> Kloudspot's proprietary rights. If you are not the intended recipient,
>> please return this email to the sender. Kloudspot cannot guarantee the
>> security or error-free transmission of e-mail communications. Information
>> could be intercepted, corrupted, lost, destroyed, arrive late or
>> incomplete, or contain viruses. Therefore, Kloudspot shall not be liable
>> for any issues arising from the transmission of this email.
>> 


-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.

Reply via email to