Using Windows PowerShell, instead of PuttY?

Advertisement

youradds
Joined:
Posts:
39
Location:
UK

Using Windows PowerShell, instead of PuttY?

Hi,

I'm trying to see if I can use Powershell instead of PuTTY, when doing SSH sessions. So In Preferences > Integration > Applications, I entered:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

I then restarted WinSCP, and tried to open a SSH session. Powershell opens, and then I see a brief flash of red text, and then it closes. Is there something I'm missing? The text is so brief, I don't get a chance to read it :(

Thanks!

Andy

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Using Windows PowerShell, instead of PuttY?

PowerShell is not an SSH client.

Did you hope to use PowerShell console capabilities for an SSH terminal? That's not possible.

Or do you connect to Windows server? Maybe you actually want to open PowerShell on the remote server.

Reply with quote

youradds
Joined:
Posts:
39
Location:
UK

Ah ok - I just assumed any terminal would work (I have Cygwin installed, and I can access ssh using `ssh xxxx` via the command line, so I just assumed it would work). Shame, as Powershell has a much nicer interface to Putty (and I like the way you can grab specific parts of the terminal window, not just the whole lines)

Cheers

Andy

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Use Alt+drag.

The PowerShell does formatting because it understands the commands, because they PowerShell commands. It wouldn't be able to magically format remote/shell commands, because it won't understand them.

Reply with quote

youradds
Joined:
Posts:
39
Location:
UK

Ahhh I didn't realise you could do Alt+drag in PuTTy. The main reason I want this, for example, is when I have the output of a list of files. I just want to be able to grab one of the columns. Currently I have to copy the lot, then paste into an editor, then trim off the extra stuff I don't want. The syntax highlighting I can deal without - would have just been nice :)

Cheers

Andy

Reply with quote

Advertisement

You can post new topics in this forum