I need to create a super simple application that will allow a client to switch their internet connectivity between 3G and ADSL on their router.
I don't want to give them any other access to the router.
What I need is to be able to log in to the router programmatically (with an app I create) and run whatever script I need.
I assume that this can be accomplished using ssh, but I can't figure out how.
Do I HAVE to use key pair? Can't I just login with a user/pass each time? Example?
My app will create a normal socket connection to the mikrotik, what is the correct port for ssh? 22 or 23?
Any assistance appreciated!