1 Ruby@DESKTOP-4INK1I3 MINGW64 /f/Git/test (master) 2 $ git push origin master 3 fatal: unable to access 'https://github.com/xxx/test.git/': OpenSSL S ...
分类:
其他好文 时间:
2021-04-24 13:43:19
阅读次数:
0
在Linux中用scp进行远程复制文件时需要输入密码,这对于复制大文件使用nohup后台执行的时候是非常糟糕的,但我们可以生成一对密钥,把公钥放置在远程主机上,这样再使用scp时就无须输入密码,具体做法如下: 需求场景:现有主机A、主机B,要从主机A复制文件到主机B。 1.在主机A上使用命令ssh- ...
分类:
系统相关 时间:
2021-04-23 11:56:55
阅读次数:
0
# 安装依赖 yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel # 解压缩 tar -zxvf linux-nginx-1.12.2.tar.gz cd nginx-1.12.2/ # 执行配置 ./configu ...
分类:
其他好文 时间:
2021-04-21 12:51:27
阅读次数:
0
今天在本机windows7上测试个git,想将git代码推送到代码服务器。结果git总是报错 $ git push -u origin master git@192.168.0.208's password: Permission denied, please try again. git@192. ...
分类:
其他好文 时间:
2021-04-21 12:18:25
阅读次数:
0
代理 1.不要乱设置代理:git config --global --unset http.proxy 2.openssl 问题: git config --global http.sslVerify "false" 3.443 重新下载 4.提示xx端口问题:去配置文件删除这个端口 5.提交代码给 ...
分类:
Web程序 时间:
2021-04-21 11:47:54
阅读次数:
0
SSH框架-DAO层搭建 1、工具类 1.1例如几个方法都会有相同功能的时候,需要定义一个公共接口类,也就是工具类。 package com.caicai.elec.dao; public interface ICommonDao<T> { public void save(T t); } 1.2 ...
分类:
其他好文 时间:
2021-04-20 15:34:56
阅读次数:
0
VNC Virtual Network Computing (VNC) 是一个图形化桌面共享系统, 可以远程连接计算机, 使用键盘和鼠标. 本文包含 在RHEL8上,安装和配置 VNC server 的步骤 . 我们还会展示如何通过SSH通道安全的连接. Prerequisites To follo ...
分类:
系统相关 时间:
2021-04-20 14:55:40
阅读次数:
0
在配置Jenkins的源码管理的时候,遇上了这个错 Host key verification failed。 就是下图这里 图片是已经修正后的,报错的原因是说没有权限。 一开始一直以为是Jenkins配置问题,百度了好几个晚上都没有找到答案。 后来看到有人是在服务器上配置git的SSH,然后我意识 ...
分类:
其他好文 时间:
2021-04-19 15:57:00
阅读次数:
0
生成RSA密钥 1. 制作密钥对 [root@host ~]$ ssh-keygen <== 建立密钥对 Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): ...
分类:
系统相关 时间:
2021-04-19 15:54:27
阅读次数:
0
#! /bin/bash # @author # @breif auto ssh function show_usage(){ echo -e " This is Usage " echo -e " -h: which host to go,for example dev041" } functio ...
分类:
其他好文 时间:
2021-04-19 15:50:26
阅读次数:
0