Start (multiple) SSH Sessions in MobaXterm from Commandline and optionally run an initial command.
- 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
MobaSSH.exe [IPs ...] [Command]
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
Copy
1.2.3.4
5.6.7.8
9.10.11.12
to Clipboard and run
MobaSSH.exe ping 1.1.1.1