The Nodes:
Ubuntu Linux Box
MacBook OS X
The Protocol:
Telnet from the TCP/IP suite
Network Addresses:
Ubuntu on static IP 192.168.1.xx
MacBook on DHCP, currently assigned to 192.168.1.101
Prerequisites:
Available default port of 23
Client must be running Telnet daemon
- Test port 23 on MacBook from Ubuntu Terminal window using nmap:
- Establish telnet connection:
- Success. Logout. End telnet connection.
jason@thecube:/etc/bind$ nmap -p 23 192.168.1.101 Starting Nmap 5.21 ( http://nmap.org ) at 2011-09-08 16:04 EDT Nmap scan report for 192.168.1.101 Host is up (0.084s latency). PORT STATE SERVICE 23/tcp closed telnet Nmap done: 1 IP address (1 host up) scanned in 0.27 seconds
Port is closed because no Telent service is running. Run Telnet service on Mac:
macbook:sudo launchctl load -w /System/Library/LaunchDaemons/telnet.plistScan again:
jason@thecube~$ /etc/bind$ nmap -p 23 192.168.1.101 Starting Nmap 5.21 ( http://nmap.org ) at 2011-09-08 16:15 EDT Nmap scan report for 192.168.1.101 Host is up (0.052s latency). PORT STATE SERVICE 23/tcp open telnet Nmap done: 1 IP address (1 host up) scanned in 0.24 seconds
Prerequisites met.
jason@thecube:~$ telnet 192.168.1.101 Trying 192.168.1.101... Connected to 192.168.1.101. Escape character is '^]'. Darwin/BSD (macbook.local) (ttys001) login:mylogin password: Last login: Wed Jul 27 21:54:24 on console
macbook:sudo launchctl unload -w /System/Library/LaunchDaemons/telnet.plist
No comments:
Post a Comment