https://community.atlassian.com/t5/Bitbucket-questions/Slow-SSH-clone-pull-push/qaq-p/953843
ssh prefers IPv6 (which I guess is not supported by hostel wifi)
so force ssh to use IPv4, add below line to /etc/ssh/ssh_config
AddressFamily inet
then restart ssh service
on Arch
sudo systemctl restart sshd