scp/sftp without interactive shell?

Ewald Jenisch a at jenisch.at
Thu May 3 14:07:36 UTC 2007


Hi,

I'm looking for a way to securely transfer files between machines
using either scp or sftp without giving the user a login shell on the
target machine. Put in another way: The user should be able to
transfer files but must not have an interactive login shell on the
target box.

Giving the user a shell of "/bin/true" or something similar on the
target machine is not an option since scp doesn't seem to work in this
case.

Any ideas how this could be accomplished?

Thanks in advance for your help,
-ewald




More information about the freebsd-questions mailing list