pip install ssh with yes code example Example: pip install ssh with yes ssh-keyscan -t rsa github.com >>~/.ssh/known_hosts