That's Fine, But...

Story: How to: Restrict Users to SCP and SFTP and Block SSH Shell Access with rsshTotal Replies: 0
Author Content
moopst

Jan 02, 2008
9:50 PM EDT
I need to restrict users on Solaris.

I've found a solution but it's slightly clunky. I just put no-pty on their key in ~/.ssh/authorized_keys but it doesn't keep them from sftping down authorized_keys, editing it and sending it back. Maybe I can chmod it 400 - oh darn, they can chmod in the interactive commands for sftp. I tried a command=/some/shell/script but it failed to start up the sftp subsystem for normal use of their key.

Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]

Becoming a member of LXer is easy and free. Join Us!