alias ssh='/cygdrive/c/proper/path/ssh.exe'īut note the original /bin/ssh.exe script is there for a reason. The simplest approach seems to redefine the ssh alias in Bash inside MobaXterm to point to ssh.exe used by your command prompt. This ssh will not support addresses like the other way around: always use the other ssh. You can use _ssh.exe though: copy it to another location, rename to ssh.exe adjust PATH in Windows. Note even if you add %MyDocuments%\MobaXterm\slash\bin to your PATH in Windows, you won't be able to use ssh.exe from MobaXterm because it's not an executable Windows would understand. To make both methods behave in the same way, you need to use the same ssh.exe each time. And it's not the only possible cause to disagree, see this question about leading zeros. Your command prompt uses some other ssh.exe.Īn IP address with only two dots is valid, still in practice some tools may disagree. Outside MobaXterm they exist in %MyDocuments%\MobaXterm\slash\bin. These files were installed with MobaXterm. In Bash inside MobaXterm ssh is aliased to /bin/ssh.exe which is a shell script which eventually runs /bin/_ssh.exe.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |