Cmder: Login with ssh on start

Created on 12 Jan 2017  路  6Comments  路  Source: cmderdev/cmder

Hi, I try to create a "task" to automaticaly login the new tab through ssh server

I try something like

cmd /k "%ConEmuDir%\..\init.bat" -new_console:t: %ConEmuDir%\..\init.bat -c "ssh"

Any idea ?

Thx a lot !

馃憖 Awaiting Response

Most helpful comment

i did it like this
cmd.exe /k "%ConEmuBaseDir%\CmdInit.cmd" && ssh user@ip
in in the commands textarea

All 6 comments

i did it like this
cmd.exe /k "%ConEmuBaseDir%\CmdInit.cmd" && ssh user@ip
in in the commands textarea

Do you have special parameters ? It doesn't work for me :/

"'ssh' not reconized command"

image

@romainhe do you have ssh installed? Try chocolatey https://chocolatey.org/packages/openssh. If you type ssh on your cmd, you should see the help.

""%ConEmuDir%\..\init.bat" && ssh [email protected] -p 2222"
works for me.

I am using the same feature in PhpStorm IDE to open cmder and ssh into a vm every time I open embedded terminal. For that I had to go to settings>tools>terminal and set application setings Shell path to "cmd" /k "C:\cmder\vendorinit.bat && ssh [email protected] -p 2222" .

Hope this helps to readers.
cmder_default_ssh

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contribution.

This issue has been automatically closed due to it not having any activity since it was marked as stale. Thank you for your contribution.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luisrudge picture luisrudge  路  3Comments

bmeverett picture bmeverett  路  3Comments

edgariscoding picture edgariscoding  路  3Comments

isnullxbh picture isnullxbh  路  3Comments

brunowego picture brunowego  路  3Comments