Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sudo commands are very slow in VM

I have launched an instance running ubuntu in openstack. As the default login for the image is "ubuntu" i use a key-pair to login to the instance.

ssh -i key.pem ubuntu@10.x.x.x

however when i run any command that requires sudo permission it takes more than a minute to get executed. What could be the reason to this issue? I tried creating another user, so that i can log into the system as that user with the login and password. But sadly, even that does not work. I created another user 'abc' and entered password 'xxx' when i try ssh abc@10.x.x.x it gives, permission denied(public key) error.