WEBサイトの更新を自動化するパイプラインを使用します。
使用しているサーバーがFTPS接続(SFTP / SSH接続不可)のみとなっておりテンプレートのftp-deployhttps://bitbucket.org/atlassian/ftp-deploy/src/master/
を使用してpipe.shのlftpを変更しても下記のエラーがでてうまく接続できません。
mirror: Login failed: 530 Non-anonymous sessions must use encryption.
私はLFTPに詳しくありませんが、
set
ftp
:ssl-auth TLS
set
ftp
:ssl-force
true
set
ftp
:ssl-allow
yes
set
ftp
:ssl-protect-list
yes
set
ftp
:ssl-protect-data
yes
set
ftp
:ssl-protect-fxp
yes
set
ssl:verify-certificate no
上記を設定することでFTPS接続ができるようになると思いますが、
pipe.shのlftpをどのように設定すれば実現できるのかわかりません。
BitbucketPipelinesでFTPS接続をしたことのある方、お力添えいただけますと幸いです。
Hey @吉野勇真
Welcome to the community!
I believe you need to configure the option on your FTP server and not in the pipe since the error indicates that the Bitbucket pipeline connection was rejected by your server because it requires encryption.
You need to add those commands in your server ~/.lftprc
Hope this helps.
Cheers,
Syahrul
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.