Tested with 6.48.6 LTS, 6.49.6 stable, 6.47.10 LTS
- Tried with generated ssh keys with openssh on debian (with -m PEM) and also with export from mikrotik host keys
- created group on both (SSH_Admin) policy: ssh, read, write
- created user on both (SSH_Admin)
- imported on private both keys (without passphrase) on mikrotik that i send commands
- imported on keys public key on mikrotik that i want to control from the other mikrotik
- also tried to connect the opposite direction with no success
- tested also with key pair i know that is working from debian to Mikrotik (other username) but Mtik to Mtik still ask for password
some times during tests it works (i leave as it is and then stops working) but i can`t figure out what happens between working and non working periods
Some info:
Mikrotik are not in the same network (allowed SSH from the internet with dynamic address list) and a redundant way of approach via VPN with private address.
On firewall both accept rules count when i try to connect. On IP services SSH is enabled without IP restrictions also user has no IP restrictions. Keys are ssh-rsa
What is going wrong with ssh keys? Am I missing something?