Compare commits

...

3 commits

Author SHA1 Message Date
13a4d00e30
SSH port must match docker run command in dput configuration. 2023-02-03 19:47:44 +01:00
c3b8ebe0ed
Merge pull request #7 from yapishu/patch-1
Add linebreak between multiple import pubkeys
2023-02-03 19:41:26 +01:00
reid
c0450dcbd8
Add linebreak between multiple import pubkeys 2022-11-23 22:34:42 -06:00
2 changed files with 2 additions and 1 deletions

View file

@ -34,7 +34,7 @@ Fill your ``~/.dput.cf`` with the following content :
login = user login = user
incoming = /docker/incoming incoming = /docker/incoming
ssh_config_options = ssh_config_options =
Port 9022 Port 49160
StrictHostKeyChecking no StrictHostKeyChecking no

View file

@ -22,6 +22,7 @@ rm -f /home/user/.ssh/authorized_keys
for key in /docker/keys/*.pub ; do for key in /docker/keys/*.pub ; do
echo "- adding key $key" echo "- adding key $key"
cat $key >> /home/user/.ssh/authorized_keys cat $key >> /home/user/.ssh/authorized_keys
printf \\\n >> /home/user/.ssh/authorized_keys
done done
chown -R user /home/user/.ssh chown -R user /home/user/.ssh