Your SSH username is usually set by your hosting provider or server administrator, and you find it in your account dashboard, welcome email, or by asking whoever gave you server access

When you rent server space or get access to a remote machine, the person or company controlling that server decides what name you log in with. That name is your SSH username. It is not something you choose on your own — it comes from whoever set up your account. The fastest way to find it is to check the welcome email your hosting provider sent you, look in your account control panel, or contact your provider's support team directly.

SSH usernames follow no single standard. Some providers use your email address. Others use a random string like u1234567. Some let you pick one during signup. Some assign root (the administrator account) or ubuntu or ec2-user depending on the server type. Knowing where to look saves you from guessing or getting locked out.

Key Takeaways

  • Check your hosting provider's welcome email first — it almost always lists your SSH username and the server address you need.
  • Log into your hosting account dashboard or control panel; most providers display connection details under "Server Info" or "Account Settings".
  • If you set up the server yourself, the username depends on the operating system: root for some Linux images, ubuntu for Ubuntu, ec2-user for Amazon Linux.
  • Contact your hosting provider's support team if you cannot find it anywhere — they can confirm your username in seconds.
  • Write down your username and server address together so you do not have to search twice when you need to connect.

Check your welcome email and account dashboard first

Your hosting provider sends a welcome email within minutes or hours of account creation. Open that email and search for "SSH", "username", "login", or "connection details". Most providers include a section that looks like this: "Your server details are: Server: 192.0.2.45, Username: myusername, Port: 22". Save that email or screenshot it.

If you cannot find the email, log into your hosting account on the provider's website. Look for a section called "Servers", "Instances", "VPS", "Hosting", or "Account Settings". Click on the server or account name. The connection details are usually on the main page or under a tab labeled "Details", "Connection Info", "SSH Access", or "Credentials". Write down exactly what you see.

Different providers use different names for this section. Linode calls it "Linodes" and shows SSH access details on the server page. DigitalOcean calls it "Droplets" and lists the username under "Access". AWS calls it "Instances" and the username depends on the image type. Bluehost shows it under "Hosting" with a button labeled "Manage". If you are unsure where to look, search the provider's help docs for "SSH username" or "how to connect via SSH".

Understand what username your server type uses by default

If you created a server yourself and never set a custom username, the default depends on the operating system image you chose. This matters because you cannot guess — you must use the exact name the system expects.

Ubuntu servers use the username ubuntu. Debian servers use debian. CentOS or Rocky Linux use centos or rocky. Amazon Linux uses ec2-user. Fedora uses fedora. If you chose a generic "Linux" image without specifying a distribution, check the provider's documentation for that image — it will state the default username.

The root account (the administrator) exists on all Linux systems, but most hosting providers disable direct root login over SSH for security reasons. They create a regular user account instead and let you run administrator commands with sudo. Do not assume you can log in as root unless your provider explicitly says you can.

Ask your server administrator or hosting support

If you inherited a server from someone else, or if you are part of a team with a shared server, ask the person who set it up. They know the exact username because they created it. Send them a message: "What is the SSH username for [server address]?" They should answer in seconds.

If you cannot reach the original administrator, contact your hosting provider's support team. Tell them your server address or account number and ask for the SSH username. Provide proof of ownership (your account email, billing information, or the phone number on file). Support can look it up in seconds and will not charge you.

Some providers offer live chat support, which is fastest. Others use email or ticket systems. Check your provider's support page for contact options. Have your account number or server address ready before you reach out.

What to do if you cannot find or remember your username

If your welcome email is gone and the dashboard does not show it, you have two options: reset it through your hosting account, or contact support. Most providers let you reset your SSH key or password without knowing the username — you just need access to your hosting account.

Log into your hosting account and look for "Reset SSH Key", "Change Password", "Security", or "Access". Some providers let you generate a new SSH key pair and read the private key. Others let you set a new password. Either way, the process usually shows you the username as part of the reset. If the dashboard does not offer a reset option, support can do it for you.

Do not try to brute-force or guess the username by attempting random logins. Most servers lock you out after several failed attempts, and it wastes time. A support request takes five minutes and always works.

Store your username and server address together

Once you have your username, write it down with your server address and keep it somewhere you can find it later. A text file on your computer, a password manager, or a note in your phone all work. The format should be straightforward: "Server: 192.0.2.45, Username: ubuntu, Port: 22". You will need all three pieces when you connect via SSH.

If you use multiple servers, create a small list. Many SSH tools (like PuTTY on Windows or the Terminal on Mac and Linux) let you save connection profiles with the username and address built in, so you do not have to type them every time. That saves you from mixing up usernames across different servers.

Frequently Asked Questions

Can I change my SSH username after it is set?

Yes, but it requires access to the server itself or administrator help. If you can already log in, you can create a new user account with a different name and delete the old one. If you cannot log in, contact your hosting provider — they can change it for you or reset your access so you can change it yourself.

Is my SSH username the same as my hosting account username?

No. Your hosting account username is what you use to log into the provider's website. Your SSH username is what you use to log into the server itself. They are often different. Check both places to make sure you have the right one.

What if the username field in my dashboard is blank or says "none"?

That usually means the server has not finished setting up yet, or there is a display error. Wait a few minutes and refresh the page. If it is still blank, contact support with your server address. They can confirm the username exists and show you what it is.

Do I need to know my username before I can connect via SSH?

Yes. SSH requires a username, server address, and either a password or SSH key. You cannot connect without the username. That is why finding it first is the necessary first step.