Quote:
Set this unprivileged users authorized_keys file entry to start with this stanza:
|
Is it possible to not use authorized key and use plain user and password?And if yes then where i should add the:
Quote:
no-pty,no-agent-forwarding,no-X11-forwarding,command="/bin/false",permitopen="ipaddressortnumber"
|
At the moment i create a user:
Code:
useradd tunneluser
passwd tunneluser
and i create a group:
then i add the user there:
Code:
useradd -G tunnel tunneluser
check that is ok:
Code:
id tunneluser
uid=502(tunneluser) gid=503(tunneluser) groups=503(tunneluser)
And now i don't know what to edit to fix the privileges...