1
I want to use this plugin in my text editor to debug my HHVM application. Therefore I need a Linux user which is able to login via SSH both without password and without key authentication.
How can I achieve this?
I tried several ways, including
passwd -d hhvm-debuguser
But then, I can’t login; I entered nothing when I was being asked for password:
main@faraway:~$ su hhvm-debuguser
Password:
su: Authentication failure
My SSH config file looks like this, only allowing the user hhvm-debuguser
from my personal IP:
DenyUsers hhvm-debuguser
Match User hhvm-debuguser Address my.ip.address.home
PermitEmptyPasswords yes
PasswordAuthentication yes
AllowUsers hhvm-debuguser
(Yes, I know that this is an absolute edge-use-case which should not be used in the wild and I'm aware of the risks and security isses)
Do you mean you want to setup passwordless SSH keys like this? http://superuser.com/questions/255396/how-do-i-ssh-without-a-password-setting-up-ssh-keys-doesnt-work?rq=1
– JakeGould – 2015-08-28T00:03:27.837therefore I need ... without key authentication. I don't follow why this plugin requires no key authentication. – Paul – 2015-08-28T00:37:05.847
Reading the readme file under your link, you need to set up passwordless login, it doesn't matter if passwords are still enabled, and you don't want to denyUser in shh config. What it wants is to be able to login without a password. – Tyson – 2015-08-28T00:55:23.553