價格: TWD 123.93
評分:123.93
下載: 657772
檔案大小: 36.5 MB
版本: 0.3.11
sshpass:用于非交互的ssh 密码验证 · 使用-p 参数指定明文密码,然后直接登录远程服务器。 · 1、从命令行方式传递密码 · sshpass -p
後來找到sshpass 這個工具,可以輕鬆的把密碼餵給ssh。 要在MacOS 安裝的話,用homebrew 最快: $ brew install https
若沒有產生公私鑰在連線的兩端進行對應,ssh 連線時必須手動輸入密碼,這在例行工作、背景執行、批次處理等工作時會無法進行。 · 安裝sshpass 套件。
Base Package: sshpass. Description: Fool ssh into accepting an interactive password non-interactively; Group(s):: net-utils; Repo: msys
Explains how to perform password-based non-interactive SSH authentication login under a Linux/Unix shell scripts using sshpass utility.
sshpass is a utility designed for running ssh using the mode referred to as "keyboard-interactive" password authentication, but in non-interactive mode.