0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

YAMAHA のルータに ssh でログイン失敗した時の Adhoc

Last updated at Posted at 2025-12-04
Page 1 of 14

ぐるぐる先生とかチャットなんちゃら、子π杖で沢山答えが出て来る昨今。
ニッチなピンポイント忘備録✌
齢には勝てませぬ O-rz


通信の暗号化はアマチュア無線通信(除く人工衛星等のアマチュア局)では一応禁止事項

とは言え、IPsec であれ SSH であれ、生のパケットは誰ても受信出来ていれば問題ないような...


余談はさておき🍵


進化早んじゃ(退化と同義)

先に解決方法を書いておく📝


cat ~/.ssh/config
host "2001:db8:abcb:108:348:2951*"
KexAlgorithms +diffie-hellman-group14-sha1
HostKeyAlgorithms +ssh-rsa


ルータ側の設定

login password hogehoge
administrator password hoehoe
login user je3kmz *
sshd service on
sshd host key generate *

これなw


なんでログイン出来んとですか😢

FreeBSD 14.3-RELEASE からログインしてみる
ssh -lje3kmz 2001:db8:abcb:108:348:2951::1

見慣れん文字出おる(適宜改行して転記)
Unable to negotiate with 2001:db8:abcb:108:348:2951::1
port 22: no matching key exchange method found.
Their offer: diffie-hellman-group-exchange-sha1,
diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

ログイン出来んじゃん😢


で、最初に書いた .ssh/configを追記したよ🥰

さっきのんと同じw
ssh -lje3kmz 2001:db8:abcb:108:348:2951::1

適宜改ざんしちょります🔓
The authenticity of host '[2001:db8:abcb:108:348:2951::1]:22 
([2001:db8:abcb:108:348:2951::1]:22)' can't be established.
RSA key fingerprint is SHA256:*.
This key is not known by any other names.
Are you sure you want to continue connecting 
(yes/no/[fingerprint])? SHA256:*
Warning: Permanently added '[2001:db8:abcb:108:348:2951::1]:22' 
(RSA) to the list of known hosts.
takefu@2001:db8:abcb:108:348:2951::1's password:

オープニング🎊
FWX120 BootROM Ver. 1.00
FWX120 FlashROM Table Ver. 1.00

FWX120 Rev.11.03.29 (Mon Dec  2 10:55:54 2019)
Copyright (c) 1994-2019 Yamaha Corporation. All Rights Reserved.
To display the software copyright statement, use 'show copyright' command.

っま、そういう事らしいっす😪
この記事で助かった人はワシと同世代かな😊


ssh の事

今回の記事で、バックグラウンドの能書きが本家の WebPage に有ったけんリンク張っとく📝
OpenSSH レガシーオプション

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?