diff options
-rwxr-xr-x | scripts/vyatta-load-user-key.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vyatta-load-user-key.pl b/scripts/vyatta-load-user-key.pl index 4655fbad..e78ebc35 100755 --- a/scripts/vyatta-load-user-key.pl +++ b/scripts/vyatta-load-user-key.pl @@ -157,6 +157,10 @@ sub getkeys { } } +print "Warning: `loadkey' command has been deprecated and will be removed in a future version.\n"; +print "Instead, use the op-mode command `generate public-key-command' to generate commands for manual addition:\n"; +print "\$ generate public-key-command name <username> path <path-or-url>\n\n"; + die "Incorrect number of arguments, expect\n", " loadkey user filename|url\n" unless ($#ARGV == 1); |