Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Help adding ssh key remotely using a script

$
0
0

I am adding ssh-keys using a script with these commands.

 

/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper begin
/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper loadkey ubnt_id_rsa.pub /tmp/ubnt.pub
/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper commit
/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper save
/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper end

 

I get an error saying : Invalid command "loadkey" for vyatta-cfg-cmd-wrapper

 

Thanks for the help.


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>