I have this:
ssh -T git@github.com || {
echo "Could not ssh to/with Github, check your auth";
exit 1;
}
I get:
Hi ORESoftware! You've successfully authenticated, but GitHub does not provide shell access. Could not ssh to/with Github, check your auth
Since the exit code is not zero, do I really need to parse the output to see if auth can be established?