Online Linux Terminal Logo
OnlineLinuxTerminal
Réseau et transfertCLI Manual

$ssh

Securely log into remote Linux servers and execute commands over encrypted connections.

Syntaxe de la commandePOSIX Standard
ssh [OPTIONS] [USER@]HOSTNAME [COMMAND]
Communauté Linux2.4k En ligne

Échangez avec des utilisateurs Linux, apprenez des commandes et téléchargez des PDF.

Essayer en direct dans le bac à sable interactif

Simulation côté client sans installation avec retour instantané.

Ouvrir dans le terminal plein écran ↗
bash — terminal

Aperçu et fonctionnement

`ssh` (Secure Shell) is the industry-standard cryptographic network protocol for operating network services securely over an unsecured network. It provides end-to-end encrypted terminal login, remote command execution, and port forwarding.

Options et drapeaux courants

Flag / OptionDescription
-p [port]Port to connect to on the remote server (default is 22).
-i [keyfile]Select private key identity file for public key authentication (e.g., ~/.ssh/id_rsa).
-vVerbose mode for debugging SSH connection and handshake failures.

Exemples pratiques du monde réel

#1Connect to remote server using custom key
ssh -i ~/.ssh/id_ed25519 user@remote-server.com

Initiates encrypted SSH session using ED25519 public key authentication.