<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://old.andunix.net/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://old.andunix.net/feed.php">
        <title>andunix.net</title>
        <description></description>
        <link>https://old.andunix.net/</link>
        <image rdf:resource="https://old.andunix.net/_media/favicon.ico" />
       <dc:date>2026-06-03T21:37:58+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://old.andunix.net/info/sysadmin/list_open_ports"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/sysadmin/ssh"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://old.andunix.net/_media/favicon.ico">
        <title>andunix.net</title>
        <link>https://old.andunix.net/</link>
        <url>https://old.andunix.net/_media/favicon.ico</url>
    </image>
    <item rdf:about="https://old.andunix.net/info/sysadmin/list_open_ports">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-13T20:11:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>List Open Ports</title>
        <link>https://old.andunix.net/info/sysadmin/list_open_ports</link>
        <description>List Open Ports

To list the open ports together with the listening processes:


netstat -tulpn


Here is an example output:


Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      695/sshd        
tcp6       0      0 :::22                   :::*                    LISTEN      695/sshd        
udp        0      0 0.0.0.0:55872      …</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/sysadmin/ssh">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-30T12:09:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>SSH</title>
        <link>https://old.andunix.net/info/sysadmin/ssh</link>
        <description>SSH

SSH with Public Key Authentication only

/etc/ssh/sshd_config

Make sure that your SSH config file (sshd_config) contains these settings:


PubkeyAuthentication yes
PasswordAuthentication no


If you changed the config, make sure to restart sshd to activate ist:</description>
    </item>
</rdf:RDF>
