Hi.

I hope this list is the right one to ask openssh questions, in case I'm wrong
here please point me to the right list/channel, thanks.

We use sftp for uploads and iWatch to post process the uploaded files.

We have several Match blocks in our /etc/ssh/sshd_config

```
Match User user001
ForceCommand internal-sftp
AllowAgentForwarding no
AllowTcpForwarding no
X11Forwarding no
ChrootDirectory /home/user001
```

Can I replace the ForceCommand with a script which triggers a post process
tool and use Subsystem for internal-sftp ?

Version: OpenSSH_7.2p2
OS: Ubuntu 16.04 LTS

The Idea is that after a successful upload a post process script is running
so the we can remove the iWatch.

Thank you for any help.

Regards
Aleks

Reply via email to