Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Saturday, 7 June 2014

Permission Denied keyboard-interactive authentication

By default Freebsd has root ssh disabled. Even in Ubuntu 14.04 it is not allowed with some other linux/unix distros as well.
Following error we get on screen even after entering correct password:
freebsd root ssh
To overcome this issue edit following ssh file: (ee is editor in freebsd)
ee /etc/ssh/sshd_config
in the file remove # from port 22
and remove # from
PermitRootLogin no
to
PermitRootLogin yes
then restart sshd demon
/etc/rc.d/sshd restart 

Monday, 2 December 2013

initramfs ubuntu boot problem

Recently one of our server crashed which was running Ubuntu-x64. On display it was showing below errors.


Then I booted the Machine using Ubuntu ISO and selected rescue mode.

After selecting rescue mode it prompted for simple options as we get during installation. In the end it prompts for selecting boot path. I selected then /ubuntu/root (this might be different according to your partitions.

Hope it works for you as well !