sftp-state - MySecureShell Command
sftp-state [options]
Control activity of the server
−yes : You
answer Yes to all questions (must be the first argument)
active / start : Start server
shutdown / stop : Stop server (This ask you if you want to
disconnect
clients)
sftp-state start
Start server.
sftp-state −yes stop
Stop server and disconnect users
MySecureShell(8), sftp-who(8), sftp-state(8), sftp-admin(8) sftp-verif(8)