I always encounter some ssh issue.
Resource temporarily unavailable
One day…
> ssh -T git@github.com
ssh: connect to host ssh.github.com port 22: Resource temporarily unavailable
so there are several assumptions:
- windows firewall block port 22
- I do not generate ssh key for my github account
- I do not configure my config file properly
- SSH dies
I suggest following the steps below:
- restart ssh
sudo service ssh restart
- reinstall ssh
sudo apt-get remove openssh-server
sudo apt-get install openssh-server
- generate ssh key for you github account
add key to your github account
make configuration in ~/.ssh/config
file
Host github.com
Hostname ssh.github.com
User example@youremail
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Port 443
- try
ssh -T git@github.com