Skip to content

Instantly share code, notes, and snippets.

@kyleterry
Created January 27, 2016 18:31
Show Gist options
  • Save kyleterry/600381bcc3d3a2fd03cc to your computer and use it in GitHub Desktop.
Save kyleterry/600381bcc3d3a2fd03cc to your computer and use it in GitHub Desktop.
[ 6947 OK kyle@insomnia:~ ]
$ ssh 10.0.1.1
ssh: connect to host 10.0.1.1 port 22: Connection refused
[ 6948 ERR 255 kyle@insomnia:~ ]
$ nmap 10.0.1.1
Starting Nmap 7.01 ( https://nmap.org ) at 2016-01-27 10:30 PST
Nmap scan report for gateway (10.0.1.1)
Host is up (0.0015s latency).
Not shown: 997 closed ports
PORT STATE SERVICE
53/tcp open domain
81/tcp open hosts2-ns
222/tcp open rsh-spx
Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds
[ 6949 OK kyle@insomnia:~ ]
$ ssh 10.0.1.1 -p 222
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
[ 6950 ERR 130 kyle@insomnia:~ ]
$ ssh [email protected] -p 222
[email protected]'s password:
Last login: Sun Jul 12 00:48:37 2015 from 10.0.1.101
[root@gateway ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment