Re: non-interactive sftp and 'put'
- From: protect.yourself@xxxxxxxxx
- Date: Thu, 18 Oct 2007 16:32:59 -0000
I am trying to do the same thing because scp isn't working properly
from a linux box to a windows box. big surprise! Have you had any
luck?
Mitch
mitch.saba AT uconn dot edu
On Oct 15, 10:31 am, Ens8675...@xxxxxxx wrote:
I have the authentication set up and working correctly, just have a
question on how to non-interactively upload files to the server using
sftp. I can non-interactively download files using the following:
sftp [[user@]host[:file [file]]]
sftp [[user@]host[:dir[/]]]
But there doesn't seem to be a way to put files on the server. I can
create a batch file, but that is an ugly solution. I can also use scp,
but we wanted to limit the user to their home directory on the ssh
server. The Windows ssh server we are using does not restrict (other
than file/directory permissions) the user to a certain directory when
using scp, but it does restrict the user when using sftp.
It looks like we may just have to lock down the entire directory
structure on the ssh server so that the user isn't allowed to navigate
anywhere in the filesystem (which will probably be done anyway).
Any way to perform a non-interactive 'put' operation without using
batch files?
Thanks,
Bo
.
- References:
- non-interactive sftp and 'put'
- From: Ens8675301
- non-interactive sftp and 'put'
- Prev by Date: Re: SSH Analysis : ever tried ?
- Next by Date: Re: non-interactive sftp and 'put'
- Previous by thread: non-interactive sftp and 'put'
- Next by thread: Re: non-interactive sftp and 'put'
- Index(es):
Relevant Pages
|