Friday, September 10, 2021

telnet and netcat command to test port open or not and SFTP

 Alecx has helped to install netcat on Hylafax server so we can have the tool on other linux servers so if we open a udp port then we can use this netcat command to test the port.



nc -v -u server port

-v --> verbose 

-u --> udp (if we dont pass udp then it will tcp by default)


curl -v telnet://10.147.17.40:29120


tcpdump -Anni ens192 "tcp and port 5080"


sftp ptummala@192.168.143.35 22


No comments:

Post a Comment