Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Cygwin Supported via Custom Commands

Artistan wrote:

I wrote up an article here on how to use custom commands to launch cygwin terminals, mintty.

http://blog.geekslikeshinythings.com/2013/08/winscp-and-cygwin.html

Thanks for sharing this.

Actually since WinSCP 5.2.2 beta you can sneak in OpenSSH instead of PuTTY for the Open in PuTTY command as you can now use the !U@!@ even in the path to PuTTY.
I have documented this now:
https://winscp.net/eng/docs/integration_putty#openssh
martin

Re: Use cygwin and openssh instead of putty.

Anonymous wrote:

I have command which works if run from windows run menu:
c:\cygwin\bin\mintty /bin/bash -c 'ssh user@host'

But this one doesn't work if run as custom command in WinSCP
Can you help to make it working?

So what happens if you execute the custom command?
Guest

Re: Use cygwin and openssh instead of putty.

Also - it would be cool to have "port" pattern in custom commands.
Guest

Re: Use cygwin and openssh instead of putty.

I have command which works if run from windows run menu:
c:\cygwin\bin\mintty /bin/bash -c 'ssh user@host'

But this one doesn't work if run as custom command in WinSCP
Can you help to make it working?
Guest

Re: Use cygwin and openssh instead of putty.

martin wrote:

kirs wrote:

How to integrate WinSCP with openssh? What kind of command place in preferences->Putty path?

It's not possible.


I was able to create custom command to run ssh. But it has limitations - I can't make it auth with rsa key - because it doesn't load current user in cygwin and it has no permissions to key file. But it works with regular user:password auth:

c:\cygwin\bin\mintty /bin/ssh !U:!P@!@

This one fails with permissions denied:
c:\cygwin\bin\mintty /bin/ssh !U:!P@!@ -I /home/user/.ssh/id_dsa
martin

Re: Use cygwin and openssh instead of putty.

kirs wrote:

How to integrate WinSCP with openssh? What kind of command place in preferences->Putty path?

It's not possible.
kirs

Use cygwin and openssh instead of putty.

WinSCP has nice putty integration - you can open Putty window and it will pass username/key/password etc.
Is it possible to use cygwin and openssh same way?
How to integrate WinSCP with openssh? What kind of command place in preferences->Putty path?

Thanks!