国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

window 下 設(shè)置 github ssh
ringa_lee
ringa_lee 2017-05-02 09:25:29
0
6
682
Administrator@WIN-9PH4ISN44NM MINGW64 /e/zan/www/gitpages
$ cd ~/.ssh

Administrator@WIN-9PH4ISN44NM MINGW64 ~/.ssh
$ ls
github_rsa  github_rsa.pub  id_rsa  id_rsa.pub  known_hosts

Administrator@WIN-9PH4ISN44NM MINGW64 ~/.ssh
$ rm *

Administrator@WIN-9PH4ISN44NM MINGW64 ~/.ssh
$ ls

Administrator@WIN-9PH4ISN44NM MINGW64 ~/.ssh
$ cd ~

Administrator@WIN-9PH4ISN44NM MINGW64 ~
$ ssh-keygen -t rsa -C "root@zanjs.com"
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/Administrator/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/Administrator/.ssh/id_rsa.
Your public key has been saved in /c/Users/Administrator/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:gAYTmJ1qwewql+O+7gRm/kquVfseC8cz2WRNA9tCZfM root@zanjs.com
The key's randomart image is:
+---[RSA 2048]----+
| **o   .*.       |
|+oo= . . *       |
|. * o . o E      |
| = o   . + .     |
|ooo .   S .      |
|++ . o =         |
| o+ o B .        |
|oo.. + =         |
|o==. .+          |
+----[SHA256]-----+

Administrator@WIN-9PH4ISN44NM MINGW64 ~/.ssh
$ git config --global user.name "zanjs"

Administrator@WIN-9PH4ISN44NM MINGW64 ~/.ssh
$ git config --global user.email "root@zanjs.com"

$ ssh -T git@github.com
The authenticity of host 'github.com (192.30.252.131)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.131' (RSA) to the list of known hosts.
Enter passphrase for key '/c/Users/Administrator/.ssh/id_rsa':
Hi zanjs! You've successfully authenticated, but GitHub does not provide shell access.

如上 操作 看最后一句話 but GitHub does not provide shell access

這個對 在 git push 的時候有影響嗎

ringa_lee
ringa_lee

ringa_lee

全部回復(fù)(6)
僅有的幸福

ssh-keygen 生成的key 僅僅用于ssh 形式訪問 git 遠程庫,并不能用于shell 下的免用戶名密碼的快速ssh 登錄

巴扎黑

推薦使用 GitExtensions

僅有的幸福

不會影響。參考:
Git - git-shell 文檔

描述
這是 SSH 帳戶的登錄 shell,用于提供受限的 Git 訪問。它僅允許執(zhí)行實現(xiàn)拉/推功能的服務(wù)器端 Git 命令,以及用戶主目錄中名為 git-shell-commands 的子目錄中存在的自定義命令。

示例
要禁用交互式登錄,而是顯示問候語:

雷雷
過去多啦不再A夢

不會影響。
but GitHub does not provide shell access的意思只是github服務(wù)器不提供shell來防止在服務(wù)器上進行惡意操作,并不會影響git push。

Ty80

下一個 Github 客戶端 運行一下就正常了。。

Peter_Zhu

不會,因為是windows環(huán)境不支持shell,但是不影響git push的使用

最新下載
更多>
網(wǎng)站特效
網(wǎng)站源碼
網(wǎng)站素材
前端模板