Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2007 16:07:33 +0200
From:      Ewald Jenisch <a@jenisch.at>
To:        freebsd-questions@freebsd.org
Subject:   scp/sftp without interactive shell?
Message-ID:  <20070503140733.GA3332@aurora.oekb.co.at>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070503140733.GA3332>