You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently implemented sudosh on a couple of CentOS boxes with the requiretty setting in sudoers. However, this breaks scp and rsync. Is there a way to make those work again? I feel there has to be a combination of sudo rules that allow it.
Anyone any idea?
The text was updated successfully, but these errors were encountered:
The best workaround is to use sftp for file transfers
Unfortunately rsync won't quite work with sftp, though. There are some workarounds mentioned here
I think you're left with a choice about the tradeoff of allowing notty. Keep in mind you can selectively permit notty for individual users/groups. Maybe that's helpful?
BTW- I'm not affiliated with this project, I'm just a user. I'm replying because of a discussion on an issue associated with notty a few years back
Hi!
I recently implemented sudosh on a couple of CentOS boxes with the
requiretty
setting in sudoers. However, this breaks scp and rsync. Is there a way to make those work again? I feel there has to be a combination of sudo rules that allow it.Anyone any idea?
The text was updated successfully, but these errors were encountered: