I just want to change my change the SSH password.
For this I had a look in here and the internet in general. But now I am getting confused. Since I found entries where thy talking about the admin password. I think the SSH password is the admin password. But it seems that the admin password is an additional one beside the logon password for the web page.
So I just need to know, how to change my SSH password.
The SSH password is changed at the OS level. How to do this depends on the Linux distribution you are running, through a configuration program. For this, you will want to visit the forums for your OS.
The admin password in Pi-hole provides access to the web admin GUI. This is separate and distinct from the SSH password.
No...
The only password handled by Pi-hole is the Web Interface password.
Some users call it "admin password", but this is completely unrelated to ssh.
SSH password is an OS level password and, as explained by jfb, it depends on the Linux distribution running on your machine. This password is unrelated to Pi-hole.
Check below man page for the passwd command:
$ man passwd
[..]
SYNOPSIS
passwd [options] [LOGIN]
[..]
DESCRIPTION
The passwd command changes passwords for user accounts. A normal
user may only change the password for their own account, while the
superuser may change the password for any account. passwd also
changes the account or associated password validity period.
1 Like