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?
 
MuraliAuthor Commented:
did not received a relative answer
0
 
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
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

 
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
 
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 find a accurate answer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.