
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
ローカルファイルを監視し、自動でファイルをアップします。
mac windows linuxで一応動作します。
windowsはruby 2.0系だと動作しない可能性がありますので気をつけて下さい。
Add this line to your application's Gemfile:
gem 'autosftp'
And then execute:
$ bundle
Or install it yourself as:
$ gem install autosftp
設定ファイルを準備します。プロジェクトの直下で作成したほうが良いです。
yaml形式で.autosftpというファイルが作成されます。
$ autosftp init
設定ファイルに接続先の情報を追加します。[remote name]は自由な名称をつけて下さい。
直接.autosftpファイルを修正しても問題ありません。
$ autosftp set [remote name]
自動監視をスタートします。
$ autosftp start [remote name]
後ろにディレクトリを渡すことで、監視するディレクトリ先を選択することが出来ます。 setしたローカルディレクトリ移行のパスを指定して下さい。
$ autosftp start [remote name] /app/
# いくつでも渡すことが出来ます。
$ autosftp start [remote name] /app/ /vender/
設定したsftpの情報を確認します。
$ autosftp list
設定したsftpを削除します。
$ autosftp delete [remote name]
プロジェクトのディレクトリに移動します。 (プロジェクトが/User/username/projectと仮定する。)
$ cd /User/username/project
autosftpの設定ファイルを作成します。
$ autosftp init
SFTPの設定を行います。 ここで重要なのが、ローカルのパスとリモートのパスを合わせる必要があります。 [remote name]は自由な名称をつけて下さい。
$ autosftp set [remote name]
一度設定ファイル(.autosftp)を確認したほうが良いです。
中身が以下のようになっていたら設定完了です。
remote_path
と local_path
のパスは合わせて下さい。
---
: [remote name]
:user: username
:host: test.com
:port: 22
:password: password
:remote_path: /var/www/html/
:local_path: /User/username/project/
監視をスタートします。
$ autosftp start [remote name]
FAQs
Unknown package
We found that autosftp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.