command="/usr/bin/foo" ssh-ed25519 AAAA....
No it wont! The specified command might provide sftp, scp, telnet or stream a film.