I have imported my public keys that work on all of my local servers. Even with ssh key and publickeybasedauth. I cant ssh into linode server. I checked my opnsense firewall log and i can see the request goung out and not being blocked. Any ideas?
Check the permissions on the .ssh directories; they have to be 600.
Check that the linode .ssh/authorized_keys has the public key you use for running ssh, either via .ssh/config or -i.
HTH
can you switch to passwordauthentication, so make sure ssh connection is possible?
then ssh-copy-id across the old school style?
Is ssh installed/running on the server?
Slightly incorrect here. The directory must be 600 the authorized key file must be 644. Otherwise it will fail to auth pub key
Check your ssl keys loaded in the terminal. Verify you can actually see the identity you are connecting with
Is by default on all supported linode images
Exactly this. Use the lish web terminal in linode to verify you have stuff setup correctly.
Please dump the logs
Ping is possible but ssh is not. i get banner exchange: Connection to 139.144.17.113 port 22: Connection timed out
Without sending anything sensitive provide tour sshd_config file of your linode
Okay. And dont worry that ip i sent was from one a few tries ago. I deleted it. But i get same message now
Have you uploaded your keys into linodes system?
This is what I do. I upload my keys
I establish root
I lish in and create my admin user
I disable root
I login as my user
I copy my keys into authorized_keys
I ssh in.
Maybe the issue is me trying to do it as root?
No your first step should be to make a new user. Give it sudo and disable root. Then you add your ssh keys to the system like normal.
So i can ssh from my phone on lte. But not my home internet. Even though i see the request out beinfg passed
Im an idiot. Intrusion detection caught in. No wonder wasnt in firewall rules