Page 1 of 1

Auto login

Posted: Wed Aug 08, 2007 12:47 am
by Edoras
I need to execute some script on RouterOS automaticly remotely from another computer (Linux). Problem is, I'm not able to connect there automaticly, without any username and password prompt.
When I need to do that from linux to another linux machine, I'm using privat and public keys for ssh logging. Then I can login without any login prompt. But I didn't find this posibility in Mikrotik.
So, is any way how to login to Mikrotik automaticly from another machine without login prompt, to execute some commands there remotely?
Thanks, Jirka

Re: Auto login

Posted: Wed Aug 08, 2007 6:03 am
by valens
What type of remote login?
You can use simple script to login (using username and password) through telnet,
or if you want more advance, you can use API.

Re: Auto login

Posted: Wed Aug 08, 2007 9:53 am
by Edoras
I'd prefer SSH login, but telnet login will help me too.
I tried to make telnet account without password, just limited to source IP, but everytime it asked me for password (everytime I must to click Enter).
How to make script for login without any prompts? (from linux)

Re: Auto login

Posted: Wed Aug 08, 2007 1:37 pm
by janisk

Re: Auto login

Posted: Wed Aug 08, 2007 8:49 pm
by Edoras
EXACTLY!!! :-) That's it!
Thanks janisk!