by nulltype · 10y ago · 0 comments
ssh -v -T git@github.com 2>&1 | grep Roaming
debug1: Roaming not allowed by server <- bad
ssh -v -T git@github.com 2>&1 | grep Roaming
(no output is good)
$ for SSH_CONF in /etc/ssh/ssh_config /etc/ssh_config /private/etc/ssh_config; do [ -f $SSH_CONF ] && ! grep -q 'UseRoaming no' $SSH_CONF && echo "Patching $SSH_CONF" && echo -e '\nHost *\n UseRoaming no' | sudo tee -a $SSH_CONF > /dev/null; done
I misread GP's command and made that mistake. The correct command is :
ssh -v -T git@github.com 2>&1 | grep "Roaming"