Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not read .ftpconfig #1221

Open
rainiur opened this issue Nov 17, 2018 · 9 comments
Open

Could not read .ftpconfig #1221

rainiur opened this issue Nov 17, 2018 · 9 comments

Comments

@rainiur
Copy link

rainiur commented Nov 17, 2018

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

@fiere210
Copy link

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.

@fifty120
Copy link

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'.

@wangta69
Copy link

@fifty120 work perfect. thanks

@m3orange
Copy link

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!

@aetcheve
Copy link

@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!

@adamcole123
Copy link

adamcole123 commented Feb 21, 2019

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.'

@Doskii
Copy link

Doskii commented Mar 23, 2019

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.

@appbears
Copy link

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.

@michon
Copy link

michon commented Dec 2, 2021

appebears says:
" change your setting on atom, from /.ssh/config to /.ssh/known_host and connect. "
How to do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants