Allow only to lend a port and modify ~/.ssh/authorized_keys #51

Open
opened 2024-12-18 18:00:27 +01:00 by Benjamin_Loison · 3 comments

Could help at work to let users add devices able to access their laptops for instance it seems.

Something maybe like a disabled shell but SFTP access authorized only for seeing and modifying this file.

Related to #35.

Could help at work to let users add devices able to access their laptops for instance it seems. Something maybe like a disabled shell but SFTP access authorized only for seeing and modifying this file. Related to #35.
Author
Owner
Tracked at [Benjamin_Loison/openssh/issues/44](https://salsa.debian.org/Benjamin_Loison/openssh/-/issues/44).
Author
Owner
Related to [Benjamin_Loison/FileZilla/issues/25](https://codeberg.org/Benjamin_Loison/FileZilla/issues/25).
Author
Owner

Should be able to access ~/.ssh/authorized_keys through SSH key authentication.

wiki.archlinux.org: SFTP server#Fixing path for authorized keys (792514) may help.

I was thinking about only giving sub file configuration write access, to avoid revoking original access but it may be wanted.

Should be able to access `~/.ssh/authorized_keys` through SSH key authentication. [wiki.archlinux.org: SFTP server#Fixing path for authorized keys (792514)](https://wiki.archlinux.org/index.php?title=SFTP_chroot&oldid=792514#Fixing_path_for_authorized_keys) may help. I was thinking about only giving sub file configuration write access, to avoid revoking original access but it may be wanted.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Benjamin_Loison/linux#51
No description provided.