-
-
Save renkin/951b89f2357795d3af28a05f304c94e4 to your computer and use it in GitHub Desktop.
cmd://"C:\Program Files (x86)\Mobatek\MobaXterm\MobaXterm.exe" -newtab "ssh {USERNAME}@{URL:RMVSCM}" |
Version with port number support may look like this:
cmd://"C:\Program Files (x86)\Mobatek\MobaXterm\MobaXterm.exe" -newtab "ssh {USERNAME}@{URL:HOST} -p {T-REPLACE-RX:/{URL:PORT}/-1/22/}"
You could try with sshpass that is included in MobaXterm:
cmd://"C:\Program Files (x86)\Mobatek\MobaXterm\MobaXterm.exe" -newtab "sshpass -p '{PASSWORD}' ssh {USERNAME}@{IP}"
i want to use mobaxterm with keepass i have tried with above setting. whenever i open my url it will open mobaxterm new session tab
Hi everyone!
I'm trying to use keepass for starting a ssh session from KeePass to MobaXterm. But, as some of you have commented I canot enter password automatically.
I use this Override URL structure:
cmd://"c:\program files (x86)\mobatek\mobaxterm\mobaxterm.exe" -newtab "ssh {USER}@{S:IP}" in my entry and I get this:
[email protected]'s password:
How can I enter password automatically?
I've tried some variants of Override URL structure, like
cmd://"c:\program files (x86)\mobatek\mobaxterm\mobaxterm.exe" -newtab "ssh root@{S:IP}" DELAY{100} {DELAY 1000}{PASSWORD}{ENTER}
But it's not possible.
Thank you for reading!
I think I just did it!
I used this structure:
cmd://"c:\program files (x86)\mobatek\mobaxterm\mobaxterm.exe" -newtab "sshpass -p '{PASSWORD}' ssh {USERNAME}@{S:IP}"
I don't really understand the structure, but I could login.
The only thing is that I recieved this message:
X11 forwarding request failed on channel 0
I hope someone can use this.
Thanks!
P.D.
I use information from Paul reading this discussion:
https://sourceforge.net/p/keepass/discussion/329220/thread/d9b7547c22/
my friend for using paasword and every thing like that in password url you should use string filekds in keepass : in keepass entry properties/advanced. then you can use them in url override.for example :