tldr/common/ssh.md

386 B

SSH

Secure Shell is a protocol used to securely log onto remote systems. It can be used for logging or executing commands on a remote server.

  • connecting to a remote server

ssh {{username}}@{{remote_host}}

  • connecting to a remote server with specific port

ssh {{username}}@{{remote_host}} -P {{2222}}

  • ssh tunneling

ssh -D {{9999}} -C {{username}}@{{remote_host}}