# 编辑当前用户的ssh config 文件 vim ~/.ssh/config #每一组由 Host 开始 Host gitlab.com # 这里的ip/domain 是你的主机名,写ip或者域名 Hostname altssh.gitlab.com User git Port 443 Pref ...
分类:
其他好文 时间:
2020-03-07 09:15:07
阅读次数:
91
在ssh_config 配置文件中有个参数 GSSAPIAuthentication 当这个参数开启( GSSAPIAuthentication yes )的时候,通过SSH登陆服务器时候会有些会很慢,但有的服务器又不慢,这个问题是什么造成的 ?? 还有就是在登陆慢的服务器上,修改这个 (GSSAP ...
分类:
系统相关 时间:
2020-02-26 01:37:06
阅读次数:
87
SCP命令 usage: scp [-346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 .. ...
分类:
系统相关 时间:
2020-02-20 09:18:56
阅读次数:
92
1 在 linux下的ssh命令:vim /etc/ssh/ssh_config 然后找到里面的ServerAliveInterval 参数,如果没有你同样自己加一个就好了。参数意义相同,都是秒数,比如9分钟: ServerAliveInterval 540 putty中解决SSH连接超时断开的两种 ...
分类:
其他好文 时间:
2020-02-14 19:09:02
阅读次数:
74
ssh登录巨慢怎么办,设计验证是好的,但是那些验证的确没啥用反而造成了一些不便修改/开启 /etc/ssh/ssh_config这三个参数再重启即可取消验证 StrictHostKeyChecking no GSSAPIAuthentication no UseDNS no # systemctl ...
分类:
其他好文 时间:
2020-01-09 00:33:54
阅读次数:
87
前提有ss或其他梯子,代理到ss端口,速度起飞,亲测5m/s+ 1、修改config vi ~/.ssh/config 2、加上下面这句 按i进入编辑 Host github.com ProxyCommand nc -v -x 127.0.0.1:1086 %h %p 然后esc 然后:wq 3、我 ...
分类:
其他好文 时间:
2019-12-28 12:55:59
阅读次数:
169
直接改客户端,服务器端不应该更改。sudo vi /etc/ssh/ssh_config # 或 ~/.ssh/config TCPKeepAlive=yes # Client每隔 60 秒发送一次请求给 Server,然后 Server响应,从而保持连接 ServerAliveInterval 6 ...
分类:
其他好文 时间:
2019-12-21 09:33:39
阅读次数:
72
取消 git 全局设置 .ssh/config设置 测试 SSH 连接 拉取代码 注意用户名跟config配置文件的名字是否一样 在各自所在的仓库设置用户名 Zhangsan 目录 lisi目录 然后就可以正常使用了 ...
分类:
其他好文 时间:
2019-12-16 19:45:45
阅读次数:
78
脚本如下: 使用方法 准备静态编译的tcpdump 配置好~/.ssh/config ...
分类:
其他好文 时间:
2019-12-06 19:41:19
阅读次数:
91
方法很简单,亲测有效。 1.进入如下路径 ,你会看到有 这个文件 2.右击 , 属性 → 安全 → 高级 → 禁止继承 → 删除所有继承(忘了全称了,大概这个意思) → 确定 如果系统是英文: Properties Security Advanced Disable Inheritance Remo ...