matlab - Matlab authenticate FTP with private key file
问题描述
We can use Matlab's built in ftp function to authenticate to the FTP server as follows:
HOST = 'a.b.c.d';
USER = 'hello';
PASS = 'world';
conn = ftp(HOST, USER, PASS);
However, I have now a FTP server where the authentication goes through a private key file (generated by PuTTY). How can I use this in this context to Authenticate? Using FileZilla you can select the Logon Type "Key File" (I tested and this worked).
解决方案
经过一番研究,我发现了一个文件交换包,它允许您使用私钥对 SFTP 进行身份验证。
但是,如果存在其他解决方案(例如,Matlab),我愿意听取他们的意见。
推荐阅读
- ios - 我们如何使用 swift 和 iOS 11+ 进行直线图像转换
- gams-math - GAMS中是否有标准的正态累积分布函数?
- jquery - 模态内容刷新和提交
- javascript - javascript中的冒泡排序无法运行?
- python - 显然我没有在字符串格式化期间转换所有参数,但我不知道出了什么问题
- excel - 将一张表中的表格数据引用到另一张表中的单元格
- python - 无法发布日期时间类型python
- c - 为什么在程序中两次使用gets()来获取两个不同数组的输入,即使是第一个数组也只返回第二个输入?
- android - 有没有办法绕过 MI 设备中的“自动启动”在 android 中运行后台服务?
- design-patterns - 责任链模式只是一种矫枉过正吗?处理程序列表可以完成相同的任务