diff --git a/README.md b/README.md index d9e9fe2a..8fd27bbc 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ ## Welcome to the Windows Terminal Documentation Source Code -This repository contains the source code (primarily written in markdown) for Windows Terminal documentation. Find the live content at [Windows Terminal documentation](https://docs.microsoft.com/windows/terminal/). +This repository contains the source code (primarily written in markdown) for Windows Terminal documentation. Find the live content at [Windows Terminal documentation](https://learn.microsoft.com/windows/terminal/). -To contribute to these docs, select the "Edit" link found on each of the live docs pages to open the source code file for that page. For a [markdown authoring reference](https://docs.microsoft.com/contribute/markdown-reference) and additional help on how to contribute, visit our [contributor guide](https://docs.microsoft.com/contribute/). +To contribute to these docs, select the "Edit" link found on each of the live docs pages to open the source code file for that page. For a [markdown authoring reference](https://learn.microsoft.com/contribute/markdown-reference) and additional help on how to contribute, visit our [contributor guide](https://learn.microsoft.com/contribute/). To file an issue with the documentation, use the feedback link at the bottom of the live docs page or select the "Issues" tab above. Please first search existing issues to see whether your issue is already being addressed. diff --git a/TerminalDocs/command-line-arguments.md b/TerminalDocs/command-line-arguments.md index d25c98cc..b295e60f 100644 --- a/TerminalDocs/command-line-arguments.md +++ b/TerminalDocs/command-line-arguments.md @@ -40,6 +40,8 @@ Below is the full list of supported commands and options for the `wt` command li | `--fullscreen`, `-F` | Launches the terminal as full screen. | | `--focus`, `-f` | Launches the terminal in the focus mode. Can be combined with `maximized`. | | `--window`, `-w` `` | Launches the terminal in a specific window. | +| `--pos` `x,y` | (Only available in [Preview](https://aka.ms/terminal-preview)) Launches the terminal at the specified x and y coordinate on the screen. | +| `--size` `c,r` | (Only available in [Preview](https://aka.ms/terminal-preview)) Launches the terminal with the specified number of columns and rows. | ### `New-tab` command @@ -93,7 +95,7 @@ To start an instance of Windows Terminal and have it execute a command, call `wt Here's an example of calling Windows Terminal to pass a [ping](/windows-server/administration/windows-commands/ping) command argument to echo an IP address: ```powershell -wt ping docs.microsoft.com +wt ping learn.microsoft.com ``` Here's an example of calling Windows Terminal to open a new tab with a PowerShell command line, confirming to call the [Start-Service](/powershell/module/microsoft.powershell.management/start-service) command, and opening another new tab with Windows Command Prompt open to the `/k` directory: diff --git a/TerminalDocs/customize-settings/appearance.md b/TerminalDocs/customize-settings/appearance.md index 794fb957..721d1289 100644 --- a/TerminalDocs/customize-settings/appearance.md +++ b/TerminalDocs/customize-settings/appearance.md @@ -234,6 +234,9 @@ When this is set to `true`, closing a window with multiple tabs open _will_ requ :::column span=""::: ![Windows Terminal confirm close all tabs](./../images/confirm-close-all-tabs.png) +:::column-end::: +:::row-end::: +
___ diff --git a/TerminalDocs/images/ssh-optonialfeatures.png b/TerminalDocs/images/ssh-optonialfeatures.png new file mode 100644 index 00000000..b85ff0f0 Binary files /dev/null and b/TerminalDocs/images/ssh-optonialfeatures.png differ diff --git a/TerminalDocs/tutorials/new-tab-same-directory.md b/TerminalDocs/tutorials/new-tab-same-directory.md index 71029720..70d1207d 100644 --- a/TerminalDocs/tutorials/new-tab-same-directory.md +++ b/TerminalDocs/tutorials/new-tab-same-directory.md @@ -143,12 +143,12 @@ This function will be called whenever the current path is changed to confirm the #### MINGW -For MINGW, Git Bash and Cygwin, you need to modify the `PROMT_COMMAND` for WSL: replace `wslpath` with `cygpath`. +For MINGW, Git Bash and Cygwin, you need to modify the `PROMPT_COMMAND` for WSL: replace `wslpath` with `cygpath`. Add the following line to the end of your `.bashrc` file: ```bash -PROMPT_COMMAND=${PROMPT_COMMAND:+"$PROMPT_COMMAND; "}'printf "\e]9;9;%s\e\\" "`cygpath -w $PWD`"' +PROMPT_COMMAND=${PROMPT_COMMAND:+"$PROMPT_COMMAND; "}'printf "\e]9;9;%s\e\\" "`cygpath -w "$PWD"`"' ``` > [!NOTE] diff --git a/TerminalDocs/tutorials/ssh.md b/TerminalDocs/tutorials/ssh.md index 55c10619..9101159b 100644 --- a/TerminalDocs/tutorials/ssh.md +++ b/TerminalDocs/tutorials/ssh.md @@ -3,16 +3,22 @@ title: Windows Terminal SSH description: In this tutorial, learn how to set up an SSH connection in Windows Terminal. author: cinnamon-msft ms.author: cinnamon -ms.date: 05/19/2020 +ms.date: 10/06/2022 ms.topic: tutorial #Customer intent: As a developer or IT admin, I want to set up am SSH connection in Windows Terminal so that I can connect to other servers. --- # Tutorial: SSH in Windows Terminal -Windows has a built-in SSH client that you can use in Windows Terminal. +Windows has a built-in SSH client that you can use in Windows Terminal. In this tutorial, you'll learn how to set up a profile in Windows Terminal that uses SSH. -In this tutorial, you'll learn how to set up a profile in Windows Terminal that uses SSH. +## Access Windows SSH Client + +The latest builds of Windows 10 and Windows 11 include a built-in SSH server and client that are based on OpenSSH, a connectivity tool for remote sign-in that uses the SSH protocol. OpenSSH encrypts all traffic between client and server to eliminate eavesdropping, connection hijacking, and other attacks. + +By default, the OpenSSH client will be located in the directory: `C:\Windows\System32\OpenSSH`. You can also check that it is installed in Windows Settings > Apps > Optional features, then search for "OpenSSH" in your installed features. + +![OpenSSH feature in Windows Settings](../images/ssh-optonialfeatures.png) ## Create a profile