Community discussions

MikroTik App
 
planetcaravan
Member Candidate
Member Candidate
Topic Author
Posts: 267
Joined: Tue Aug 25, 2009 5:33 pm

Telnet on an alternative port

Tue Jun 19, 2012 1:27 am

Hi tehre!

I've stet up SSH and Telnet ports on different ports.
How can I access via winbox to an an alternate ssh or telnet port (example 9091)?

Thanks!
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Telnet on an alternative port

Tue Jun 19, 2012 2:30 am

You need to access the router with winbox via the selected winbox port in /ip service

Or am I misunderstanding?
 
planetcaravan
Member Candidate
Member Candidate
Topic Author
Posts: 267
Joined: Tue Aug 25, 2009 5:33 pm

Re: Telnet on an alternative port

Tue Jun 19, 2012 2:44 am

Yes!
I've configured alternative ports and I want to use them via another winbox session
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Telnet on an alternative port

Tue Jun 19, 2012 2:57 am

For example if you are using winbox port 9900 then in the address box in winbox you would put 1.2.3.4:9900
 
planetcaravan
Member Candidate
Member Candidate
Topic Author
Posts: 267
Joined: Tue Aug 25, 2009 5:33 pm

Re: Telnet on an alternative port

Tue Jun 19, 2012 3:07 am

thanks for your answer.
I will explain it again. It was my fault. Here is what's my situation:
You do not have the required permissions to view the files attached to this post.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26924
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Telnet on an alternative port

Tue Jun 19, 2012 8:52 am

thanks for your answer.
I will explain it again. It was my fault. Here is what's my situation:
Thanks, this is a cosmetic bug. To achieve the same result, open the "new terminal" and type "/system ssh" command. There you will be able to enter the port, and result will be the same (because the Telnet -> SSH window opens Terminal anyway)
 
planetcaravan
Member Candidate
Member Candidate
Topic Author
Posts: 267
Joined: Tue Aug 25, 2009 5:33 pm

Re: Telnet on an alternative port

Tue Jun 19, 2012 4:38 pm

Here is my results:
[admin@rb] > /system ssh 
address: 10.10.10.159:2282
connect failed: Connection timed out

Welcome back!
[admin@rb] > /system ssh 
address: 10.10.10.159:2282

SSH error
interrupted
           while resolving ip6: name does not exist
I can ping the destintation:
HOST                                     SIZE TTL TIME  STATUS                                                                                                               
10.10.10.159                               56  63 103ms
10.10.10.159                               56  63 114ms
10.10.10.159                               56  63 118ms
10.10.10.159                               56  63 102ms
10.10.10.159                               56  63 105ms
    sent=5 received=5 packet-loss=0% min-rtt=102ms avg-rtt=108ms max-rtt=118ms 

I'm using GrooveA-2Hn with RouterOS 5.17
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26924
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Telnet on an alternative port

Wed Jun 20, 2012 9:07 am

what about when you try it this way?
/system ssh address=10.10.10.159 port=2282
 
planetcaravan
Member Candidate
Member Candidate
Topic Author
Posts: 267
Joined: Tue Aug 25, 2009 5:33 pm

Re: Telnet on an alternative port

Thu Jun 21, 2012 5:44 pm

thank you! :)

PS: It's working fine!

Who is online

Users browsing this forum: sindy and 89 guests