virsh console <VM_domain_name>
#Example -
#sonic@sonic-39:~$ virsh console FTAS_VM01
#Connected to domain FTAS_VM01
#Escape character is ^]
#oper@ftasvm:~$ ssh <username>@<mgmt ip address of the VM>
#Example -
#sonic@sonic-39:~$ ssh oper@192.168.3.37
#oper@192.168.3.37's password:
#Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-137-generic x86_64)
# * Documentation: https://help.ubuntu.com
# * Management: https://landscape.canonical.com
# * Support: https://ubuntu.com/advantage
#This system has been minimized by removing packages and content that are
#not required on a system that users do not log into.
#To restore this content, you can run the 'unminimize' command.
#Last login: Tue Feb 21 08:24:31 2023
#oper@ftasvm:~$ oper@ftasvm:~$ ls -lrth
total 44K
drwxrwxr-x 3 oper oper 4.0K Nov 18 16:54 ones
-rwxrwxr-x 1 oper oper 1.9K Jan 27 10:19 qjob.py
drwxr-xr-x 2 oper oper 4.0K Jan 31 07:26 jobs
drwxr-xr-x 2 oper oper 4.0K Feb 7 11:03 configs
-rwx------ 1 oper oper 6.2K Feb 7 11:03 jobs.py
drwxrwxr-x 2 oper oper 4.0K Feb 18 12:54 __pycache__
drwxrw-rw- 2 oper oper 4.0K Feb 18 12:54 logs
drwxr-xr-x 2 oper oper 4.0K Feb 18 14:06 testbeds
drwxr-xr-x 2 oper oper 4.0K Feb 18 14:07 testsuites
drwxrwxrwx 10 oper oper 4.0K Feb 20 04:58 reports
oper@ftasvm:~$