Byte Ebi's Logo

Byte Ebi 🍀

A Bit everyday A Byte every week

Jenkins CI/CD 04 - Using SSH Commands to Operate another VM Instance in GCP

Enable Jenkins to perform remote operations on a remote host through SSH, replacing manual deployment.

Ray

In a non-automated deployment scenario, manually connecting to the server host’s internals is required every time.
Executing deployment commands or running deployment command executables not only involves inconvenience but also carries the risk of human error.
With Jenkins’ pipeline, we can replace manual execution, making deployments easier and more pleasant.

Use ssh key login remote server

Using SSH keys for logging into remote hosts instead of passwords

Ray

Normally, logging into a server involves using a username and password,
but passwords can be compromised through interception or sharing.
The security level is not as robust as using SSH keys, which also eliminate the need for manual password entry each time.

Recent Posts

Categories

Tags