can not login!!

Tried everything possible to login keeps say incorrect password. I've tried ssh, root, , my username only ; passwords I've tried 3 different formats and eveneven when I tried to just make a key after 3 days and no success it wont take the key after I ran a powershell on my end and I got a key I hate this all can someone reach out to me and please answer clearly step by step and please don't skip any small step I'm new but I know it shouldn't be this hard but for some reason it is I have putty and still cant login to linux

12 Replies

It's difficult to provide detailed steps without knowing more about your situation, but I can do my best to offer additional information based on what you provided.

First, you can log in either with SSH or with our WebLISH console. I'll provide guides for both as well as break down possible causes of issues and how to overcome them.

Weblish - Access Your Linode Through the Cloud Manager (Weblish)

That guide will walk you through some steps, but there are a few common issues that arise. First, sometimes customers use SSH syntax, which doesn't work with Weblish. You just need to write root when prompted for a login and press the enter or return key. You'll then be prompted for your password. When you copy-and-paste this in, you won't see anything written, but when you press enter it should accept it if you have the right password. Be careful not to copy any spaces after your password as those spaces will be read by LISH console as characters, which will cause the login to fail. I haven't noticed this behavior with SSH.

If you want to try to reset your root password, you can do that from Cloud Manager to assure you're using the correct one. Just make sure you power down your instance first and that you copy-and-paste the new password somewhere secure so you have it when you're ready to log in. Once you power the Linode back on, you can try to log in again using either method.

SSH - Depending on how you're connecting, we have several guides to help with step-by-step instructions for connecting over SSH. Choose the one appropriate to your situation.

We also have a guide to Troubleshooting SSH. Some common issues are Firewalls or SSH not being enabled, which that guide goes over. To see if that's likely an issue here, check out these Community Site posts to learn more about using nmapto check the status of port 22, which is the default port for SSH.

If port 22 is showing as open when you run that scan, the issue is likely to be related to your syntax or password. You can copy the SSH prompt directly from Cloud Manager by clicking the Linodes taband then clicking the specific Linode to get more information. Copy-and-paste the SSH information from under Access, which should look something like this, but with a real IP address: ssh root@111.222.333.444. If you open your terminal, you can paste that in and you should just be prompted for the password, which again, you won't be able to see when you paste it. Press enter after you paste it and you should be logged in.

Finally, if you've already logged in and followed our guide to Set up and secure your compute instance, you may have disabled root access over SSH, in which case you'll need to use the limited user you created in that process or you'll need to use the Weblish.

If you provide additional information about how you're trying to log in along with output you're seeing (with redacted information like IP addresses or usernames other than root), someone in our Community may be able to provide additional steps to help you figure this out.

i also tried to rest password but I didn't change even after getting a notification that it changed

Hey @BelminSalkanovic - I'm going to look into this further though I wanted to post quickly here to let you know that I removed the posts which included your password. Please do not post sensitive information like passwords on our Community Questions site.

@watrick that wasnt my real password it was and example -_-

@watrick
The programs included with the Kali GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Kali GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
┏━(Message from Kali developers)

┃ This is a minimal installation of Kali Linux, you likely
┃ want to install supplementary tools. Learn how:
┃ ⇒ https://www.kali.org/docs/troubleshooting/common-minimum-setup/

┗━(Run: “touch ~/.hushlogin” to hide this message)
┌──(root㉿kali)-[~]
└─#
what do I do from here???

It wasn't clear to me that the password was provided only for example. Forgive me for being too security minded.

Based on your earlier posts here, it sounds like you attempted to reset the password for a user that isn't the root user. That is not possible through the Cloud Manager.

Looking at what you've posted above, it appears that you've connected to the Linode and are now at the prompt to enter the password for the root user.

If you have not reviewed our Getting Started with Compute Instances guide yet, I would recommend starting with the Connect to the Instance section. It covers connection details from various platforms. As it shows, you can connect in various ways.

To clarify, Lish (Linode Console) is an out-of-band connection to our network that allows serial access to the Linode even when the Linode is otherwise unreachable. You do not need to use Lish to access the Linode. Our Access Your System Console Using Lish guide has more about Lish.

The credentials that you use to access your compute instance will be up to what you've set up. The username, password, and key credentials are stored on the Linode itself. We do not have access to that information. Linodes created through our Images will create a root user by default.

