Advanced

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
8:50 PM EST
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.

Post a reply to this thread:

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post