tipsmemo:tips
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン | |||
| tipsmemo:tips [2025/03/23 09:55] – admin | tipsmemo:tips [2025/05/13 00:55] (現在) – hayashi | ||
|---|---|---|---|
| 行 156: | 行 156: | ||
| cat hoge.txt | ssh host " cat > / | cat hoge.txt | ssh host " cat > / | ||
| + | |||
| + | ===== 相手のsshが古い ===== | ||
| + | 以下のようなエラーが発生します | ||
| + | |||
| + | Unable to negotiate with 192.168.xx.yyy port zz: no matching host key type found. Their offer: ssh-rsa, | ||
| + | |||
| + | 具体的には ssh-rsa や ssh-dss といった古い、脆弱性のあるアルゴリズムを無効にしているが、接続先のサーバーが古いアルゴリズムのみを提供しているため、接続を確立できずにエラーとなっている | ||
| + | 以下の様に使用するホスト鍵アルゴリズムを明示的に指定((サーバー側の SSH を更新しましょう)) | ||
| + | |||
| + | ssh -oHostKeyAlgorithms=ssh-rsa, | ||
| + | |||
| + | |||
| + | |||
| + | |||
| ===== diff コマンドで横並びで表示したい ===== | ===== diff コマンドで横並びで表示したい ===== | ||
tipsmemo/tips.1742723702.txt.gz · 最終更新: by admin
