/MobaSSH

Start (multiple) SSH Sessions in MobaXterm from Commandline and optionally run an initial command.

Primary LanguageAutoItGNU General Public License v3.0GPL-3.0

Build status

MobaSSH

Start (multiple) SSH Sessions in MobaXterm from Commandline and optionally run an initial command.

Prequesits

  • MobaXterm.exe on PATH
  • a .ssh/mobassh.user file containing the username to use for SSH login
  • a .ssh/mobassh.key file containing the private key to use for SSH login

Usage

MobaSSH.exe [IPs ...] [Command]

Commandline Example

Start three SSH Sessions to 1.2.3.4, 5.6.7.8 and 9.10.11.12 and execute ping 1.1.1.1 as initial command

MobaSSH.exe 1.2.3.4 5.6.7.8 9.10.11.12 ping 1.1.1.1

Clipboard Example

Copy

1.2.3.4
5.6.7.8
9.10.11.12

to Clipboard and run

MobaSSH.exe ping 1.1.1.1