AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-229230

Matthew Hoggan's questions

Martin Hope
Matthew Hoggan
Asked: 2014-09-05 20:47:25 +0800 CST

使用 Putty 的 Git 扩展:服务器主机密钥未缓存在注册表中(但我认为是)

  • -1

按照下面的命令,我的印象是我的密钥已添加到“注册表”中。我在做什么,或者腻子在哪里搞砸了。我应该注意到 scp 单独起作用,因为我将 id_rsa 密钥从我的 cygwin 安装复制到我的 /c/Users/mehoggan/.ssh 目录并 ssh-add'd。然而,它是 git 部分不起作用。我的 .ppk 文件位于 PuTTY 的默认位置 /c/Users/mehoggan/Documents。公开版本被复制并粘贴到gerrit。

$ /c/Program\ Files/GitExtensions/PuTTY/plink.exe -P 29418 -l mehoggan matthewh.me
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
"finger print"
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n) y
Using username "mehoggan".

  ****    Welcome to Gerrit Code Review    ****

  Hi Matthew Hoggan, you have successfully connected over SSH.

  Unfortunately, interactive shells are disabled.
  To clone a hosted Git repository, use:

  git clone ssh://[email protected]:29418/REPOSITORY_NAME.git


mehoggan@MEHOGGAN-PC ~/Devel
$ git clone ssh://[email protected]:29418/gerrit-userstats && scp -p -P 29418 mehoggan@www
.matthewh.me:hooks/commit-msg gerrit-userstats/.git/hooks/
Cloning into 'gerrit-userstats'...
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
<finger print>
Connection abandoned.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
ssh
  • 1 个回答
  • 9342 Views
Martin Hope
Matthew Hoggan
Asked: 2014-07-10 21:42:27 +0800 CST

Gerrit 标签 - 已验证

  • 4

我已经启动并运行了 gerrit 我已经提交了我的第一个初始更改。但是,我只能在 Review 页面上看到 Code Review。我转到 All-Projects 的访问页面(我的项目从该页面继承其 ACL)并为管理员添加了标签验证。我登录到管理员帐户,但无法验证我的更改和推送。下面是我认为正确配置的屏幕截图,以及没有出现验证标签的屏幕截图。

显示验证标签以便我推送更改的正确方法是什么?

项目访问 没有验证标签

gerrit
  • 2 个回答
  • 2975 Views
Martin Hope
Matthew Hoggan
Asked: 2014-07-08 19:02:08 +0800 CST

UFW -- 如何打开 8080 端口

  • 0

我以为我已经允许使用 ufw 连接到 http-alt (8080)。我之所以这么想是因为:

gerrit2@localhost:~$ sudo ufw status
Status: active

To                         Action      From
--                         ------      ----
22                         ALLOW       Anywhere
80/tcp                     ALLOW       Anywhere
8080/tcp                   ALLOW       Anywhere
22 (v6)                    ALLOW       Anywhere (v6)
80/tcp (v6)                ALLOW       Anywhere (v6)
8080/tcp (v6)              ALLOW       Anywhere (v6)

和

Chain INPUT (policy DROP)
target     prot opt source               destination         
ufw-before-logging-input  all  --  anywhere             anywhere            
ufw-before-input  all  --  anywhere             anywhere            
ufw-after-input  all  --  anywhere             anywhere            
ufw-after-logging-input  all  --  anywhere             anywhere            
ufw-reject-input  all  --  anywhere             anywhere            
ufw-track-input  all  --  anywhere             anywhere    

...

Chain ufw-before-input (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ufw-logging-deny  all  --  anywhere             anywhere             ctstate INVALID
DROP       all  --  anywhere             anywhere             ctstate INVALID
ACCEPT     icmp --  anywhere             anywhere             icmp destination-unreachable
ACCEPT     icmp --  anywhere             anywhere             icmp source-quench
ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded
ACCEPT     icmp --  anywhere             anywhere             icmp parameter-problem
ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
ACCEPT     udp  --  anywhere             anywhere             udp spt:bootps dpt:bootpc
ufw-not-local  all  --  anywhere             anywhere            
ACCEPT     udp  --  anywhere             224.0.0.251          udp dpt:mdns
ACCEPT     udp  --  anywhere             239.255.255.250      udp dpt:1900
ufw-user-input  all  --  anywhere             anywhere    

...

Chain ufw-user-input (1 references)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ssh
ACCEPT     udp  --  anywhere             anywhere             udp dpt:ssh
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:http
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:http-alt

但是,当我使用 nmap 查看该端口是否打开时,我得到以下信息:

[mehoggan@localhost ~]$ nmap -p 8080 matthewh.me

Starting Nmap 6.45 ( http://nmap.org ) at 2014-07-07 20:00 PDT
Nmap scan report for matthewh.me (50.116.18.212)
Host is up (0.050s latency).
rDNS record for 50.116.18.212: li418-212.members.linode.com
PORT     STATE  SERVICE
8080/tcp closed http-proxy

我需要做什么才能使用 Ubuntu 的 14.04 ufw 向外界开放该端口?

firewall
  • 1 个回答
  • 10132 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve