Solved

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

Posted on 2012-04-04
12
739 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
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
 
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now