To connect to Lish you will need to first use your Cloud Manager username and password. Then, to connect to your Linode itself, you will need the credentials that have been set up on that compute instance. The user could be root or a limited user. This will depend on the internal configuration of your Linode.

For regular SSH, meaning not trying to connect to Lish, you have more tooling at your disposal for troubleshooting. I recommend using verbose mode when attempting to log into the Linode. This is covered in more detail in the Collect Login Attempt Logs section of the Troubleshooting SSH on Compute Instances guide that my colleague Cassandra posted above. Verbose mode will provide detailed logs about what is causing the attempted login to fail.

@watrick this did not help now ill give my example again to see if I can get help….

IF the IP address is for example( not my real IP) : 170.187.202.4
with an SSH access: SSH root@170.187.202.4
LISH console via SSH: ssh -t Belsal@lish-us-southeast.linode.com Linux-one

lets say for example the password is: change96helpme

how do I log in? what goes into launch lish and how did I get into SSH.
Ive even contacted my gamer developer friend who also was unable to solve why I can not access the kali linux linodes. we could only access the last thing i posted

i got in with lish but im using kali linux how do get out of developers mode and into the UI of linux to have it set up as if I'm actually on linux and not just the command part

also how do i get actual linux kali on here and not just a command prompt

There are a couple of things to keep in mind when you're installing Kali Linux in the cloud. First, depending on whether or not you are deploying the Marketplace Application, it can take 45-60 minutes to fully install. If you don't wait that long, your Kali instance will have all kinds of issues.

Second, if you're deploying just the distro itself, it is important to remember it is a minimum installation so some of the tools you may be expecting from a normal installation will not be there.

My suggestion is to deploy the Kali distro from the Marketplace, wait for an hour until you're sure it's had time to complete the installation process, then try to login.

I would like to add on to my last reply. You asked:

"how do get out of developers mode and into the UI of linux to have it set up as if I'm actually on linux and not just the command part"

Generally, Linux cloud servers are operated from the terimanl using commands. However, the Kali Linux Marketplace Application comes with VNC Installed so that you can use it with a Graphical User Interface.

You asked,

"also how do i get actual linux kali on here and not just a command prompt"

For the installation of VNC on a Kali instance from the marketplace to fully complete, it takes 45-60 minutes. You can follow this Deploy Kali Linux through the Linode Marketplace to ensure your Kali instance deploys properly. You should then be able to connect to it using VNC from your desktop computer.

If you have trouble connecting using VNC, you can check out this guide titled How to Troubleshoot Virtual Network Connections.

Hi, disclaimer, I'm a noob in this so don't ask me why and how this worked.

In my case, logging in via the Lish console in the cloud manager was a breeze, password worked but i was stuck for 4 hours trying to get my linux terminal to ssh into my linode. so what i did was.

  • deleted the linode

  • created a new ssh key

    create new ssh key

  • under my profile->SSH Keys, I added in the SSH Key i generated earlier.

  • Created a new linode, and during the creation workflow, I selected the SSH keys i saved under my profile.

  • opened my linux terminal and instead of typing ssh username@ip-address, use ssh root@ip-address

  • logged in successfully without password prompt

Digital Ocean has a straightforward explanation on why you are facing logging in issues.

  • The password is incorrect
  • The SSH key is missing on your local computer or on the Droplet
  • You are trying to use a password, but PasswordAuthentication is disabled in sshd_config
  • You are trying to use an SSH key, but key based authentication is disabled in sshd_config
  • The authorized_keys file has the wrong permissions

Your authorized_keys file is located in root/ssh of your server. you can check it via Lish.

The sshd_config file is under /etc/ssh

I went through the entire check list and didnt find anything that was wrong. That was when I realized that I should be using root instead of my username, and if you noticed whenever you are login via Lish you are also logging in as root thats why password authentication always worked.

The SAME goes for accessing Lish through your Linux terminal, enter your public key under My Profile->Lish Console Settings but instead of using root this time use your username instead, and they will prompt your for password.

In fact, if you go to your Linode dashboard you will see what you are supposed to type when accessing your linode either through SSH or Lish Console over SSH. It was as plain as day and I missed it.

the documentation on this site is abit behind and I honestly don't understand why more effort isn't put into this topic, cos setting up your environment is something you should only do once and isn't something you need to spend a whole day on, but if you don't set it up properly you are gonna lose alot of productive hours, days, weeks. So hope my answer helps someone out there.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct