# Password for pre-configured Pi-Hole

**URL:** <https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629>\
**Category:** Help\
**Created:** [October 11, 2018, 8:00pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629 "2018-10-11T20:00:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![blauber](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/blauber/32/5224_2.png) [@blauber](https://discourse.pi-hole.net/u/blauber)\
**Post date:** [October 11, 2018, 8:00pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/1 "2018-10-11T20:00:05Z")

</div>

I try ssh and it asks for a password to.. so have no way to reset password.. not sure what is meant by local login.. other than GUI but tried the pihole commands in it.. didn't work.. I must be missing something

thank you

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [October 11, 2018, 8:06pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/2 "2018-10-11T20:06:11Z")

</div>

The ssh login password is not the same as the Pi-Hole login password, unless you set it up this way.

As installed from a new Raspbian image, the default password for user pi is raspberry.

Most users change this after install, either with `raspi-config` utility or with a command such as `sudo passwd pi`

---

<div class="post-metadata">

**Author:** ![blauber](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/blauber/32/5224_2.png) [@blauber](https://discourse.pi-hole.net/u/blauber)\
**Post date:** [October 12, 2018, 9:34am UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/3 "2018-10-12T09:34:33Z")

</div>

Thank you jfb but everywhere I try to go it shows password needed.. ssh and gui.. not sure what was meant by local.. I tried raspberry tried. I'm on a mac and terminal to it and tried a App on my iPhone called Termius nothing worked. Tried keyboard, mouse and HDMI to a monitor.. wants a password.. not sure where to go from here.. i had done what one user said and took the memory card out and added a blank ssh file to boot so I could ssh in the first place.. got a login instead of deny but wants password..

---

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [October 12, 2018, 1:20pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/4 "2018-10-12T13:20:24Z")

</div>

> [@Password change](https://discourse.pi-hole.net/t/password-change/6648/6):
>
> Tried keyboard, mouse and HDMI to a monitor… wants a password

How were you able to install Pi-hole previously if you dont know user/password for [Bash](https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29)/desktop login or via [SSH](https://en.wikipedia.org/wiki/Secure_Shell) ?  
If you lost those login details, only thing left is re-install Linux or hack your way in.  
If its a [Raspberry Pi](https://www.raspberrypi.org/) with [Raspbian](https://www.raspbian.org/) installed, you could try the default username "`pi`" with password "`raspberry`".

---

<div class="post-metadata">

**Author:** ![blauber](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/blauber/32/5224_2.png) [@blauber](https://discourse.pi-hole.net/u/blauber)\
**Post date:** [October 12, 2018, 1:25pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/5 "2018-10-12T13:25:06Z")

</div>

Hi deHakkelaar,

I didn't install it .. Pi-hole all in one dark red box.. tried pointing to it's IP and blocked all traffic so have been trying to get access to it ever since.. it has never worked.. bought new.

---

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [October 12, 2018, 1:26pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/6 "2018-10-12T13:26:04Z")

</div>

Ask the people from whom you got the box.

---

<div class="post-metadata">

**Author:** ![blauber](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/blauber/32/5224_2.png) [@blauber](https://discourse.pi-hole.net/u/blauber)\
**Post date:** [October 12, 2018, 1:26pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/7 "2018-10-12T13:26:47Z")

</div>

thought I was.. got it from this site

---

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [October 12, 2018, 1:27pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/8 "2018-10-12T13:27:50Z")

</div>

Link ?  
To my knowledge, Pi-hole doesnt sell ready made boxes.

---

<div class="post-metadata">

**Author:** ![blauber](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/blauber/32/5224_2.png) [@blauber](https://discourse.pi-hole.net/u/blauber)\
**Post date:** [October 12, 2018, 1:29pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/9 "2018-10-12T13:29:52Z")

</div>

sorry just looked.. pi-supply.com  
will see if I can return it  
thanks

Bill

---

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [October 12, 2018, 1:32pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/10 "2018-10-12T13:32:29Z")

</div>

I cant find a ready made Pi-hole box on that site with below search:

[https://uk.pi-supply.com/search?type=product&q=Pi-hole](https://uk.pi-supply.com/search?type=product&q=Pi-hole)

But if your sure its coming from them, why not ask them instead of returning ?

EDIT: Sorry there is a box:

[https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker](https://uk.pi-supply.com/products/pi-hole-kit-network-wide-ad-blocker)

But still, I believe you should ask them for the user/pass if its not the default pi/raspberry.

---

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [October 12, 2018, 1:43pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/11 "2018-10-12T13:43:34Z")

</div>

Try user "`adblock`" with pass "`blackhole`" as described here:

[https://www.stakebox.org/blogs/learn/getting-started-with-pi-hole-your-network-wide-ad-blocker](https://www.stakebox.org/blogs/learn/getting-started-with-pi-hole-your-network-wide-ad-blocker)

RTFM 😉

---

<div class="post-metadata">

**Author:** ![blauber](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/blauber/32/5224_2.png) [@blauber](https://discourse.pi-hole.net/u/blauber)\
**Post date:** [October 12, 2018, 1:58pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/12 "2018-10-12T13:58:59Z")

</div>

Thanks dHakkelaar, I'm in!

---

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [October 12, 2018, 2:03pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/13 "2018-10-12T14:03:51Z")

</div>

Run below one on a Bash command prompt to reset the Pi-hole web GUI password or leave the password blank:

> [@Password change](https://discourse.pi-hole.net/t/password-change/6648/2):
>
> "`pihole -a -p`" on a shell might help to reset the password of the web-frontend.

And I would advice to change the default "`adblock`" user password as well:

`sudo passwd adblock`

---

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [October 12, 2018, 5:22pm UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/14 "2018-10-12T17:22:05Z")

</div>

@blauber, one more question, was a card with a link to instructions included in the Pi-hole package that you purchased ?  
One should have been included according to head honco Salmela (the Founder) 😉

---

<div class="post-metadata">

**Author:** ![John314](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/j/7c8e57/32.png) [@John314](https://discourse.pi-hole.net/u/John314)\
**Post date:** [October 31, 2018, 4:25am UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/15 "2018-10-31T04:25:31Z")

</div>

Hi,

I just got mine today, the same pre-assembled one like blauber.

I'm using a Mac and I wire-connected my Pi-Hole device.

But I'm not sure how my Mac OS terminal connects to the Pi-Hole device.

All I know about how to use the device is through the Web GUI.

How can I change my admin/pwd from there?

Thanks,  
j.

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [October 31, 2018, 5:46am UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/16 "2018-10-31T05:46:32Z")

</div>

> [@John314](#):
>
> But I’m not sure how my Mac OS terminal connects to the Pi-Hole device.

In the Mac terminal: `ssh pi@[ip address here]`

Once shelled in: `sudo pihole -a -p`

You have to change the admin password from the command line.

---

<div class="post-metadata">

**Author:** ![John314](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/j/7c8e57/32.png) [@John314](https://discourse.pi-hole.net/u/John314)\
**Post date:** [October 31, 2018, 5:59am UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/17 "2018-10-31T05:59:07Z")

</div>

hi...

Thanks for replying.

my terminal says port 22's connection refused

---

<div class="post-metadata">

**Author:** ![John314](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/j/7c8e57/32.png) [@John314](https://discourse.pi-hole.net/u/John314)\
**Post date:** [October 31, 2018, 6:39am UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/18 "2018-10-31T06:39:01Z")

</div>

Argh... Sorry, I'm a totally illiterate to the finer aspects of using command terminals and networking configurations.

I had to cringe when I realized I had to connect a keyboard, mouse, and computer screen to my PH RPi because all I had was a Macbook and no detachable keyboard or mouse. ... I couldn't even figure out how to use the HDMI display onto my Macbook.

I'm googling the subject on SSH and port 22.

---

<div class="post-metadata">

**Author:** ![Stan-qaz](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/stan-qaz/32/5100_2.png) [@Stan-qaz](https://discourse.pi-hole.net/u/Stan-qaz)\
**Post date:** [October 31, 2018, 6:39am UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/19 "2018-10-31T06:39:32Z")

</div>

In the Pi's menu pick preferences, raspberry pi configuration, the interfaces tab and enable ssh.

Or since you are in the GUI anyway to make this change just change the password and possibly the system name from the first tab there.

---

<div class="post-metadata">

**Author:** ![John314](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/j/7c8e57/32.png) [@John314](https://discourse.pi-hole.net/u/John314)\
**Post date:** [October 31, 2018, 6:55am UTC](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629/20 "2018-10-31T06:55:11Z")

</div>

Thanks, but I don't see an option to change password or system admin name on the http interface.

[Next page](https://discourse.pi-hole.net/t/password-for-pre-configured-pi-hole/13629.md?page=2)
