diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-10 08:39:37 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-10 08:39:37 +0300 |
commit | 8fb66ec4c9daaf0af62582d4b40d447377934fc2 (patch) | |
tree | 630c486e3ac5f12f9c267eb9104c0f18bc49ece4 /set-authorized-key | |
parent | ec68ed5458ef8884e0cfbe5223a0549b0ab39e67 (diff) | |
download | ick-contractor-8fb66ec4c9daaf0af62582d4b40d447377934fc2.tar.gz |
Fix: handling of many ssh public keys
Diffstat (limited to 'set-authorized-key')
-rwxr-xr-x | set-authorized-key | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/set-authorized-key b/set-authorized-key index bee9132..cd1d34c 100755 --- a/set-authorized-key +++ b/set-authorized-key @@ -16,4 +16,4 @@ tmp="$(mktemp -d)" dev="/dev/mapper/$(kpartx -asv "$img" | awk '{ print $3 }')" mount "$dev" "$tmp" -cp "$@" "$tmp/home/manager/.ssh/authorized_keys" +cat "$@" > "$tmp/home/manager/.ssh/authorized_keys" |