To curl the bash script we have to generate the ssh-key before:
Fix:
mkdir .ssh
vim .ssh/config
Modify with:
Host sapling
ForwardAgent yes
HostName sapling.stanford.edu
User USERNAME
and then
eval $(ssh-agent)
ssh-keygen -t ed25519
ssh-add
ssh-copy-id sapling
ssh sapling