by eichin · 3y ago · 0 comments
Didn't work, because there's no trailing newline on the output of site/ssh. So even if it works, it corrupts the next addition.
curl https://bitbucket.org/site/ssh >> ~/.ssh/known_hosts
To this: (curl https://bitbucket.org/site/ssh; echo) >> ~/.ssh/known_hosts