Created
January 4, 2018 16:12
-
-
Save renkin/951b89f2357795d3af28a05f304c94e4 to your computer and use it in GitHub Desktop.
KeePass URL Overrides for SSH Scheme using MobaXterm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd://"C:\Program Files (x86)\Mobatek\MobaXterm\MobaXterm.exe" -newtab "ssh {USERNAME}@{URL:RMVSCM}" |
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/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
root@192.168.8.1'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!