# Failed System check with sshd \[solved\]

**URL:** <https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894>\
**Category:** Help with Setup/Upgrade\
**Created:** [April 12, 2021, 5:24pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894 "2021-04-12T17:24:32Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![xyzsco](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/x/ea666f/32.png) [@xyzsco](https://discourse.mailinabox.email/u/xyzsco)\
**Post date:** [April 12, 2021, 5:24pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/1 "2021-04-12T17:24:32Z")

</div>

I restarted sshd, but still gives this error…

> **[Pastebin.com - Locked Paste](https://pastebin.com/YreEkGSq)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

eskTdBMBQG

---

<div class="post-metadata">

**Author:** ![openletter](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@openletter](https://discourse.mailinabox.email/u/openletter)\
**Post date:** [April 12, 2021, 5:28pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/2 "2021-04-12T17:28:19Z")

</div>

How are you currently accessing the server?

---

<div class="post-metadata">

**Author:** ![xyzsco](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/x/ea666f/32.png) [@xyzsco](https://discourse.mailinabox.email/u/xyzsco)\
**Post date:** [April 12, 2021, 5:29pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/3 "2021-04-12T17:29:02Z")

</div>

ssh, with a private key and passphrase

---

<div class="post-metadata">

**Author:** ![openletter](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@openletter](https://discourse.mailinabox.email/u/openletter)\
**Post date:** [April 12, 2021, 5:32pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/4 "2021-04-12T17:32:39Z")

</div>

Okay, so your private key pair has a passphrase? When you log into your server, does it confirm that you logged in using key? If you have trouble telling the difference, do you use your server user passhprase to log in or your private key pair passphrase to log in?

---

<div class="post-metadata">

**Author:** ![openletter](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@openletter](https://discourse.mailinabox.email/u/openletter)\
**Post date:** [April 12, 2021, 5:40pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/5 "2021-04-12T17:40:38Z")

</div>

It is important to verify you are logging in using the key pair so you do not lock yourself out of the server.

---

<div class="post-metadata">

**Author:** ![xyzsco](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/x/ea666f/32.png) [@xyzsco](https://discourse.mailinabox.email/u/xyzsco)\
**Post date:** [April 12, 2021, 5:42pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/6 "2021-04-12T17:42:03Z")

</div>

Both, please see attached screen shot for more info.

 ![screencapture-mail-httpbuild-admin-2021-04-12-13_40_37](https://discourse.mailinabox.email/uploads/default/original/2X/c/c2daa888c0af4708bba93f266a2f4aa41e3ecda5.png)

---

<div class="post-metadata">

**Author:** ![xyzsco](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/x/ea666f/32.png) [@xyzsco](https://discourse.mailinabox.email/u/xyzsco)\
**Post date:** [April 12, 2021, 5:42pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/7 "2021-04-12T17:42:51Z")

</div>

> [@openletter](#):
>
> When you log into your server, does it confirm that you logged in using key? If you have trouble telling the difference, do you use your server user passhprase to log in or your private key pair passphrase to log in?

Well, I am not sure, could you please tell me how? right now they are identical, so no way to tell… ( I know I know, bad practice, lol )

---

<div class="post-metadata">

**Author:** ![openletter](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@openletter](https://discourse.mailinabox.email/u/openletter)\
**Post date:** [April 12, 2021, 5:45pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/8 "2021-04-12T17:45:30Z")

</div>

Run:

```
$ tail /var/log/auth.log

```

And one of the lines should include:

```
Accepted publickey for username from <IP address>...
```

---

<div class="post-metadata">

**Author:** ![xyzsco](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/x/ea666f/32.png) [@xyzsco](https://discourse.mailinabox.email/u/xyzsco)\
**Post date:** [April 12, 2021, 5:47pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/9 "2021-04-12T17:47:27Z")

</div>

Bingo, looks good. What’s next?

---

<div class="post-metadata">

**Author:** ![openletter](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@openletter](https://discourse.mailinabox.email/u/openletter)\
**Post date:** [April 12, 2021, 5:49pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/10 "2021-04-12T17:49:44Z")

</div>

Run:

```
$ grep PasswordAuthentication /etc/ssh/sshd_config

```

Paste results here.

---

<div class="post-metadata">

**Author:** ![xyzsco](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/x/ea666f/32.png) [@xyzsco](https://discourse.mailinabox.email/u/xyzsco)\
**Post date:** [April 12, 2021, 5:51pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/11 "2021-04-12T17:51:03Z")

</div>

PasswordAuthentication no

# PasswordAuthentication. Depending on your PAM configuration,

# PAM authentication, then enable this but set PasswordAuthentication

PasswordAuthentication yes

* * *

I see, I forgot to comment out the old one… Let me try and will keep you posted.

---

<div class="post-metadata">

**Author:** ![openletter](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@openletter](https://discourse.mailinabox.email/u/openletter)\
**Post date:** [April 12, 2021, 5:52pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/12 "2021-04-12T17:52:03Z")

</div>

Also make sure you have:

```
PermitRootLogin no
```

---

<div class="post-metadata">

**Author:** ![xyzsco](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/x/ea666f/32.png) [@xyzsco](https://discourse.mailinabox.email/u/xyzsco)\
**Post date:** [April 12, 2021, 5:52pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/13 "2021-04-12T17:52:44Z")

</div>

Alright, looks good. I guess we can archive this thread. Thanks a lot for you help!!

---

<div class="post-metadata">

**Author:** ![system](https://discourse.mailinabox.email/uploads/default/original/2X/4/4d0933d13c456b7e57f296aa6cc344525b6f0c70.png) [@system](https://discourse.mailinabox.email/u/system)\
**Post date:** [April 19, 2021, 5:53pm UTC](https://discourse.mailinabox.email/t/failed-system-check-with-sshd-solved/7894/14 "2021-04-19T17:53:16Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
