CentOS Virtualization

General support questions
User avatar
TrevorH
Forum Moderator
Posts: 23204
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS Virtualization

Post by TrevorH » 2018/07/17 23:07:22

No, it's more likely the guest isn't set up to use that console. Do you have ssh access to the guest? If so then check to see if it has console=ttyS0 as part of its kernel command line in /proc/cmdline and if not, you could try adding it via the grub.cfg/conf file for the guest version.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

jough
Posts: 7
Joined: 2018/07/10 22:34:11

Re: CentOS Virtualization

Post by jough » 2018/07/18 21:34:59

So I can access this VM from putty now. Now I just need to dump the mysql data from the database running on it.

Thanks for the help!

MartinR
Posts: 329
Joined: 2015/05/11 07:53:27
Location: UK

Re: CentOS Virtualization

Post by MartinR » 2018/07/19 10:44:24

Thanks Trevor, that sorted out my VMs.

jough
Posts: 7
Joined: 2018/07/10 22:34:11

Re: CentOS Virtualization

Post by jough » 2018/08/09 17:07:22

So i am back again and need more assistance on this. I have made a mistake by removing access via SSH to this VM and have no way to access it. Can anyone assist in telling me how i can re-enable SSH from the VM on the host machine? To be more specific, it had a pubkey that was used and I needed to remove it so I could run this Linux VM through VMware converter. I added PubkeyAuthentication no to /etc/ssh/sshd_config and now I am unable to access it at all. So now I am back to this:

# virsh console <myhost>7
Connected to domain <myhost>7
Escape character is ^]

and I need to get onto that VM so i can remove the PubkeyAuthentication no line from the sshd_config

#struggling

Post Reply