“X.X.X.X“has fingerprint “Y/Y“.ssh连接错误解决方法

关于vscode连接ssh时出现如"202.174.2.34" has fingerprint "SHA256:...."错误提示的解决方法

问题

通过vscode连接ssh时,突然无法连上,出现如标题所示错误提示,在选择continue后连接,输入正确密码却显示Permission Denied.
错误类型

解决方法

查看本地目录C:\Users\用户名\.ssh下文件。

1- 删除known_hosts文件
尝试重新连接ssh,发现仍无法解决问题。
2- 确认config文件内容。
将其中有错误信息的部分删去。
重新连接,可行。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
`hasp_net_windows_x64.dll` 是一个 Sentinel HASP 的 DLL 库文件,包含了一些功能函数,可以用于保护软件版权。以下是一些常用的方法: 1. `hasp_login`:登录 Sentinel HASP 锁,返回锁的句柄。 ```c hasp_status_t hasp_login(hasp_feature_t feature_id, const char *vendor_code, hasp_handle_t *handle); ``` 2. `hasp_logout`:注销 Sentinel HASP 锁。 ```c hasp_status_t hasp_logout(hasp_handle_t handle); ``` 3. `hasp_encrypt`:使用 Sentinel HASP 锁加密数据。 ```c hasp_status_t hasp_encrypt(hasp_handle_t handle, hasp_size_t input_length, const hasp_byte_t *input_buffer, hasp_size_t output_length, hasp_byte_t *output_buffer); ``` 4. `hasp_decrypt`:使用 Sentinel HASP 锁解密数据。 ```c hasp_status_t hasp_decrypt(hasp_handle_t handle, hasp_size_t input_length, const hasp_byte_t *input_buffer, hasp_size_t output_length, hasp_byte_t *output_buffer); ``` 5. `hasp_get_info`:获取 Sentinel HASP 锁的信息。 ```c hasp_status_t hasp_get_info(hasp_handle_t handle, hasp_info_t info, hasp_vendor_code_t vendor_code, hasp_api_version_t api_version, hasp_fingerprint_t fingerprint, hasp_rtti_t rtti, hasp_time_t last_change_time, hasp_size_t *size); ``` 6. `hasp_get_sessioninfo`:获取 Sentinel HASP 锁的会话信息。 ```c hasp_status_t hasp_get_sessioninfo(hasp_handle_t handle, hasp_sessioninfo_t *sessioninfo); ``` 7. `hasp_get_version`:获取 Sentinel HASP 锁的版本。 ```c hasp_status_t hasp_get_version(hasp_handle_t handle, hasp_version_t version); ``` 以上是一些常用的方法,具体使用方法请参考 Sentinel HASP 的开发文档。
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值