?
Solved

SSH Techtia comamnd line referece to add/remove ports in Network

Posted on 2012-04-04
12
Medium Priority
?
773 Views
Last Modified: 2012-05-15
Hi use SSH Tectia on win2k8. I tried to find a command line reference to add/remove port numbers. I could not find..

Do you know how add/remove a port of SSH tectia from command line
0
Comment
Question by:Murali
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
12 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 37808643
question not clear, please elaborate
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 37809112
Hi,

According to Tectia Client Manual (since tunneling is a client functionalty) the correct syntax for tunneling ports is:
client$ sshg3 -L [protocol/][listen-address:]listen-port:dst-host:dst-port sshserver

Open in new window

where:
• [protocol/] specifies which protocol is to be used in the tunneled connection, it can be ftp or tcp (optional
argument). The default is tcp.
• [listen-address:] defines which interface on the local client will be listened to (optional argument).
By default all interfaces are listened.
• listen-port is the number of the port on the local client, and connections coming to this port will be
tunneled to the server.
• dst-host:dst-port define the destination host address and the port to which the connection is tunneled
from the server.
• sshserver is the IP address or the host name of the Secure Shell server.


Chapter 6 Secure Shell Tunneling.

Here: http://www.ssh.com/index.php/support-overview/product-documentation/cat_view/75-product-documentation/86-tectia-ssh-client/76-tectia-ssh-client-62.html

Cheers,
K.
0
 
LVL 10

Author Comment

by:Murali
ID: 37810288
I've requested that this question be deleted for the following reason:

myself found that SSh Techtia COnfiguration server does not have a callable API to add/remove ports from windwos command line
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 
LVL 10

Author Comment

by:Murali
ID: 37810286
Please do not close this question... got the thing where I have to point you guys....

Ok... I got the manual ...

http://www.ssh.com/index.php/support-overview/product-documentation/doc_download/31-tectia-ssh-server-61-administrator-manual.html

In the above manual look at topic 4.2.6 (Page No 109)... here the tectia allows to add port no you can be listen..

Now can you help me in understanding.. how to add and remove ports from comamnd line??
0
 
LVL 10

Author Comment

by:Murali
ID: 37810289
Do not close.. appologies
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 37847793
you cannot "remove ports" (whatever this means), you just can configure ssh to use tunneling local and/or remote ports

   ssh -L 4242:localhost:4242
0
 
LVL 10

Author Comment

by:Murali
ID: 37849958
Guys, look at the link I had provided... In the SSH Tecita Server console, there is option called Network.. Under this you can click on add, provide Listner Name and port and etc for adding a port... you can select exisitng listner and click on remove to remove a port...

The above is in GUI.. How can I do the samething in command line??
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 37849987
to start sshd to listen on a specific port, use:

   sshd -p 4242

or if you want more than one port:

  sshd -p 42 -p 43

this is the default (open)ssh behaviour, don't know if this applies to your specific brand too
i.g. you cannot "remove" a port, you need to stop sshd and start it again without the "removed" port
0
 
LVL 10

Author Comment

by:Murali
ID: 37850102
sshd not working in tectia
0
 
LVL 10

Accepted Solution

by:
Murali earned 0 total points
ID: 37881423
did not received a relative answer
0
 
LVL 10

Author Closing Comment

by:Murali
ID: 37969177
Did not find a accurate answer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question