mac系统升级到Catalina时,使用cocoa pod时报错:-bash: /usr/local/bin/pod: / System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory”.
[root@localhost ~]# ftp localhost Trying ::1... ftp: connect to address ::1拒绝连接 Trying 127.0.0.1... Connected to localhost (127.0.0.1). 220 (vsFTPd 2.2.2) Name (localhost:root): ftp 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 227 Entering Passive Mode (127,0,0,1,177,184). 150 Here comes the directory listing. drwxr-xr-x 2 0 0 4096 Mar 22 2017 pub 226 Directory send OK. ftp>
-A INPUT -p tcp -m state --state NEW -m tcp --dport 30000:30999 -j ACCEPT -A INPUT -p udp -m state --state NEW -m udp --dport 6069 -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 6069 -j ACCEPT
12.4 重启服务
1 2
# service iptables restart # service vsftpd restart
# cp -a vsftpd.pem /etc/vsftpd/ # ll /etc/vsftpd/vsftpd.pem
证书配置解析:
1 2 3 4 5 6 7
Country Name (2 letter code) [XX]:CN 国家名称(2个字母代码)[XX]:CN State or Province Name (full name) []:CHINA 国家或省名(全称)[]:中国 Locality Name (eg, city) [Default City]:CHINA 地名(如城市)[默认城市]:中国 Organization Name (eg, company) [Default Company Ltd]:ORG 组织名称(如公司)[默认公司有限公司]:ORG Organizational Unit Name (eg, section) []:ORG 组织单元名称(例如,节)[]:ORG Common Name (eg, your name or your server's hostname) []:NAME 常用名称(例如,您的名称或服务器的主机名)[]:Name Email Address []:EMAIL@163.com 电子邮件地址[]:EMAIL@163.com
192:git poet$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file inwhich to save the key (/Users/poet/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/poet/.ssh/id_rsa. Your public key has been saved in /Users/poet/.ssh/id_rsa.pub. The key fingerprint is: SHA256:Rky+UE83syyOMjaKYHeoGduGBaPqnU+rtrcyl7TMdL8 poet@192.168.0.101 The key's randomart image is: +---[RSA 2048]----+ | o . + | | = o o + | | o . + o o | |. o . o + . | |oo + .= S . | |o.X..= * | |.=.o*.+ . | |. o+oB. . | | ..=O+. E. | +----[SHA256]-----+ 192:git poet$ cat /Users/poet/.ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQVX+tOytAUJq3pKNvIFX2HETKvalq4rlqIFJ04KtKIDykzbct5FxK1jR92oIP+ylEsQGz6dJ3FqIsXSn200UIbGvdCvSX5uSFFu8psV4eX1J7DsA6gcLMXElTEHDr82U6MwFmOR6Vb8RkSwsNzRqv8uDdxrmayvbUnQL3VK+/VNcfTdPl2O4YyrYp/DBtFe8b61QvlmU6x4UaX40Sg/r9/JyFMSEDduse9bvVkqg3xkTpaZqwquY7384Ou2iIr4bzlb5mAjW222foM6YBuBhxlovu5kVhLx4GpPsCcxPBJe8lgiGyAGG4yvJ1CH7Rv658eIFqVUyVeOJGP871pLkR poet@192.168.0.101
$ git clone git@104.224.156.100:/home/gitrepo/helloword.git Cloning into 'helloword'... warning: You appear to have cloned an empty repository. Checking connectivity... done.
104.224.156.100 为 Git 所在服务器 ip ,你需要将其修改为你自己的 Git 服务 ip。
但是我克隆的时候却报错了:
1 2 3 4 5 6 7 8
192:git poet$ git clone git@104.224.156.100:2022:/home/gitrepo/helloword.git Cloning into 'helloword'... ssh: connect to host 104.224.156.100 port 22: Connection refused fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. 192:git poet$
192:~ poet$ ssh git@104.224.156.100 -p 2022 Last login: Fri Aug 23 07:56:10 2019 from 222.93.190.219 fatal: What do you think I am? A shell? Connection to 104.224.156.100 closed. 192:~ poet$ ssh git@104.224.156.100 -p 2022 Last login: Fri Aug 23 07:56:39 2019 from 222.93.190.219 fatal: What do you think I am? A shell? Connection to 104.224.156.100 closed. 192:~ poet$
14.Git报错收集
git clone does not appear to be a git repository 错误示例:
1 2 3 4 5 6
poetmacbook-pro:git kris$ git clone ssh://git@10.211.55.4:/home/gitrepo/IMBasic.git 正克隆到 'IMBasic'... fatal: '/home/gitrepo/IMBasic.git' does not appear to be a git repository fatal: 无法读取远程仓库。
load_images(constchar *path __unused, const struct mach_header *mh) { // Return without taking locks if there are no +load methods here. if (!hasLoadMethods((const headerType *)mh)) return;