Forum Discussion
local port number on LTM for system configuratin backup (.UCS)
Hello All, Hope you are all good. What would be the port number on LTM used by a client to establish a session for running a script to take backup of LTM.
For example a script runs in client want to communicate with LTM for executing the commnad save /sys ucs /var/local/ucs/ and on which TCP/udp port number it talks to LTM?
Regards, Thiyagarajan
3 Replies
- amolari
Cirrostratus
a bash script with tmsh commands you mean? In this case you connect with ssh (tcp/22)
- Thiyagu_163984
Nimbostratus
Thanks a lot for your reply. Yeah it should be port number 22. I'm trying to find out a command to get the client IP address which is connected to LTM using SSH.
Might be some options with Netstat and I could not get the correct parameter.
Thanks a in advance for your help.
Regards, Thiyagarajan
- arpydays
Nimbostratus
from your remote session you can run
who am i | awk '{print $5}'or you can see current ssh sessions from netstat using
netstat -tn | grep :22for a log of sessions try
grep -i tty=ssh /var/log/auditcheers
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com