Skip to content

sshpass - A program to pass passwords in the command line to ssh

sshpass is a program that allows us to pass passwords in the command line to ssh. This way we can automate the login process.

Installation

sudo apt install sshpass

Usage

sshpass -p 'thepasswordisthis' ssh user@IP
Last update: 2023-05-08
Created: May 8, 2023 17:15:13