How to auto attach any putty or kitty console to ConEmu

Is it possible to auto attach any putty.exe or kitty.exe console windows to ConEmu? If yes, then how can it be done?


I was looking to do the same thing and found this link

http://www.thecrumb.com/2013/03/04/configuring-conemu-and-putty/

I think it's basically what Maximus was saying but you will do this from inside ConEmu


Guys I just found the way! Totally possible without create shortcut for every session to load.

I just found that CMDER has a default task named {Putty}. It just launches Putty.exe directly (so putty.exe should be in path, or you should specify the full path of putty.exe).

enter image description here

Create a shortcut of CMDer with arguments:

<full-path-to-cmder.exe> /task Putty

Open it, and the Putty prompt shows. Load your session as usual, and it now shows in Cmder instead of putty, voila!

enter image description here

I knew such a common requirement has a solution in CMDER. Perfect!

Except that you have no control over the tab title, but we cannot ask for more...

EDIT:

I just found that we can specify the window title in Putty when we use Cmder, so now my solution becomes more than perfect.

In putty, we can set a window title in "Window" - "Behaviour", and in Cmder, we set the tab to use putty window title in "Main" - "Tab bar" - "Tab templates" - "Console" (%s represents the title, as shown in the tips above "Console".)

Another two screenshots:

enter image description here

enter image description here


As an alternative simply use SSH

ssh root@somehost

For example add the tools packaged with Git to your path

set PATH=%PATH%;C:\Program Files (x86)\Git\cmd

Or powershell path

# %UserProfile%\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
# Add linux tools from git
$env:Path += ";C:\Program Files (x86)\Git\bin"
  • https://technet.microsoft.com/en-us/magazine/2008.10.windowspowershell.aspx

... And if going down that tangent consider only asking for your key passphrase once and Powershell with Posh git

  • http://haacked.com/archive/2011/12/19/get-git-for-windows.aspx/
  • http://haacked.com/archive/2011/12/13/better-git-with-powershell.aspx/