sftp-gcs icon indicating copy to clipboard operation
sftp-gcs copied to clipboard

SFTP Daemon is not working

Open sham1111 opened this issue 3 years ago • 2 comments

Hi! I have tried to run the SFTP daemon by this command and it works until I don't don't close the session. After close the session I could not able to connect with SFTP. Can you please read the guide how can we run daemon so sftp should be available at the time. Here was my command.

nohup node sftp-gcs --debug=debug --bucket gs://import-bq --port=9022 --user=****** --password=******** > /dev/null 2>&1 &

sham1111 avatar Apr 27 '21 16:04 sham1111

The command looks perfect. My plan is to run this in my own sandbox and see if I can recreate.

kolban-google avatar Apr 28 '21 13:04 kolban-google

@sham1111 - I use pm2 to run the nodeJS app as a daemon and it works great Check it out here

jogoldberg avatar Jan 03 '22 08:01 jogoldberg