Re: scp/sftp without interactive shell?

2007-05-03 Thread Greg Barniskis
Ewald Jenisch wrote: 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. Have you tried ports/shells/scponly? ___ freebsd-questions@freebsd.org m

Re: scp/sftp without interactive shell?

2007-05-03 Thread Ghirai
Hello Ewald, Thursday, May 3, 2007, 5:07:33 PM, you wrote: > 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

Re: scp/sftp without interactive shell?

2007-05-03 Thread Chuck Swiger
Ewald Jenisch wrote: [ ... ] 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? Take a look at /usr/ports/shells/scponly, or "rsh" for "restricted shells", mo

scp/sftp without interactive shell?

2007-05-03 Thread Ewald Jenisch
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