{
	"id": "3323071f-8fab-4721-b858-85b99f0e4e15",
	"created_at": "2026-04-06T00:07:05.475722Z",
	"updated_at": "2026-04-10T03:22:09.433799Z",
	"deleted_at": null,
	"sha1_hash": "bcc88133aefef4eafe1950150e741b5c2e877bd9",
	"title": "Windows Terminal SSH",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 97246,
	"plain_text": "Windows Terminal SSH\r\nBy mattwojo\r\nArchived: 2026-04-05 17:59:34 UTC\r\nWindows has a built-in SSH client and SSH server that you can use in Windows Terminal. In this tutorial, you'll\r\nlearn how to set up a profile in Windows Terminal that uses SSH. Note that this feature is in preview.\r\nAccess Windows SSH Client and SSH Server\r\nThe latest builds of Windows 10 and Windows 11 include a built-in SSH server and client that are based on\r\nOpenSSH, a connectivity tool for remote sign-in that uses the SSH protocol. OpenSSH encrypts all traffic between\r\nclient and server to eliminate eavesdropping, connection hijacking, and other attacks.\r\nBy default, the OpenSSH client and OpenSSH server are located in the directory:\r\nC:\\Windows\\System32\\OpenSSH . You can also check that it is present in Windows Settings \u003e System \u003e Optional\r\nfeatures, then search for \"OpenSSH\" in your added features.\r\nFor more information on configuring OpenSSH, see OpenSSH Server configuration for Windows.\r\nCreate a profile\r\nYou can start an SSH session in your command prompt by executing ssh user@machine and you will be\r\nprompted to enter your password. You can create a Windows Terminal profile that does this on startup by adding\r\nthe commandline setting to a profile in your settings.json file inside the list of profile objects.\r\nhttps://docs.microsoft.com/en-us/windows/terminal/tutorials/ssh\r\nPage 1 of 2\n\n{\r\n \"name\": \"user@machine ssh profile\",\r\n \"commandline\": \"ssh user@machine\"\r\n}\r\nFor more information, see:\r\nWindows Terminal Profile - General settings\r\nSpecify starting directory\r\nTo specify the starting directory for a ssh session invoked by Windows Terminal, you can use this command:\r\n{\r\n \"commandline\": \"ssh -t bob@foo \\\"cd /data/bob \u0026\u0026 exec bash -l\\\"\"\r\n}\r\nThe -t flag forces pseudo-terminal allocation. This can be used to execute arbitrary screen-based programs on a\r\nremote machine, e.g. when implementing menu services. You will need to use escaped double quotes as bourne\r\nshell derivatives don't do any additional parsing for a string in single quotes.\r\nFor more information, see:\r\nGH Issue: How to specify the starting directory for a ssh session?\r\nStackOverflow: How can I ssh directly to a particular directory?\r\nResources\r\nHow to Enable and Use Windows 10’s New Built-in SSH Commands\r\nSource: https://docs.microsoft.com/en-us/windows/terminal/tutorials/ssh\r\nhttps://docs.microsoft.com/en-us/windows/terminal/tutorials/ssh\r\nPage 2 of 2",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"references": [
		"https://docs.microsoft.com/en-us/windows/terminal/tutorials/ssh"
	],
	"report_names": [
		"ssh"
	],
	"threat_actors": [],
	"ts_created_at": 1775434025,
	"ts_updated_at": 1775791329,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/bcc88133aefef4eafe1950150e741b5c2e877bd9.pdf",
		"text": "https://archive.orkl.eu/bcc88133aefef4eafe1950150e741b5c2e877bd9.txt",
		"img": "https://archive.orkl.eu/bcc88133aefef4eafe1950150e741b5c2e877bd9.jpg"
	}
}