sshd `Match` save me ..
-
sshd
Matchsave me .. -
sshd
Matchsave me ..@fiore sshd configuration is so fun /gen -
R relay@relay.mycrowd.ca shared this topic
-
@fiore sshd configuration is so fun /gen
@coolbean im trying to do smth
i have a Match Group where only sftp is allowed , through password auth , in a chroot . but i also want users to be able to change their password .. how do u think i could set this up
-
@coolbean im trying to do smth
i have a Match Group where only sftp is allowed , through password auth , in a chroot . but i also want users to be able to change their password .. how do u think i could set this up
-
@coolbean im trying to do smth
i have a Match Group where only sftp is allowed , through password auth , in a chroot . but i also want users to be able to change their password .. how do u think i could set this up
@fiore kind of evil but maybe a separate ssh port where they can only access passwd, similar to them only accessing sftp-internal on this one
-
@fiore kind of evil but maybe a separate ssh port where they can only access passwd, similar to them only accessing sftp-internal on this one
@fiore ok nvm i found this and it seems to work very well
https://superuser.com/a/1154084only needed to change the path to
/usr/lib/openssh/sftp-serverand ForceCommand to point at where i saved the scriptthen could run
ssh test@localhost passwd -
@jackemled@furry.engineer @coolbean might honestly just write a wrapper script to allow both internal-sftp and passwd
-
@fiore kind of evil but maybe a separate ssh port where they can only access passwd, similar to them only accessing sftp-internal on this one
@avery@furry.engineer thats SUPER evil
-
@fiore ok nvm i found this and it seems to work very well
https://superuser.com/a/1154084only needed to change the path to
/usr/lib/openssh/sftp-serverand ForceCommand to point at where i saved the scriptthen could run
ssh test@localhost passwd@avery@furry.engineer yep , i was thinking smth along these lines as well .