ubnt@er4gw:~$ configure
[edit]
ubnt@er4gw# set system login user ubnt authentication public-keys lb7 type ssh-rsa
[edit]
ubnt@er4gw# set system login user ubnt authentication public-keys lb7 key AAAA****3tfv0vaEUl
ubnt@er4gw# commit
ubnt@er4gw# exit
Warning: configuration changes have not been saved.
ubnt@er4gw:~$ cd .ssh
ubnt@er4gw:~/.ssh$ cat au*
# Automatically generated by Vyatta configuration
# Do not edit, all changes will be lost
ssh-rsa AAAA****3tfv0vaEUl lb7
ubnt@er4gw:~/.ssh$ configure
[edit]
ubnt@er4gw# save

By karlo