设置ssh-key ssh-keygen -t rsa -C "18217426147@163.com" git clone git clone git@e.coding.net:weimeigu/auction.backend/auction.backend.git 创建并且切换分支 git ch ...
分类:
其他好文 时间:
2020-07-15 16:00:45
阅读次数:
67
一、查找80端口请求数最高的前20个IPnetstat -anlp|grep 80|grep tcp|awk '{print $5}'|awk -F: '{print $1}'|sort|uniq -c|sort -nr|head -n20二、ssh实现端口转发例子:将发往本机(192.168.1. ...
分类:
其他好文 时间:
2020-07-15 15:37:35
阅读次数:
78
告警 正在开会,突然钉钉告警声响个不停,同时市场人员反馈客户在投诉系统登不进了,报504错误。查看钉钉上的告警信息,几台业务服务器节点全部报CPU超过告警阈值,达100%。 赶紧从会上下来,SSH登录服务器,使用 top 命令查看,几个Java进程CPU占用达到180%,190%,这几个Java进程 ...
分类:
其他好文 时间:
2020-07-14 20:06:37
阅读次数:
82
1.下载kafka ,登陆kafka官网(http://kafka.apache.org/downloads),这里我们直接下载最新版本 2.我这里通过SSH Secure Shell把下载好的kafka压缩包上传到linux服务器的/usr/local路径下,然后解压文件,命令如下 cd /usr ...
分类:
其他好文 时间:
2020-07-14 18:00:26
阅读次数:
144
免密码登录$sshpass-ppasswordsshusername@host远程执行命令$sshpass-ppasswordsshusername@host<cmd>通过scp上传文件$sshpass-ppasswordscplocal_fileroot@host:remote_file通过scp下载文件$sshpass-ppasswordscproot@host:remote_fi
分类:
其他好文 时间:
2020-07-14 15:08:14
阅读次数:
163
github网络错误处理 [root@node10 kodoe]# git pull origin:dev ssh: Could not resolve hostname origin: Name or service not known fatal: Could not read from rem ...
分类:
其他好文 时间:
2020-07-14 13:37:21
阅读次数:
72
mbp 启停查询ssh sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist sudo launchctl unload -w /System/Library/LaunchDaemons/ssh.plist sudo launc ...
分类:
其他好文 时间:
2020-07-14 11:50:09
阅读次数:
62
准备工作: 安装Git Bash工具 1 是否存在id_rsa.pub文件 进入C:\Users\username.ssh目录,检查是否有id_rsa.pub文件,如果存在跳至第3步。 2 生成id_rsa.pub文件 在bash中输入 ssh-keygen -t rsa -C "yourEmail ...
SFTP的概念 sftp是Secure File Transfer Protocol的缩写,安全文件传送协议。可以为传输文件提供一种安全的网络的加密方法。sftp 与 ftp 有着几乎一样的语法和功能。SFTP 为 SSH的其中一部分,是一种传输档案至 Blogger 伺服器的安全方式。其实在SSH ...
分类:
其他好文 时间:
2020-07-13 21:51:04
阅读次数:
77
备注: 本文参考于廖雪峰老是的博客Git教程。依照其博客进行学习和记录,感谢其无私分享,也欢迎各位查看原文。 知识点 ssh-keygen -t rsa -C "youremail@example.com"生成SSh密钥对。私钥保存好,公钥可以添加到Git服务器(如GitHub远程仓库) 添加或关联 ...
分类:
其他好文 时间:
2020-07-13 21:42:20
阅读次数:
127