I know this question has been asked before, but I've read through the answers and am still unable to connect with Filezilla.
I created a second user (other than root) in the linode console and added that new user to the sudo group.
I checked port 22 and see that it is ok for SFTP
I am able to connect via sftp from the console
I generated a key pair on my local machine and attempted to upload it to my linode using ssh-copy-id [email protected] and received the message:
usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: ERROR: ssh: connect to host 184.108.40.206 port 22: Connection timed out
Also tried to connect with Filezilla via user name and password for both the root user and new sudo user but the connection just timed out.
i'm probably missing something obvious but am stuck on what to do next. Can you help me? Thanks
Usually "connection timed out" means that the connection's blocked, either in the local firewall on your computer or in your Linode's firewall.
Since you were able to connect to your Linode via a terminal application it's unlikely that the block is on your Linode, but you can double check with:
iptables -L -nv --line-numbers
Other than that, I'd check to see if FileZilla is blocked in the firewall on your computer, or if port 22 is blocked either in your computer's firewall or in your local router.
sftp(1) and ssh(1) both use TCP port 22. Do you have this line turned on in
Subsystem sftp /usr/lib/openssh/sftp-server
Don't forget to restart your ssh(1) server after changing
sudo systemctl restart ssh