• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

Gelöst: Shellskript: lftp/sftp mit Keyfile und Passphrase

Passphrase ansich geht mit sshpass und kann durchaus Sinn machen in manchen Situationen.

Nur mal der Vollständigkeit halber:

Code:
sshpass -Ppassphrase -f <(printf '%s\n' your_passphrase) ssh -o PreferredAuthentications=publickey user@hostname
 
Back
Top