Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sudosh + requiretty = no more scp/rsync #18

Open
Thulium-Drake opened this issue Sep 29, 2020 · 1 comment
Open

Sudosh + requiretty = no more scp/rsync #18

Thulium-Drake opened this issue Sep 29, 2020 · 1 comment

Comments

@Thulium-Drake
Copy link

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?

@mzpqnxow
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants