$ ssh -L 1234:momonga.local:5901 momonga.local -l hoge |
$ tightvncserver :1 |
$
tightvncserver -kill :1 |
$ xtightvncviewer & |
localhost::1234 |
$ nmap momonga.local Starting Nmap 7.40 ( https://nmap.org ) at 2018-02-12 11:57 JST Nmap scan report for momonga.local (192.168.1.204) Host is up (0.0024s latency). Not shown: 997 filtered ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 443/tcp open https Nmap done: 1 IP address (1 host up) scanned in 16.19 seconds |
$ nmap localhost Starting Nmap 7.40 ( https://nmap.org ) at 2018-02-12 12:10 JST Nmap scan report for localhost (127.0.0.1) Host is up (0.00054s latency). Other addresses for localhost (not scanned): ::1 Not shown: 994 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 139/tcp open netbios-ssn 445/tcp open microsoft-ds 631/tcp open ipp 1234/tcp open hotline Nmap done: 1 IP address (1 host up) scanned in 0.38 seconds |