I use linux mint, I want to acces to my router via ssh, I've read some infos on the forum but I'm still not able to connect.
I did `nano ~/.ssh/config and place my key in ~/.ssh/id_localrouter`
Host router
HostName 192.168.1.1
Port 22
User root
IdentityFile ~/.ssh/id_localrouter
PubkeyAcceptedKeyTypes +ssh-rsa
chmod -R go= ~/.ssh
@latitude:~$ ssh openwrt
no such identity: /home/james/.ssh/id_localrouter: No such file or directory
root@192.168.1.1: Permission denied (publickey).
ssh root@192.168.1.1
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
ED25519 key fingerprint is SHA256:gFS5C8t4PXXXXXXXXXXXXXXXXXXX6ncljFk.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.1.1' (ED25519) to the list of known hosts.
root@192.168.1.1: Permission denied (publickey).
~$ ls -la ~/.ssh/
total 16
drwx------ 2 james james 4096 Dec 2 13:03 .
drwxr-xr-x 26 james james 4096 Dec 2 13:00 ..
-rw------- 1 james james 67 Dec 2 12:40 config
-rw------- 1 james james 86 Dec 2 13:03 known_hosts