Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use Putty console in Notepad++

Is there a way to show console of putty in console of Notepad++ (NppExec)?

I am editing files in remote server in Notepad++ with help of WinSCP. And executing console programs from putty console. As I can use cmd inside NppExec, is there any way to use putty's console inside Notpad++?

like image 993
SMUsamaShah Avatar asked Oct 30 '11 22:10

SMUsamaShah


People also ask

How do I copy a PuTTY session into notepad?

To copy text from Putty to your Windows clipboard or program, here's what to do. Left-click inside the PuTTY terminal window near the text you want to copy. Holding down the left mouse button, drag your cursor across the text to select it, then release the button to copy it.

How do I open a terminal in notepad?

Open the command prompt -- press Windows-R and run Cmd, or in Windows 8, press Windows-X and select Command Prompt -- and type Notepad to run the program.

How do I bring up the console in Notepad ++?

How to run CMD console commands in Notepad++ If you want to work with Notepad++ and CMD (Command Line) Console at once you can install NPPExec plugin. Once you install this plugin using Plugin Manager, go to Plugins -> NppExec -> Execute..., or press F6 key.


2 Answers

(Very late answer but it may help people who are looking for an answer)

What you are looking for is:

  1. A plugin to run commands (NppExec that I use a lot, or NppConsole)
  2. The batch version of putty available on Putty website: plink
  3. If your remote machine is under a Linux system, a tool to convert from Linux to Windows: ansicon
  4. Copy the executable in some folder and put this folder in your path
  5. Restart Notepad++
  6. Run the command ansicon.exe plink.exe -ssh user@location -pw yourpasword (F6 key for NppExec)

... And that's it!

PS: Thanks a lot to Svenn for the post on his blog

like image 153
Jean-Francois T. Avatar answered Oct 13 '22 11:10

Jean-Francois T.


I know this thread is incredibly dead and i hate to necro, but i felt like this was worth it to share.

You can also download the Notepad++ Console Plugin which is (imo) a cleaner solution to using ssh when you have putty installed. It will of course also work as just a command prompt for windows.

When you have this plugin installed you can open up an ssh connection using
ssh [email protected]
which will open up a TTY.

like image 45
Gabi Barrientos Avatar answered Oct 13 '22 10:10

Gabi Barrientos