Hello
it's my first time using Almalinx, and it shouldn't be different than Ubuntu
But maybe I am doing something wrong, which is most likely. let's see
1- I created a user for the desktop on local and remote server and another different one one for laptop
2- I created directory inside every user on the remote server
Find/edit/add ChallengeResponseAuthentication and set to no:
ChallengeResponseAuthentication no
Next, find PasswordAuthentication set to no too:
PasswordAuthentication no
Search for UsePAM and set to no, too:
UsePAM no
Finally look for PermitRootLogin and set it to no too:
PermitRootLogin no
---> Finally restart SSH with
After all of this, it used to work with Ubuntu nice and sweet
but I am still able to ssh with the password
for example, I can ssh from anywhere to any user with a password still.
I want to cancel the password login. well, indeed, I am able to cancel the root login but not the password.
any help here
it's my first time using Almalinx, and it shouldn't be different than Ubuntu
But maybe I am doing something wrong, which is most likely. let's see
1- I created a user for the desktop on local and remote server and another different one one for laptop
2- I created directory inside every user on the remote server
3- send the public key to remote server scp :mkdir ~/.ssh && chmod 700 ~/.ssh
4- Edit the /etc/ssh/sshd_config~/.ssh/id_rsa.pub desktop@IP :~/.ssh/authorized_keys
Find/edit/add ChallengeResponseAuthentication and set to no:
ChallengeResponseAuthentication no
Next, find PasswordAuthentication set to no too:
PasswordAuthentication no
Search for UsePAM and set to no, too:
UsePAM no
Finally look for PermitRootLogin and set it to no too:
PermitRootLogin no
---> Finally restart SSH with
sudo systemctl restart sshd
After all of this, it used to work with Ubuntu nice and sweet
but I am still able to ssh with the password
for example, I can ssh from anywhere to any user with a password still.
I want to cancel the password login. well, indeed, I am able to cancel the root login but not the password.
any help here