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

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
LVL 10
MuraliAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

omarfaridCommented:
question not clear, please elaborate
0
Kerem ERSOYPresidentCommented:
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
MuraliAuthor Commented:
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
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

MuraliAuthor Commented:
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
MuraliAuthor Commented:
Do not close.. appologies
0
ahoffmannCommented:
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
MuraliAuthor Commented:
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
ahoffmannCommented:
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
MuraliAuthor Commented:
sshd not working in tectia
0
MuraliAuthor Commented:
did not received a relative answer
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MuraliAuthor Commented:
Did not find a accurate answer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SSH / Telnet Software

From novice to tech pro — start learning today.