summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/vyatta-load-user-key.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vyatta-load-user-key.pl b/scripts/vyatta-load-user-key.pl
index 4655fbad..3896ca56 100755
--- a/scripts/vyatta-load-user-key.pl
+++ b/scripts/vyatta-load-user-key.pl
@@ -157,6 +157,8 @@ sub getkeys {
}
}
+print "Warning: `loadkey' command has been deprecated.\nUse `generate public-key-command' instead.\n";
+
die "Incorrect number of arguments, expect\n",
" loadkey user filename|url\n"
unless ($#ARGV == 1);