Re: scp or ssh transfert
- From: Nico <nkadel@xxxxxxxxx>
- Date: Sat, 08 Sep 2007 03:36:25 -0700
On 4 Sep, 10:36, Miss Terre <M...@xxxxxx> wrote:
Hi,
is there a way to lock the way of a transfer in scp ?
I mean, with a server A and B, is there a way, connecting from A to B,
to allow data going from A to B but preventing transfers from B to A ?
(the same way as ftp get/put does)
Maybe with latest sftp release ?
Thanks
Well, you could set the file ownership on A to prevent the users on B
from being able to modify the files. Have them do downloads with a
specific "download only" account and a set of user-supplied SSH keys,
and you should be good.
But for this kind of access control, SSH is often not your best bet. I
keep saying this, but WebDAV over HTTPS works quite well and is well
supported, and provides protection against symlink oddness that SCP
does not. There's also rsync, or rsync over SSH: I suspect you could
tunnel rsync over SSH to provide exactly this kind of access.
.
- References:
- scp or ssh transfert
- From: Miss Terre
- scp or ssh transfert
- Prev by Date: Re: Using putty to debug ssh through a firewall
- Next by Date: How to foce SCP to create a directory ?????????????
- Previous by thread: scp or ssh transfert
- Next by thread: how to record the client's ip address in logfile
- Index(es):
Relevant Pages
|
|