zoukankan      html  css  js  c++  java
  • git ssh 密钥

    [root@lml7uattest1 ~]# git --version
    git version 1.8.3.1
    [root@lml7uattest1 ~]# ls -al ~/.ssh
    ls: 无法访问/root/.ssh: 没有那个文件或目录
    [root@lml7uattest1 ~]# mkdir ~/.ssh
    [root@lml7uattest1 ~]# ls -al ~/.ssh
    总用量 4
    drwxr-xr-x. 2 root root    6 3月   8 18:01 .
    dr-xr-x---. 3 root root 4096 3月   8 18:01 ..
    [root@lml7uattest1 ~]# chmod 700 ~/.ssh
    [root@lml7uattest1 ~]# ssh-keygen -t rsa -C "hzb123@qq.com"
    Generating public/private rsa key pair.
    Enter file in which to save the key (/root/.ssh/id_rsa): 
    Enter passphrase (empty for no passphrase): 
    Enter same passphrase again: 
    Your identification has been saved in /root/.ssh/id_rsa.
    Your public key has been saved in /root/.ssh/id_rsa.pub.
    The key fingerprint is:
    59:56:f9:de:ba:d9:98:17:4e:29:85:d3:4c:96:57:48 hzb123@qq.com
    The key's randomart image is:
    +--[ RSA 2048]----+
    |            .oE.+|
    |           .. .+.|
    |          o  .* .|
    |         +   o.+ |
    |        S    .o..|
    |             ..+.|
    |              +..|
    |              .*.|
    |              =o.|
    +-----------------+
    [root@lml7uattest1 ~]# 
    

      

    git 安装:

    [root@lml7uattest1 ~]# yum -y install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker
    已加载插件:fastestmirror
    

      

    www.beicaiduo.com
  • 相关阅读:
    python urllib urllib2
    python 标准库获取网络信息
    dell N1500 安全配置
    python jinjia2模板使用
    flask-admin
    github使用
    python中文处理
    C++输入和输出中进制问题
    hdu1708(C++)
    hdu1017(C++)
  • 原文地址:https://www.cnblogs.com/hoge66/p/12443891.html
Copyright © 2011-2022 走看看