1819824 Members
3528 Online
109607 Solutions
New Discussion юеВ

ssh monitoring

 
Kevin Meyer_1
New Member

ssh monitoring

I am using ssh to forward data to a standby server for Oracles Dataguard through port forwarding. We seem to have the ssh installed, configured and running correctly. However, it is difficult to determine if the data is actually going through the local port before it is forwarded to the remote server. Is there a means by which we could test whether the port (9025) has data passing through it? This is our ssh command executed.

ssh -f -C -N -L 9025:hal9004:1522 halbak
4 REPLIES 4
RAC_1
Honored Contributor

Re: ssh monitoring

Get lsof tool and monitor the port, it will give details.

lsof -i tcp:9025
Use netstat and check for your port.
There is no substitute to HARDWORK
Sridhar Bhaskarla
Honored Contributor

Re: ssh monitoring

Hi,

You can use 'nettl' and 'netfmt' to trace the ports. With 11i (and patched 11.0) there is 'nettladm' available as an interface ot nettl|netfmt commands.

If you like a more fun to do software, then try 'ethereal'. You can use 'tcpdump' syntax to specify only the destination port and host and capture the information. Make a note of the dependencies. It may be little hard to get ethereal up and running. But once it is done, it's a lot of fun.

http://hpux.cs.utah.edu/hppd/hpux/Gtk/Applications/ethereal-0.9.15/

-Sri





-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: ssh monitoring

This package includes the tool ethereal.

GUI, free it can monitor the port.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: ssh monitoring

This package includes the tool ethereal.

GUI, free it can monitor the port.

This time the link.
Duh
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com