Cant able to login ubuntu

After the step by step installation process, I cant able to login to the ubuntu server…and I dunno what’s the problem…Is there any solution for this sort of problem?

What is the actual error you are getting. Give screenshots

You need to login with the credentials you have mentioned while initialising your Virtual machine, If you forgot the credentials,
One way is to uninstall and reinstall the Ubuntu server iso
Or if you want to reset the password,
You can try the following link:

1 Like

The actual error is that now I tried using Digital Ocean Droplet and well yeah the account is created successfully but then to access it , the login credentials are needed right,I only received the IP address mail from the digital ocean but didn’t receive the login and password…!So my problem is how to login in putty(Windows Installer) now?

  • You need to enter the IP address of your server into the Host name field and click ‘Open’.
  • Type your username and Unix password granted to you in email.
  • Reset the password.
1 Like

In order to log in in linux at the tym of installation process u must provide the username and password and afer successful installation u can login with these credentials bt if u are unable to do so I suggest that u have to open virtual box and delete the exist file of ubuntu(linux) after deleting u can reinstall ur ubuntu again and at this tym pay attention to provide the username and password at the tym of installation process.

If you are facing a problem while login to the Ubuntu server, Even if you are having proper username and password of your O.S. Don’t worry, Sometimes it is due to SSH connection disable in the Ubuntu server.
If you are using putty in windows and tries to connect with the virtual machine using the IP address and it says connection can’t establish which means SSH is disabled in your virtual machine. You can enable SSH through the terminal of Ubuntu.
Follow these steps:

  1. open your Ubuntu Server O.S.
  2. Open your terminal either by using the Ctrl+Alt+T keyboard shortcut or by clicking on the terminal
    icon and install the OpenSSH-server package by typing:
  3. sudo apt update
  4. sudo apt install openssh-server
  5. Enter the password when prompted and enter Y to continue with the installation.
  6. Once the installation is complete. You can check the status for your SSH whether it is currently running or not. To check the status type:
  7. sudo systemctl status ssh
  8. After typing this command you get to know that it is currently “Active” or running.
  9. Then the last command you have to enter into the terminal is:
    10.sudo ufw allow ssh
  10. Now you see SSH is enabled in your O.S, and you can easily login with the help of putty.