Is there anyway that ConEmu can display local bash and remote ssh on the same tab?
OS: Win 10
ConEmu: 180626 [64]
I would like to display a ssh to my remote server and a local bash on the same. I can easily split with CTRL+SHIFT+ (e or o) but if I'm on remote it opens another remote panel and similarly opens another local if I'm on local. I've tried setting up two tasks and then a third to call each of them but no joy, has any one setup this on their ConEmu?
My tasks are:
Remote
"C:Program FilesGitbinsh.exe" --login -i -c "ssh ubuntu@address.com -i c:/Work/application-files/key.pem" -new_console:t:"address.com":P:"<PowerShell>"
Local
"C:Program FilesGitbinsh.exe" --login -i -new_console:t:"repos Bash"
ssh conemu git-bash
add a comment |
OS: Win 10
ConEmu: 180626 [64]
I would like to display a ssh to my remote server and a local bash on the same. I can easily split with CTRL+SHIFT+ (e or o) but if I'm on remote it opens another remote panel and similarly opens another local if I'm on local. I've tried setting up two tasks and then a third to call each of them but no joy, has any one setup this on their ConEmu?
My tasks are:
Remote
"C:Program FilesGitbinsh.exe" --login -i -c "ssh ubuntu@address.com -i c:/Work/application-files/key.pem" -new_console:t:"address.com":P:"<PowerShell>"
Local
"C:Program FilesGitbinsh.exe" --login -i -new_console:t:"repos Bash"
ssh conemu git-bash
You have interface, what's the problem? conemu.github.io/en/LaunchNewTab.html
– Maximus
Dec 6 at 6:53
I'm opening up multiple shells with different combinations many times a day so a shortcut opening all the shells I need in one go is great. If that's not what you're referring to please clarify.
– chris loughnane
Dec 6 at 13:21
@Maximus just spotted you're the Author of ConEmu! Thanks a million for an amazing terminal! :)
– chris loughnane
Dec 6 at 15:18
add a comment |
OS: Win 10
ConEmu: 180626 [64]
I would like to display a ssh to my remote server and a local bash on the same. I can easily split with CTRL+SHIFT+ (e or o) but if I'm on remote it opens another remote panel and similarly opens another local if I'm on local. I've tried setting up two tasks and then a third to call each of them but no joy, has any one setup this on their ConEmu?
My tasks are:
Remote
"C:Program FilesGitbinsh.exe" --login -i -c "ssh ubuntu@address.com -i c:/Work/application-files/key.pem" -new_console:t:"address.com":P:"<PowerShell>"
Local
"C:Program FilesGitbinsh.exe" --login -i -new_console:t:"repos Bash"
ssh conemu git-bash
OS: Win 10
ConEmu: 180626 [64]
I would like to display a ssh to my remote server and a local bash on the same. I can easily split with CTRL+SHIFT+ (e or o) but if I'm on remote it opens another remote panel and similarly opens another local if I'm on local. I've tried setting up two tasks and then a third to call each of them but no joy, has any one setup this on their ConEmu?
My tasks are:
Remote
"C:Program FilesGitbinsh.exe" --login -i -c "ssh ubuntu@address.com -i c:/Work/application-files/key.pem" -new_console:t:"address.com":P:"<PowerShell>"
Local
"C:Program FilesGitbinsh.exe" --login -i -new_console:t:"repos Bash"
ssh conemu git-bash
ssh conemu git-bash
asked Dec 5 at 22:55
chris loughnane
1085
1085
You have interface, what's the problem? conemu.github.io/en/LaunchNewTab.html
– Maximus
Dec 6 at 6:53
I'm opening up multiple shells with different combinations many times a day so a shortcut opening all the shells I need in one go is great. If that's not what you're referring to please clarify.
– chris loughnane
Dec 6 at 13:21
@Maximus just spotted you're the Author of ConEmu! Thanks a million for an amazing terminal! :)
– chris loughnane
Dec 6 at 15:18
add a comment |
You have interface, what's the problem? conemu.github.io/en/LaunchNewTab.html
– Maximus
Dec 6 at 6:53
I'm opening up multiple shells with different combinations many times a day so a shortcut opening all the shells I need in one go is great. If that's not what you're referring to please clarify.
– chris loughnane
Dec 6 at 13:21
@Maximus just spotted you're the Author of ConEmu! Thanks a million for an amazing terminal! :)
– chris loughnane
Dec 6 at 15:18
You have interface, what's the problem? conemu.github.io/en/LaunchNewTab.html
– Maximus
Dec 6 at 6:53
You have interface, what's the problem? conemu.github.io/en/LaunchNewTab.html
– Maximus
Dec 6 at 6:53
I'm opening up multiple shells with different combinations many times a day so a shortcut opening all the shells I need in one go is great. If that's not what you're referring to please clarify.
– chris loughnane
Dec 6 at 13:21
I'm opening up multiple shells with different combinations many times a day so a shortcut opening all the shells I need in one go is great. If that's not what you're referring to please clarify.
– chris loughnane
Dec 6 at 13:21
@Maximus just spotted you're the Author of ConEmu! Thanks a million for an amazing terminal! :)
– chris loughnane
Dec 6 at 15:18
@Maximus just spotted you're the Author of ConEmu! Thanks a million for an amazing terminal! :)
– chris loughnane
Dec 6 at 15:18
add a comment |
1 Answer
1
active
oldest
votes
So after a lot of messing here's my solution. This ConEmu task will open and split vertically a local bash and ssh remote to a specified dir. I hope it helps someone else.
Windows all the way
> -cur_console:d:C:Workrepos -cur_console:t:"repos Bash" -cur_console:C:"C:Program Files (x86)Gitetcgit.ico" "C:Program FilesGitbinsh.exe" --login -i
-cur_console:ns1T50V -cur_console:d:C:Workrepos -cur_console:t:"m6 address.com":P:"<PowerShell>" -cur_console:C:"C:Program Files (x86)Gitetcgit.ico" ssh ubuntu@address.com -i c:/Work/application-files/key.pem -t "cd node/mynewapp/; bash --login" -cur_console:ns1T50V
In a WSL setup you'll need to make some adjustments:
-cur_console:f -cur_console:d:C:UsersSpider-Man -cur_console:t:"repos Bash" "C:WindowsSystem32bash.exe" -c "cd /home/Spider-Man/repos && bash"
-cur_console:fns1T50V:f -cur_console:d:C:UsersSpider-Man -cur_console:t:"ssh beta server":P:"<PowerShell>" "C:WindowsSystem32bash.exe" -c "ssh ubuntu@address.net -i /home/Spider-Man/repos/keys/address.net -t 'cd node/app/ && bash'"
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1381172%2fis-there-anyway-that-conemu-can-display-local-bash-and-remote-ssh-on-the-same-ta%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
So after a lot of messing here's my solution. This ConEmu task will open and split vertically a local bash and ssh remote to a specified dir. I hope it helps someone else.
Windows all the way
> -cur_console:d:C:Workrepos -cur_console:t:"repos Bash" -cur_console:C:"C:Program Files (x86)Gitetcgit.ico" "C:Program FilesGitbinsh.exe" --login -i
-cur_console:ns1T50V -cur_console:d:C:Workrepos -cur_console:t:"m6 address.com":P:"<PowerShell>" -cur_console:C:"C:Program Files (x86)Gitetcgit.ico" ssh ubuntu@address.com -i c:/Work/application-files/key.pem -t "cd node/mynewapp/; bash --login" -cur_console:ns1T50V
In a WSL setup you'll need to make some adjustments:
-cur_console:f -cur_console:d:C:UsersSpider-Man -cur_console:t:"repos Bash" "C:WindowsSystem32bash.exe" -c "cd /home/Spider-Man/repos && bash"
-cur_console:fns1T50V:f -cur_console:d:C:UsersSpider-Man -cur_console:t:"ssh beta server":P:"<PowerShell>" "C:WindowsSystem32bash.exe" -c "ssh ubuntu@address.net -i /home/Spider-Man/repos/keys/address.net -t 'cd node/app/ && bash'"
add a comment |
So after a lot of messing here's my solution. This ConEmu task will open and split vertically a local bash and ssh remote to a specified dir. I hope it helps someone else.
Windows all the way
> -cur_console:d:C:Workrepos -cur_console:t:"repos Bash" -cur_console:C:"C:Program Files (x86)Gitetcgit.ico" "C:Program FilesGitbinsh.exe" --login -i
-cur_console:ns1T50V -cur_console:d:C:Workrepos -cur_console:t:"m6 address.com":P:"<PowerShell>" -cur_console:C:"C:Program Files (x86)Gitetcgit.ico" ssh ubuntu@address.com -i c:/Work/application-files/key.pem -t "cd node/mynewapp/; bash --login" -cur_console:ns1T50V
In a WSL setup you'll need to make some adjustments:
-cur_console:f -cur_console:d:C:UsersSpider-Man -cur_console:t:"repos Bash" "C:WindowsSystem32bash.exe" -c "cd /home/Spider-Man/repos && bash"
-cur_console:fns1T50V:f -cur_console:d:C:UsersSpider-Man -cur_console:t:"ssh beta server":P:"<PowerShell>" "C:WindowsSystem32bash.exe" -c "ssh ubuntu@address.net -i /home/Spider-Man/repos/keys/address.net -t 'cd node/app/ && bash'"
add a comment |
So after a lot of messing here's my solution. This ConEmu task will open and split vertically a local bash and ssh remote to a specified dir. I hope it helps someone else.
Windows all the way
> -cur_console:d:C:Workrepos -cur_console:t:"repos Bash" -cur_console:C:"C:Program Files (x86)Gitetcgit.ico" "C:Program FilesGitbinsh.exe" --login -i
-cur_console:ns1T50V -cur_console:d:C:Workrepos -cur_console:t:"m6 address.com":P:"<PowerShell>" -cur_console:C:"C:Program Files (x86)Gitetcgit.ico" ssh ubuntu@address.com -i c:/Work/application-files/key.pem -t "cd node/mynewapp/; bash --login" -cur_console:ns1T50V
In a WSL setup you'll need to make some adjustments:
-cur_console:f -cur_console:d:C:UsersSpider-Man -cur_console:t:"repos Bash" "C:WindowsSystem32bash.exe" -c "cd /home/Spider-Man/repos && bash"
-cur_console:fns1T50V:f -cur_console:d:C:UsersSpider-Man -cur_console:t:"ssh beta server":P:"<PowerShell>" "C:WindowsSystem32bash.exe" -c "ssh ubuntu@address.net -i /home/Spider-Man/repos/keys/address.net -t 'cd node/app/ && bash'"
So after a lot of messing here's my solution. This ConEmu task will open and split vertically a local bash and ssh remote to a specified dir. I hope it helps someone else.
Windows all the way
> -cur_console:d:C:Workrepos -cur_console:t:"repos Bash" -cur_console:C:"C:Program Files (x86)Gitetcgit.ico" "C:Program FilesGitbinsh.exe" --login -i
-cur_console:ns1T50V -cur_console:d:C:Workrepos -cur_console:t:"m6 address.com":P:"<PowerShell>" -cur_console:C:"C:Program Files (x86)Gitetcgit.ico" ssh ubuntu@address.com -i c:/Work/application-files/key.pem -t "cd node/mynewapp/; bash --login" -cur_console:ns1T50V
In a WSL setup you'll need to make some adjustments:
-cur_console:f -cur_console:d:C:UsersSpider-Man -cur_console:t:"repos Bash" "C:WindowsSystem32bash.exe" -c "cd /home/Spider-Man/repos && bash"
-cur_console:fns1T50V:f -cur_console:d:C:UsersSpider-Man -cur_console:t:"ssh beta server":P:"<PowerShell>" "C:WindowsSystem32bash.exe" -c "ssh ubuntu@address.net -i /home/Spider-Man/repos/keys/address.net -t 'cd node/app/ && bash'"
edited Dec 6 at 13:24
answered Dec 6 at 0:22
chris loughnane
1085
1085
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1381172%2fis-there-anyway-that-conemu-can-display-local-bash-and-remote-ssh-on-the-same-ta%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You have interface, what's the problem? conemu.github.io/en/LaunchNewTab.html
– Maximus
Dec 6 at 6:53
I'm opening up multiple shells with different combinations many times a day so a shortcut opening all the shells I need in one go is great. If that's not what you're referring to please clarify.
– chris loughnane
Dec 6 at 13:21
@Maximus just spotted you're the Author of ConEmu! Thanks a million for an amazing terminal! :)
– chris loughnane
Dec 6 at 15:18