kolban-google / sftp-gcs

An implementation of an SFTP to Google Cloud Storage bridge.
Apache License 2.0
90 stars 36 forks source link

SFTP Daemon is not working #8

Open sham1111 opened 3 years ago

sham1111 commented 3 years ago

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 &

kolban-google commented 3 years ago

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

jogoldberg commented 2 years ago

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