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
  • 相关阅读:
    空格转换
    vuex学习
    css移动端适配方法
    数组以及数组常用方法
    21-canvas事件监听
    20-canvas之形变
    [转]session 跨域共享方案
    [转载] 从mysql,代码,服务器三个方面看mysql性能优化
    [计算机]Alan Perlis人物简介
    Python环境搭建及pip的使用
  • 原文地址:https://www.cnblogs.com/hoge66/p/12443891.html
Copyright © 2011-2022 走看看