美文网首页
git ssh 配置

git ssh 配置

作者: bbmm | 来源:发表于2016-12-15 16:12 被阅读93次

    Administrator@tcg-PC MINGW64 ~

    $ cd ~/.sh

    bash: cd: /c/Users/Administrator/.sh: No such file or directory

    Administrator@tcg-PC MINGW64 ~

    $ cd ~

    Administrator@tcg-PC MINGW64 ~

    $ ssh -keygen -t rsa -C "liyuhuan@jkinfo.com.cn"

    Bad escape character 'ygen'.

    Administrator@tcg-PC MINGW64 ~

    $ ssh -key gen -t rsa -C "liyuhuan@jkinfo.com.cn"

    ssh: Could not resolve hostname gen: Name or service not known

    Administrator@tcg-PC MINGW64 ~

    $ ssh-keygen -t rsa -C "liyuhuan@jkinfo.com.cn"

    Generating public/private rsa key pair.

    Enter file in which to save the key (/c/Users/Administrator/.ssh/id_rsa):

    Created directory '/c/Users/Administrator/.ssh'.

    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:jhjUNjhrIkXLuJbRcf568R8GJUKmX4MhYK1EU0UOYmA liyuhuan@jkinfo.com.cn

    The key's randomart image is:

    +---[RSA 2048]----+

    | E+O+=o*        |

    |.++o*+B o        |

    |..=.=o++ + .    |

    | ooo +o.o +      |

    |oo. +  +S.      |

    |.. o o.oo .      |

    |    ...... o    |

    |      .  o .    |

    |          .    |

    +----[SHA256]-----+

    相关文章

      网友评论

          本文标题:git ssh 配置

          本文链接:https://www.haomeiwen.com/subject/tzlgmttx.html