Displaying 20 results from an estimated 4000 matches similar to: "Restrict commands available in an SFTP session"
2012 Feb 12
4
[Bug 1979] New: Enhancement patch: Restrict sftp-server to basic commands, by user or group
https://bugzilla.mindrot.org/show_bug.cgi?id=1979
Bug #: 1979
Summary: Enhancement patch: Restrict sftp-server to basic
commands, by user or group
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.9p1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
2005 Feb 17
1
SFTP batch mode patch
Hi,
We do a lot of automated file transfers with SFTP, and found this small
patch very helpful. The main effect is to tell the underlying SSH client
that it's operating in batch mode. Patch is against 3.9p1.
Thanks,
Jeremy Monin
Sysadmin and open-source developer
diff -ur openssh-3.9p1-orig\sftp.c openssh-3.9p1\sftp.c
--- openssh-3.9p1-orig\sftp.c Sat Jul 17 02:12:08 2004
+++
2004 Apr 24
5
Modalwert
Hai -
kann mir jemand sagen, wie ich den Modalwert in R berechne?! IRgendwie finde
ich den Befehl nicht....
greetz und herzlichen Dank
Sonja
2020 Apr 11
2
internal-sftp + chroot [was: Parallel transfers]
Nico Kadel-Garcia wrote:
> in places where I do not want OpenSSH server's tendency ro let
> people with access look around the rest of the filesystem.
If you want users to be able to use *only* SFTP then set a ChrootDirectory
and ForceCommand internal-sftp in a Match for the user in sshd_config.
//Peter
2012 May 10
2
Is there any method, with ChrootDirectory and internal-sftp, to automatically cd to a subdir on login?
Hi,
This is either a query or a feature request. I have a system where sftp
users are chrooted using scponly, which while requiring much more setup than
OpenSSH's internal-sftp method, has the useful feature of allowing an
initial chroot to a subdirectory, typically the one used for file exchange.
I've searched for a way to do the same thing with OpenSSH. So far haven't
found it.
If
2020 May 06
2
Parallel transfers with sftp (call for testing / advice)
On Tue, May 5, 2020 at 4:31 AM Peter Stuge <peter at stuge.se> wrote:
>
> Matthieu Hautreux wrote:
> > The change proposed by Cyril in sftp is a very pragmatic approach to
> > deal with parallelism at the file transfer level. It leverages the
> > already existing sftp protocol and its capability to write/read file
> > content at specified offsets. This enables
2002 Jun 12
2
uninterruptible sleep with rsync 2.5.4
Hi,
I've encountered a strange issue, difficult to reproduce for
now. I'm searching from where it comes.
Here are some facts:
- all programs are compiled from sources using gcc 2.95.3/glibc2.2.x
and run on a i686 LFS linux system.
- rsync doesn't run above ssl.
- using rsync 2.5.4 as server to backup mailboxes on another computer.
rsync daemon is launched from xinetd, rsync
2020 May 04
3
Parallel transfers with sftp (call for testing / advice)
Le 10/04/2020 ? 01:55, Darren Tucker a ?crit?:
> On Thu, 9 Apr 2020 at 01:34, Cyril Servant <cyril.servant at gmail.com> wrote:
> [...]
>> Each of our front
>> nodes has an outgoing bandwidth limit (let's say 1Gb/s each, generally more
>> limited by the CPU than by the network bandwidth),
> You might also want to experiment with the Ciphers and MACs since
>
2018 Sep 13
5
sftp-server file encryption
Hi,
I wonder if sftp-server could encrypt files before writing to disc. This
would make sshd a poor man's alternative for an encrypting filesystem on a
server.
How to get the crypto key from a client to be used by sftp-server? Upload
the key to a /well/defined/key.pem virtual location? Or can you access the
ssh client certificate from sftp-server?
Can sftp-server call a filter?
Or would one
2019 Aug 29
4
Permission Issue
Hai,
Great to hear i could help one with a gluster problem :-)
And ofcourse your allowed to keep us up2date.
So yes, plese, by doing that and sharing the configs it might help other people.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Benedikt Kale? via samba
> Verzonden: woensdag 28 augustus 2019 17:37
2015 May 01
5
sftp chroot requirements
I did not find any clues when 'googling' and could not find any search
options on the archives.
So, your answer does really not help.
If you can help me with some reference, then it is highly appreciated.
I would like to understand the rationaly. Not why 'it is just like it is'.
No, why. What is the reasoning behind it.
I speak Dutch, English, some Japanese and C. So, I can
2019 Aug 28
4
Permission Issue
Hi again,
regarding my post "plenty of vacuuuming process" a "gluster volume heal"
seems to improve the situation.
But I still have a strange problem:
Sometimes a user don't have permissions to? a restricted folder when h
connects to a share or logs in at a windows client. In some times all
permissions are granted. If the user creates a file, the user and group
is
2019 May 16
3
CTDB node stucks in " ctdb-eventd[13184]: 50.samba: samba not listening on TCP port 445"
Hi Martin,
> Does a useful ps command (e.g. ps auxww) show smbd running? What do
> the smbd logs say?
no,
root at ctdb-<HOST>:~# ps auxwww | grep smbd
root 13192 0.0 0.0 12780 940 pts/0 S+ 13:05 0:00 grep smbd
There is no smbd, nmbd is running.
Ahh, but the log says:
[2019/05/16 11:26:38.702593, 0]
../source3/smbd/server.c:1519(smbd_claim_version)
2006 Jul 06
2
scp/sftp weirdness
Hi ya'll-
I'm having this weird problem with the new version of OpenSSH compiled
on Solaris, version 4.3p2. SSH and SSHD work fine, all is well. But
when I try to sftp or scp something I get this:
% sftp bullitt
Connecting to bullitt...
command-line: line 0: Bad configuration option: PermitLocalCommand
Connection closed
%
"PermitLocalCommand" doesn't appear in
2009 Feb 10
2
Restrict commands available in an SFTP session
I am currently running OpenSSH 4.3. I would like to restrict the commands
SFTP users can run to a list. For example, "put, get, mput, mget, mkdir,
rmdir, and rm". Is this possible with OpenSSH? I have seen many posts
concerning chroot'ing and the Forced Command option, but none of these
solution address restricting the commands actually available inside the SFTP
subsystem. Any
2017 Apr 28
0
[Bug 1979] Enhancement patch: Restrict sftp-server to basic commands, by user or group
https://bugzilla.mindrot.org/show_bug.cgi?id=1979
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |djm at mindrot.org
Resolution|---
2007 Apr 24
2
chmod sftp command and setgid/setuid bit
Hi OpenSSH developers,
I'm using OpenSSH on a daily basis and I'm very pleased
with the work you've done.
I am contributing to some Open Source software hosted at Savannah
https://savannah.nongnu.org/projects/tsp
and we recently hit some sftp unexpected behavior:
https://savannah.gnu.org/support/?105838
when using chmod sftp client command
it appears that setuid / setgid bits are
2019 Aug 23
2
plenty of vacuuuming processes
Hi,
I have a ctdb cluster with 3 nodes and 3 glusterfs (version 6) nodes up
and running.
I observe plenty of these situations:
A connected Windows-10 client doesn't react anymore. I use forder
redirections.?
- Smbstatus shows up some (auth in progress) processes.
- In the logs of a ctdb node I get:
Aug 23 10:12:29 ctdb-1 ctdbd[2167]: Ending traverse on DB locking.tdb
(id 568831), records
2009 Jul 16
1
Table without <th>?
Is it possible to have a simple table but without using <th> and the
long ----- ?
Sonja
2019 Jan 12
2
Online backup of domain fails
Hi Tim,
What we did:
setting "log level = 10" in smb.conf
then exdcute the following command:
------
samba-tool domain backup online --server=addc3 --targetdir=/root -k yes >backup.txt 2>&1
------
Then we grep for the message with "call_nt_transact_query_security_desc"
------
grep call_nt_transact_query_security_desc backup.txt
------
And got nothing :-(
still the