Need proper login criteria for Notepad++
Hello Forum
Question: Can someone tell me the right credentials for login in with FTP programs like Notepad++?
I h had earlier thought that the problem with the login was due to the incomplete or wrong glue settings in the DNS for the host domain name. But I think that I have got that problem resolved. Here is the thread for my earlier problem:
-
Hey there! Is it possible your local workstation doesn't have the updated DNS records yet? It would seem the application isn't able to find the host, so it isn't a problem with the authentication. If you try the IP address, does that work? 0 -
cPRex; Thanks for responding. I have got a desktop and a laptop. Both computers are doing the same thing. I tried using the IP address on my laptop. It still won't connect. I'm using Notepad++. I got a different message than the one using the domain name. I tried to connect using the IP address (also on my laptop) with the Putty program. I got a similar message as the Notepad++ message. I would appreciate if there are any more suggestions. 0 -
Okay, that's a different error. You'll need to setup an SSH key for authentication (as by looks of things, you have turned/left on WHM->Security Center-> SSH Password Authorization Tweak (i.e. only allow SSH - including SFTP - access using SSH keys pairs). It'll be easier, but probably less secure, to just turn that to "Enable Password Auth"... As you are on Windows and using PuTTY, launch PuTTYgen (you may need to download it if you didn't use the "Convert to OpenSSH and save that key (perhaps with an ending of .openssh ) Copy the "Public Key for pasting into OpenSSH" bit at the top and you can then add that key and then authorize via: * root level: WHM->Security Center->Manage root's SSH keys -> Import Key (do NOT upload the private key or enter the passphrase) * cPanel user level: Home->Security-> SSH Access->Manage SSH Keys (again, import the public key and do not upload the private key or enter the passphrase) In Notepad++, select "Try private key file authentication: yes" and under "Private Key File" select the OpenSSH key and that should help (you'll need to provide the passphrase/password as earlier). I've not used Notepad++ myself and haven't used PuTTy since around 2019 when I moved over to Windows OpenSSH client (which I didSSH Access | cPanel & WHM Documentation * 0 -
cPRex, rbairwell; Thanks to responding to my question. I think the problem has been, or currently is, that the server (Lightsail) has got a firewall that's blocking access. I need to learn more about the firewall. I also need to study up and learn more about the public key and private key topics. Thanks again. 0 -
If it was a firewall issue, you'll get an error like "Connection Failed": however, since you are getting an Authorization Failed message (and even the logs showing your PC is connecting to the server, trying something and then disconnecting) indicates to me that this is NOT firewall related (unless the firewall is being really odd/unusually configured). I think it would be easier for you to go to WHM->Security Center-> SSH Password Authorization Tweak and set "Enable Password Auth". 0 -
rbairwell; Thanks for touching bases. I figured out the problem. It was the permissions in the /home folder. That was the reason for the access denial. I went to the WHM -> Server Configuration -> Terminal and changed the permissions for the/home folder to 755. I also had to change the permissions on the public_html subfolder folder and the domain subfolder. I found a Linux guide that has instructions on how to change permissions. This problem had had me confounded for a week or longer. Finally, I can move along to other things now.. Thanks again. 0 -
I would not expect you to have to change permissions to get the access working for an FTP client. Changing /home in general can make your server less secure, so I'd recommend not using that tool or finding another workaround instead of leaving the permissions at 755. 0
Please sign in to leave a comment.
Comments
7 comments