I'm trying to connect remotely to a Ubuntu 18.04 instance on AWS using remote-ftp 2.2.4
from my local machine running Windows 10.
I have my .ftpconfig
file at D:\Webserver
, and have entered that value into remote-ftp's
settings.
My .pem
file is at C:/myKey.pem
But when I try to connect I keep getting
Remote FTP: Could not read .ftpconfig file.
Error: EISDIR: illegal operation on a directory, read
Where am I going wrong? This is my .ftpconfig
file.
{
"protocol": "sftp",
"host": "00.000.0.00",
"port": 22,
"user": "ubuntu",
"pass": "",
"promptForPass": false,
"remote": "/",
"local": "",
"agent": "",
"privatekey": "C:/myKey.pem",
"passphrase": "",
"hosthash": "",
"ignorehost": true,
"connTimeout": 10000,
"keepalive": 10000,
"keyboardInteractive": false,
"keyboardInteractiveForPass": false,
"remoteCommand": "",
"remoteShell": "",
"watch": [],
"watchTimeout": 500
}