Forum Discussion
OhioBuckeye_687
Nimbostratus
Apr 25, 2008SFTP Monitoring
Can an SFTP port be monitored with the full handshake? Right now it looks like our F5 is just completing a port check (similar to a telnet to the port) that is causing an error within the SFTP server...
Hamish
Cirrocumulus
Mar 12, 2010Use an external monitor and perform a
CHECKDATE=`ssh -n @ date`
with a public/private keypair... The -n parameter is in there in case something happens to the public key the server gives back... You need to do this by hand BTW before the automated check will work.
Then just check that the $CHECKDATE environment variable is sane... If it is, then sshd is up & running on the target server...
Changing the command to use NODE_IP and NODE_PORT (And any logging etc you'd like on it) is left as an exercise for the reader. You don't have to do this as a shell script BTW... It could be perl or whatever.
H
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects