Vyos 1.4 - ssh public key not denied

I have a question. I just installed VyOS 1.4-rolling-202401030515 in my VM environment for testing purpose.

I created second login user for ssh remote access + my public-keys.
The existing vyos login is supposedly unaccessible remotely with error “Permission denied (publickey).”, however I still can access via ssh to vyos user login.

I’m wondering why I still can access ssh vyos even though my public key was not configured in vyos login configuration.


Provide “show version”

Version: VyOS 1.4-rolling-202401030515
Release train: sagitta

Built by: myevo
Built on: Wed 03 Jan 2024 05:15 UTC
Build UUID: a53a0e6d-ca48-4ae6-a5bf-51ddfd1e467d
Build commit ID: 50285486855b98

Architecture: x86_64
Boot via: installed image
System type: Xen HVM guest

Hardware vendor: Xen
Hardware model: HVM domU
Hardware S/N: 8a7fbd23-36d3-33e7-9b10-68e8d469ba4c
Hardware UUID: 8a7fbd23-36d3-33e7-9b10-68e8d469ba4c

Copyright: VyOS maintainers and contributors