Article 4XQA7 ssh login with group

ssh login with group

by
aw_wolfe12
from LinuxQuestions.org on (#4XQA7)
I have a shared directory where 3 people work on files. It is owned by a group that all 3 belong to. However, whenever someone ssh into it and change a file, it is updated to "user":nogroup. This then prevents other users from updating files, because the file is no longer owned by the shared group. I also don't want them to have to manually set the group back each time they update the file...and I want to keep the "others" permission to readonly.

So, what I would them to do is like something along [ssh "user":"shared_group"@server]. However, when testing that and touching a file, it still isn't put into the correct "shared" group.

I think I'm overlooking something simple as this seems like it would be a common need.

Any help with setting up permission correctly or better way to ssh into server would be appreciated.

Tonylatest?d=yIl2AUoC8zA latest?i=DlnyUbhvtyo:4HOUL5L0Slw:F7zBnMy latest?i=DlnyUbhvtyo:4HOUL5L0Slw:V_sGLiP latest?d=qj6IDK7rITs latest?i=DlnyUbhvtyo:4HOUL5L0Slw:gIN9vFwDlnyUbhvtyo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments