remote-ftp
remote-ftp copied to clipboard
Could not read .ftpconfig
Just updated to version 2.2.1 getting the following error. It was working fine 5 minutes ago prior to the upgrade.
Remote FTP: Could not read .ftpconfig file. Error: ENOENT: no such file or directory, open 'C:\Users\ldavi.ssh\config
Running on Windows 10, Atom 1.32.2 x64
I had the same problem. I went to the path that the error says and there was a file named 'known_hosts', I renamed it to 'config' and it worked fine.
Rather than change the file name (which may be used elsewhere), change the remote-ftp settings (SSH config path) filename from 'config' to 'known_hosts'.
@fifty120 work perfect. thanks
Hi. I'm having the same problem but my programming skills are not enough to do what was suggested above ("Rather than change the file name (which may be used elsewhere), change the remote-ftp settings (SSH config path) filename from 'config' to 'known_hosts'.)" Can anyone help? FTP was working minutes ago, but now it's not (and the configuration in it is correct - ftp, user, password, etc). Thanks!
@fifty120 - works, thanks @m3orange - So on a Mac in Atom on the top menu, go to Atom -> Preferences -> Packages, then under remote-ftp click "Settings", scroll down to "SSH Config Path" and then in the field change 'config' to 'known_hosts'. Hope that helps!
Error: ENOENT: no such file or directory, open 'C:\Users\Adam\.ssh\config'
I am getting this error, though the directory .ssh
does not exist in 'C:\Users\Adam\'
edit: The main error title bar says 'Remote FTP: Could not read .ftpconfig file.'
I just had this issue but for me it was coupled with not being able to open the project from an active project (as in file->"reopen project" from a different opened project so it opens in a different window). This just gave me a gray screen. What has fixed it for me was to rename the project folder. I think the package corrupts something where it saves what tabs you have open and all that. Not sure though, but I've had this gray screen issue thrice now and this solved it every time.
If you run on macOS and if you never use SSH connection before then there is no /.ssh/config or /.ssh/known_hosts file on your Mac. Solution : Open terminal window and connect to your ssh server regularly then come back and change your setting on atom, from /.ssh/config to /.ssh/known_host and connect. Thats it.
appebears says:
" change your setting on atom, from /.ssh/config to /.ssh/known_host and connect. "
How to do that?