Post a reply

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

rickyL1213

You can also pass the session password by install sshpass on WSL/bash
sudo apt-get install sshpass

and set the winscp terminal path to
"C:\Program Files\ConEmu\ConEmu64.exe" -Reuse -run  bash.exe -c "sshpass -p !P ssh !U@!@ -p !#" - new_console:t: '!N'

Don't forget to tick "Remember session password and pass it to PuTTY".
Cyrlop

Is there a way to use the wslbridge mentioned here?
https://conemu.github.io/en/wsl.html#connector

Using WSL/ConEmu the documented way works fine but some bash feature don't behave as expected (keys input, mouse clicks, ...)

I tried few things without success including:
"C:\Program Files\ConEmu\ConEmu64.exe" -run {bash} -c "ssh !U@!@ -p !#"

with the {bash} task working properly as described in the above link.
Morgy

Awesome! You're my hero!

I modified it a little bit to be even more awesome:
"C:\Program Files\ConEmu\ConEmu64.exe" -Reuse -run bash.exe -c "ssh !U@!@ -p !# -t 'cd !/ ; /bin/bash'" -new_console:t:'!N'

+ Reuse window
+ cd to current path
+ Tab named like current session

Love WinSCP and love ConEmu <3 Thanks!
Morgy

Using ConEmu bash/WSL as ssh terminal within WinSCP

Hello,

is it possible to use ConEmu as ssh terminal within WinSCP?
I like to just press Ctrl+P to open up PuTTY and being logged into the server via ssh.
Now I'd rather like to use ConEmu with WSL for ssh stuff on my machine, but I'm not quite sure if this works.
So I'd like to press Ctrl+P for WinSCP to open up ConEmu with bash/WSL shell and login to the current server.

Any hints on how to achieve this?