mirror of
https://github.com/KDE/kde-linux.git
synced 2026-04-21 06:57:22 -04:00
refine comment a tad
This commit is contained in:
@@ -27,7 +27,7 @@ func connectToHost(user, host, identity string) (*ssh.Client, *ssh.Session, erro
|
||||
log.Fatalf("unable to parse private key: %v", err)
|
||||
}
|
||||
|
||||
// `ssh-keyscan origin.files.kde.org` to get the host key
|
||||
// You can use `ssh-keyscan origin.files.kde.org` to get the host key
|
||||
_, _, hostKey, _, _, err := ssh.ParseKnownHosts([]byte("origin.files.kde.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILUjdH4S7otYIdLUkOZK+owIiByjNQPzGi7GQ5HOWjO6"))
|
||||
if err != nil {
|
||||
log.Fatalf("unable to parse host public key: %v", err)
|
||||
|
||||
@@ -20,6 +20,7 @@ go -C ./upload-vacuum/ build -o upload-vacuum .
|
||||
export GNUPGHOME="$PWD/.secure_files/gpg"
|
||||
gpg --no-options --homedir="$GNUPGHOME" --import "$PWD/.secure_files/gpg.private.key"
|
||||
REMOTE=$SSH_USER@$SSH_HOST:$SSH_PATH
|
||||
# You can use `ssh-keyscan origin.files.kde.org` to get the host key
|
||||
echo "origin.files.kde.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILUjdH4S7otYIdLUkOZK+owIiByjNQPzGi7GQ5HOWjO6" >> ~/.ssh/known_hosts
|
||||
|
||||
scp -i "$SSH_IDENTITY" "$REMOTE/SHA256SUMS" SHA256SUMS || true
|
||||
|
||||
Reference in New Issue
Block a user