Open mdelorimier opened 6 years ago
Hi @mdelorimier
I'm not an expert in Yaml but I think you should remove the double quotes around values.
Kind regards
@daywalker2811 I don't beleive that is the issue : https://stackoverflow.com/a/11301675/643039
I have semicolon in password so I need to escape it using quotes.
I also encounter problem using sftp
Error log:
[ + ] Fail uploading file site/README.md: { Error: No such file
at SFTP._parse (C:\Users\pegal\AppData\Roaming\npm\node_modules\dploy\node_modules\ssh2\lib\SFTP\SFTPv3.js:986:23)
at ChannelStream.
Same problem here. SFTP doesn't work.
version
$ dploy --version
v1.2.0
config
prod:
scheme: sftp
port: 21098
host: 198.54.***.***
user: *****
check: true
include:
"public/**/*.*": "/"
path:
local: public
remote: /public_html/
error
– Are you sure you want to upload those files? (Y/n) readline.js:1086
throw err;
^
TypeError: Cannot read property 'answer' of undefined
at C:\Users\publi\AppData\Roaming\npm\node_modules\dploy\lib\deploy.js:578:20
at C:\Users\publi\AppData\Roaming\npm\node_modules\dploy\node_modules\prompt\lib\prompt.js:316:20
at C:\Users\publi\AppData\Roaming\npm\node_modules\dploy\node_modules\async\lib\async.js:136:21
at assembler (C:\Users\publi\AppData\Roaming\npm\node_modules\dploy\node_modules\prompt\lib\prompt.js:282:18)
at C:\Users\publi\AppData\Roaming\npm\node_modules\dploy\node_modules\prompt\lib\prompt.js:322:20
at C:\Users\publi\AppData\Roaming\npm\node_modules\dploy\node_modules\prompt\lib\prompt.js:510:14
at onError (C:\Users\publi\AppData\Roaming\npm\node_modules\dploy\node_modules\read\lib\read.js:94:12)
at Interface.<anonymous> (C:\Users\publi\AppData\Roaming\npm\node_modules\dploy\node_modules\read\lib\read.js:66:5)
at Interface.emit (events.js:198:13)
at Interface._ttyWrite (readline.js:801:16)
Hello,
I am having an issue when trying to connect to a SFTP server. This might be linked to the server's fingerprint not beeing known (it is present in ~/.ssh/known_hosts).
Using the ssh2 package, I am able to connect and get folder listing using the same configuration.
Here is the configuration file :
Here is the error :
Regards