Skip to content

Instantly share code, notes, and snippets.

@khiemdoan
Last active June 25, 2021 08:31
Show Gist options
  • Select an option

  • Save khiemdoan/701a85302755ac03d3f4eabe0832728b to your computer and use it in GitHub Desktop.

Select an option

Save khiemdoan/701a85302755ac03d3f4eabe0832728b to your computer and use it in GitHub Desktop.
No checking ssh
mkdir -p ~/.ssh   
echo "Host *" > ~/.ssh/config     
echo " StrictHostKeyChecking no" >> ~/.ssh/config
ssh -o StrictHostKeyChecking=no user@host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment