使用pscp自动接受rsa指纹 [英] Automatically accept rsa fingerprint using pscp

查看:211
本文介绍了使用pscp自动接受rsa指纹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您使用pscp将文件发送到单台计算机上时没什么大不了的,因为您将一次获得rsa指纹提示,以后再也不会.但是,如果您要连接到200台计算机,则绝对不希望输入200次是"....

When you're using pscp to send files to a single machine is not a big deal because you will get the rsa fingerprint prompt once and never again after. But if you want to connect to 200 machines, you definitely don't want to type "yes" 200 times....

我在Windows机器上使用pscp,我真的不在乎指纹,我只想接受它.我正在使用Amazon EC2,并且每次重新启动机器时指纹都会更改....

I'm using pscp on a Windows machine and I really don't care about the fingerprint, I only want to accept it. I'm using Amazon EC2 and the finger print change every time i restart the machines....

如果有办法避免使用pscp或其他工具,请告诉我!!!

If there is a way to avoid it using pscp or a different tool please let me know!!!

谢谢!

推荐答案

请参见在Windows上,您可以在命令前面使用前缀echo y |,这将 盲目 每次都接受任何主机密钥.但是,一种更安全的解决方案是第一次交互运行,或生成可以在任何客户端计算机上运行的.reg文件.

On Windows you can use prefix echo y | in front of your command which will blindly accept any host key every time. However, a more secure solution is to run interactively the first time, or generate a .reg file that can be run on any client machine.

这篇关于使用pscp自动接受rsa指纹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