ssh — OpenSSH SSH Client

ssh is the standard command-line tool for logging in to a remote Linux or Unix system securely.

Basic login

ssh user@example.com

Replace user with the remote username and example.com with the server name or IP address.

Use a different port

ssh -p 2222 user@example.com

Run a remote command

ssh user@example.com 'uptime'

This is useful for quick checks without opening a full interactive shell.

Leave a Comment