From 412c08af157aefcaa72e84a118bca4f6e0a6d047 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 11 May 2025 07:57:21 +0300 Subject: [PATCH] ssh: add shorthand example (#16451) * Update ssh.md * Update ssh.md * Update pages/common/ssh.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/ssh.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/ssh.md b/pages/common/ssh.md index d6c65dc89a..ee4623db26 100644 --- a/pages/common/ssh.md +++ b/pages/common/ssh.md @@ -12,9 +12,9 @@ `ssh -i {{path/to/key_file}} {{username}}@{{remote_host}}` -- Connect to a remote server using a specific [p]ort: +- Connect to a remote server with IP `10.0.0.1` and using a specific [p]ort (Note: `10.0.0.1` can be shortened to `10.1`): -`ssh {{username}}@{{remote_host}} -p {{2222}}` +`ssh {{username}}@10.0.0.1 -p {{2222}}` - Run a command on a remote server with a [t]ty allocation allowing interaction with the remote command: