diff options
author | Daniil Baturin <daniil@vyos.io> | 2022-03-10 17:45:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 17:45:52 +0300 |
commit | df7ab525e8b2b80ba2a08a482d7acbc90e5ec1c2 (patch) | |
tree | 9f1ce8b817f5c4bc38986432e777d65ef0cfc723 | |
parent | 0a2583198abe77c2f85775709f3ba13990ef942e (diff) | |
parent | 92ec2f6f60698407b04c2ebff54a83d9d40b795a (diff) | |
download | vyatta-cfg-system-df7ab525e8b2b80ba2a08a482d7acbc90e5ec1c2.tar.gz vyatta-cfg-system-df7ab525e8b2b80ba2a08a482d7acbc90e5ec1c2.zip |
Merge pull request #180 from erkin/equuleus
loadkey: T3865: Deprecate `loadkey`
-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); |