 |
¤«¤Ê¤ê¥Ï¥Þ¤Ã¤Æ¸¡º÷¤·¤Þ¤¯¤Ã¤Æ¤ä¤Ã¤È°Ê²¼¤Ë»ê¤ê¤Þ¤·¤¿¡£
ÀܳÀè : delegate2 FreeBSD 4.11 RELEASE ssh ver OpenSSH_3.5p1 Àܳ¸µ : q4os-v200 q4os 5.10 (debian 12) ssh ver OpenSSH_9.2p1
# Àܳ¤·¤Æ¤ß¤¿¡£ takaq@q4os-v200:~$ ssh takaq@delegate2 Unable to negotiate with 192.168.1.9 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
# ¸°¸ò´¹ÊýË¡¤Î»ØÄê¤ò¤¹¤ë¡£ takaq@q4os-v200:~$ ssh delegate2 -oKexAlgorithms=diffie-hellman-group-exchange-sha1 Unable to negotiate with 192.168.1.9 port 22: no matching host key type found. Their offer: ssh-dss # OpenSSH ¤Î 7.0 ¤«¤é DSA(ssh-dss) ¤ÎÀȼåÀ¤Ë¤è¤ê̵¸ú¤Ë¤µ¤ì¤¿¤³¤È¤¬¸¶°ø¤é¤·¤¤¡£
Àܳ¸µ¤Î /etc/ssh/ssh_config ¤Ë
HostKeyAlgorithms ssh-dss,ssh-rsa
¤òÄɵ
# ¸°¸ò´¹ÊýË¡¤Î»ØÄê¤ò¤¹¤ë¡£ takaq@q4os-v200:~$ ssh delegate2 -oKexAlgorithms=diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 Unable to negotiate with 192.168.1.9 port 22: no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se
Àܳ¸µ¤Î /etc/ssh/ssh_config ¤Ë
# ¼ÂºÝ¤ÎÄÌ¿®¤ò°Å¹æ²½¤¹¤ë°Å¹æ²½¥¢¥ë¥´¥ê¥º¥à¤ò»ØÄê Ciphers aes128-cbc
¤òÄɵ
# ¸°¸ò´¹ÊýË¡¤Î»ØÄê¤ò¤¹¤ë¡£
# ¸°¸ò´¹¤¬¤Ç¤¤¿¤Ã¤Ý¤¤ takaq@q4os-v200:~$ ssh delegate2 -oKexAlgorithms=diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 The authenticity of host 'delegate2 (192.168.1.9)' can't be established. DSA key fingerprint is SHA256:WXzNE4ZbRhRAlfUSb1keD2wf3PHg54OFKAdHwPp+XDc. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'delegate2' (DSA) to the list of known hosts.
# ¥Ñ¥¹¥ï¡¼¥Éʹ¤¤¤Æ¤¤¿ (takaq@delegate2) Password:
# ¥í¥°¥¤¥ó¤Ç¤¤¿¤è¡¼¡¼¡¼¢ö Last login: Tue Sep 12 14:19:15 2023 from lenovo.takaq.jp Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved.
FreeBSD 4.11-RELEASE (GENERIC) #0: Fri Jan 21 17:21:22 GMT 2005
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently.
o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) man page. If you are not familiar with man pages, type `man man'.
You may also use /stand/sysinstall to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement.
# ¤½¤ì¤Ç¤â¡¢²¼¤ÎÀܳ¥³¥Þ¥ó¥É¤À¤È¥À¥á¤Ã¤¹¡£ takaq@q4os-v200:~$ ssh takaq@delegate2 Unable to negotiate with 192.168.1.9 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
¤Ç¤â¡¢Àܳ¤Ç¤¤¿¤«¤éÎɤ·¤È¤·¤è¤¦¡£
# ¡¦¡¦¡¦¤È»×¤Ã¤¿¤±¤É¡¢¤â¤¦¤Á¤ç¤Ã¤È´èÄ¥¤Ã¤Æ¤ß¤¿¡£ Àܳ¸µ¤Î /etc/ssh/ssh_config ¤Ë
KexAlgorithms +diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
¤òÄɵ
ssh takaq@delegate2 ¤ÇÀܳ¤Ç¤¤Þ¤·¤¿¡£¤è¤«¤Ã¤¿¡¼¡¼¡¼¡¢¶ìÏ«¤·¤Þ¤·¤¿¡£¢ö
takaq@q4os-v200:~$ sudo ssh takaq@delegate2 The authenticity of host 'delegate2 (192.168.1.9)' can't be established. DSA key fingerprint is SHA256:WXzNE4ZbRhRAlfUSb1keD2wf3PHg54OFKAdHwPp+XDc. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'delegate2' (DSA) to the list of known hosts. (takaq@delegate2) Password: Last login: Thu Sep 14 18:50:38 2023 from q4os-v200.takaq Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved.
FreeBSD 4.11-RELEASE (GENERIC) #0: Fri Jan 21 17:21:22 GMT 2005
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently.
o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) man page. If you are not familiar with man pages, type `man man'.
You may also use /stand/sysinstall to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement.
$
·ëÏÀ
Àܳ¸µ¤Î /etc/ssh/ssh_config ¤Ë
KexAlgorithms +diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 HostKeyAlgorithms ssh-dss,ssh-rsa Ciphers aes128-cbc
¤òÄɵ
¢¨¤Á¤Ê¤ß¤Ë¡¢Àܳ¸µ¥æ¡¼¥¶¤Î /etc/ssh/ssh_config¤Ë½ñ¤¯Á°¤Ë¡¢Àܳ¸µ¥æ¡¼¥¶¤Î .ssh/config¤òºîÀ®¤·¤Æ°Ê²¼¤Î¤è¤¦¤Ë½ñ¤¤¤Æ¤â¥À¥á¤Ç¤·¤¿¡£
Host 192.168.*.* KexAlgorithms +diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 HostKeyAlgorithms=+ssh-dss,ssh-rsa Ciphers aes128-cbc
|
|
|