1. 关于网络的一些配置 1. 如何启动ssh服务 service sshd start 这里的命令会同时启动ssh服务和scp服务,可以方便用户的远程访问。 2. 如何自动配置网络ip--dhcp # 1. 编辑下面的文件 vim /etc/network/interfaces # 2. 配置网络 ...
分类:
系统相关 时间:
2021-06-03 17:38:47
阅读次数:
0
git可以通过https、ssh进行代码的clone 注意:github除了可以通过https、ssh进行代码clone之外,还可以通过access token进行clone 下面针对三种方式进行讲解: 一. 区分https clone 和 ssh clone 不同的克隆方式导致校验方式不同,对应的 ...
分类:
其他好文 时间:
2021-06-02 20:57:12
阅读次数:
0
只需要index list.asMap().keys.map((index) { return something; } List<String> list = ['a', 'b', 'c', 'd']; print(list.asMap()); // {0: a, 1: b, 2: c, 3: d ...
分类:
其他好文 时间:
2021-06-02 17:42:11
阅读次数:
0
我用ssh连上了ubuntu虚拟机, 尝试xclip命令时, 输入ls | xclip -sel c, 得到报错: Error: Can't open display: (null). 搜索后, 发现好像和X11和DISPLAY有关. 还说ssh应该打开-X选项. 可用ssh -X连接, 还是不行. ...
分类:
其他好文 时间:
2021-06-02 17:07:02
阅读次数:
0
#!/usr/bin/env python3 # -*- coding: utf-8 -*- #根据主机ip查找openSSH配置文件~/.ssh/config对应主机配置项 #自用sshfindip命令python实现版本 #原始sshfindip为shell脚本实现,参看:/v/bin/sshf ...
分类:
编程语言 时间:
2021-06-02 15:35:27
阅读次数:
0
集群网络配置 分别设置修改主机名 master slave1 slave2 hostnamectl set-hostname 名字 分别配置/etc/hosts文件 查看openssh和rsync安装 rpm -qa | grep 名字 切换到Hadoop用户 各节点生成秘钥 ssh-keygen ...
分类:
系统相关 时间:
2021-06-02 15:27:52
阅读次数:
0
远程管理 ssh 用户名@对方IP地址 -X 在本地可以运行对方的图形程序 端口 22 [root@room9pc01 ~]# ssh root@172.25.0.11 [root@server0 ~]# exit #退出远程管理 Ctrl + shfit + t 新开一个终端 软件包的管理 1、R ...
分类:
系统相关 时间:
2021-06-02 14:12:24
阅读次数:
0
可能是多次密码错误之类的,触发了gitlab的防爆破,解决办法是删除redis里面的相关数据/opt/gitlab/embedded/bin/redis-cli -s /var/opt/gitlab/redis/redis.socket keys '*' | grep 'rack::attack' ...
分类:
其他好文 时间:
2021-05-25 18:42:43
阅读次数:
0
Mac本身安装了ssh服务,但是默认情况下不会开机自启,因此当我们需要用到ssh相关的功能时,只需以下一条命令即可。 1、启动sshd服务 sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist 2、查看是否启动 sudo lau ...
分类:
系统相关 时间:
2021-05-25 17:36:11
阅读次数:
0
-M is for mouse events. List of Keys Collected from this source file C-<key> Hold Control + Key M-<key> Hold Meta + Key F1 F1 F2 F2 F3 F3 F4 F4 F5 F5 ...
分类:
其他好文 时间:
2021-05-24 17:20:24
阅读次数:
0