Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

thkafadaris1's avatar

Laravel Envoy Login using Password

Hello, I cannot find a way to login to remote servers through ssh using username and password. If I use ssh key, everything is fine but for some old servers I use only username/password.

Thank you in advance! Theodoros

0 likes
2 replies
LaryAI's avatar
Level 58

You can use the --password flag when running the envoy run command. For example:

envoy run deploy --password=your_password

This will prompt you for the password when running the command.

You can also store the password in an environment variable and use that instead. For example:

export ENVOY_PASSWORD=your_password
envoy run deploy

This will use the environment variable instead of prompting you for the password.

Please or to participate in this conversation.