16

As in the question, is it possible to open Putty session in Windows Terminal in one Window?

Or maybe there's something similar like pageant for OpenSSH?

I can create an ssh session using OpenSSH, but I need to set a passphrase for it. I don't want to do it everytime.

mayerpaw
  • 263
  • 1
  • 2
  • 4

2 Answers2

28

You can use plink.exe to start your existing putty session.

Create a new profile entry for Windows Terminal like this, where putty-session is the name of your putty session:

{
    "guid": "{141d171c-4fd9-426d-9008-8cbc4b0b05d3}",
    "name": "putty-session",
    "icon" : "ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png",
    "commandline": "plink.exe -load \"putty-session\""
}

For more details see this answer: https://stackoverflow.com/questions/57363597/how-to-use-a-new-windows-terminal-app-for-ssh

magnoz
  • 414
  • 4
  • 8
6

There is a fork of Putty that has a robust preferences menu where you can configure it to run in windows terminal. As documented here

As far as I know, there is currently no way to enable standard Putty to run within Windows Terminal.

Also, see this GitHub issue where they explain that since Putty is actually a complete GUI application it can't run within Windows Terminal.

mashuptwice
  • 3,395
GoMAJ
  • 61