尝试将文件从旧的 Cisco C3560G 复制到我的电脑:未找到匹配的密钥交换方法

尝试将文件从旧的 Cisco C3560G 复制到我的电脑:未找到匹配的密钥交换方法

我正在尝试将文件从旧的 Cisco C3560G 下载到我的电脑,但出现此错误:

PS C:\Windows\System32\OpenSSH> ./scp.exe -pr admin@PAN-MGMT-01:c3560-ipbasek9-mz.122-53.SE C:\Users\sebastien.mansfeld\Desktop\Cisco\
Unable to negotiate with 10.14.16.15 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

所以我这样做:

PS C:\Windows\System32\OpenSSH> ./scp.exe -o KexAlgorithms=+diffie-hellman-group1-sha1 -pr admin@PAN-MGMT-01:c3560-ipbasek9-mz.122-53.SE C:\Users\sebastien.mansfeld\Desktop\Cisco\
Unable to negotiate with 10.14.16.15 port 22: no matching cipher found. Their offer: aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc

然后我尝试了这个:

PS C:\Windows\System32\OpenSSH> ./scp.exe -o KexAlgorithms=+diffie-hellman-group1-sha1 -o Ciphers=+aes256-cbc -pr admin@PAN-MGMT-01:c3560-ipbasek9-mz.122-53.SE C:\Users\sebastien.mansfeld\Desktop\Cisco\
Password:
Administratively disabled.

EDIT0:我的 Cisco C3560G 丢失了ip scp server enable,但后来我得到了:

PS C:\Windows\System32\OpenSSH> ./scp.exe -o KexAlgorithms=+diffie-hellman-group1-sha1 -o Ciphers=+aes256-cbc -pr admin@PAN-MGMT-01:c3560-ipbasek9-mz.122-53.SE C:\Users\sebastien.mansfeld\Desktop\Cisco\
Password:
-p -r -d options not supported

EDIT1:删除不受支持的选项-pr解决了该问题:

PS C:\Windows\System32\OpenSSH> ./scp.exe -o KexAlgorithms=+diffie-hellman-group1-sha1 -o Ciphers=+aes256-cbc admin@PAN-MGMT-01:PAN-MGMT-01_autoconfig-20230818.txt P:\Desktop\Switches\WS-C3560G-48PS-S\
Password:
PAN-MGMT-01_autoconfig-20230818.txt                                                                                                     100%   11KB  32.8KB/s   00:00
PS C:\Windows\System32\OpenSSH>

相关内容