C:\Users\tanxz> ssh-keygen -t rsa -C "tanxinzheng@139.com" Generating public/private rsa key pair. Enter file in which to save the key(C:\Users\tanxz/.ssh/id_rsa): Enter passphrase(empty for no passphrase): Enter same passphrase again: Your identification has been saved in C:\Users\tanxz/.ssh/id_rsa. Your public key has been saved in C:\Users\tanxz/.ssh/id_rsa.pub. The key fingerprint is: SHA256:9BM2DGD4+BKfyMjWhrP0b4xdHlk4I9JG/dJB0BwR0Nc tanxinzheng@139.com The key's randomart image is: +---[RSA 2048]----+ | .oo+B=+ . | | ... .o= . E | | = .+=o | | + =.=o+o | | . = B oS*o | | B * + + . | | o = = o . | | . o + . | | o. | +----[SHA256]-----+
C:\Users\tanxz\.ssh> ssh -T git@github.com Hi tanxinzheng! You've successfully authenticated, but GitHub does not provide shell access. PS C:\Users\tanxz\.ssh> ssh -T git@gitee.com Hi tanxinzheng! You've successfully authenticated, but GITEE.COM does not provide shell access.