[NA HW2-1] Preflight (empty)

60 views
Skip to first unread message

孫奇霆(112950026)

unread,
Jun 19, 2026, 11:50:20 AMJun 19
to NYCU NASA 課程討論區
助教您好,我是學號112950026
我也發生了和其他同學類似的問題:
螢幕截圖_20260614_033046.png

router和cp1都已經加入了judge的ssh pub key,router wireguard也正常運作中:
judge@router:~$ sudo wg show wg0
interface: wg0
 public key: RxgopjfScXv/kypGj9jUrb+VQCy3gdgTdpM4EoYMThQ=
 private key: (hidden)
 listening port: 47116

peer: H1KhIFAp6q+//LCsOCbQn/wkPt6jrcYYL0SLi6dD+i4=
 preshared key: (hidden)
 endpoint: 140.113.17.2:5000
 allowed ips: 192.168.0.0/16
 latest handshake: 1 minute, 10 seconds ago
 transfer: 1.51 KiB received, 12.77 KiB sent
 persistent keepalive: every 5 seconds

judge@router:~$ cat .ssh/authorized_keys
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHuv5e0N6yw90gqR5FbIqQAcRLERui3fqPsxmJ1Wcm3+ nasaoj-hw2

我用 sudo journalctl -u sshd 並沒有看到OJ嘗試連入

感謝助教
Best Regards, 
奇霆

孫奇霆(112950026)

unread,
Jun 20, 2026, 11:58:06 AMJun 20
to NYCU NASA 課程討論區
助教好 已經解決了
原來是router在HW1的防火牆設定會擋住VPN來的ssh連線
我自己拿掉該規則後就有看到文字說明:
Note that this conflicts with the HW1 rules. Please remove that rule when proceeding with HW2-1.
但要先通靈修好才能看到,再麻煩助教改進OJ了
謝謝助教
孫奇霆 在 2026年6月19日 星期五晚上11:50:20 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages