如何让 ssh 从 stdin 接收密码密码、ssh、stdin

2023-09-06 22:27:10 作者:望山窥荷

How can you make SSH read the password from stdin, which it doesn't do by default?

解决方案

You can't with most SSH clients. You can work around it with by using SSH API's, like Paramiko for Python. Be careful not to overrule all security policies.

 
精彩推荐