免密码登录$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
安装的Ubuntu 16操作系统里面自带的Python版本一个是2.7,一个是3.5。如果想安装一个3.7.x的版本。 注意:此处的安装不是由3.5.2升级到3.7.x,这是两个不同的版本。 安装步骤如下:第一步:安装依赖环境: sudo apt-get install -y make build- ...
分类:
编程语言 时间:
2020-07-14 00:45:51
阅读次数:
81
准备工作: 安装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
服务的访问控制列表 [root@localhost ~]# cat /etc/hosts.allow # # hosts.allow This file contains access rules which are used to # allow or deny connections to ne ...
分类:
系统相关 时间:
2020-07-13 18:06:16
阅读次数:
71
? ~ _ virsh domifaddr ubuntu --source arp 名称 MAC 地址 Protocol Address vnet0 52:54:00:00:00:00 ipv4 192.168.19.220/0 ...
分类:
其他好文 时间:
2020-07-13 15:35:47
阅读次数:
153
看见一个很好的ubuntu安装教程,在此记录一下,方便以后找到 原文链接:https://blog.csdn.net/baidu_36602427/article/details/86548203 从启动盘的制作到安装完成之后的换源,一套流程很详细 Ubuntu18.04安装教程一、准备工作1.下载 ...
分类:
系统相关 时间:
2020-07-13 15:27:46
阅读次数:
88