I have a Dell machine installed with ubuntu 10.04. I use it in my lab. It has wireless connection right now. I need to access this machine from home. At home I have macintosh.
On my ubuntu machine
Code:ifconfig
There is nothing in hosts.allow and hosts.denykhan@ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:9b:ee:6b:92
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:82 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11439 (11.4 KB) TX bytes:11439 (11.4 KB)
wlan0 Link encap:Ethernet HWaddr 00:21:5d:c9:9a:34
inet addr:141.115.36.122 Bcast:141.115.36.255 Mask:255.255.255.0
inet6 addr: fe80::221:5dff:fec9:9a34/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:86833 errors:0 dropped:0 overruns:0 frame:0
TX packets:54410 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:114705252 (114.7 MB) TX bytes:7241194 (7.2 MB)
Code:khan@ubuntu:~$ cat /etc/hosts.allow
# /etc/hosts.allow: list of hosts that are allowed to access the system.
# See the manual pages hosts_access(5) and hosts_options(5).
#
# Example: ALL: LOCAL @some_netgroup
# ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8) and rpc.mountd(8)
# for further information.
#Code:khan@ubuntu:~$ cat /etc/hosts.deny
On macintosh machine at home, I did ping but did not work. I did ssh, did not work.# /etc/hosts.deny: list of hosts that are _not_ allowed to access the system.
# See the manual pages hosts_access(5) and hosts_options(5).
#
# Example: ALL: some.host.name, .some.domain
# ALL EXCEPT in.fingerd: other.host.name, .other.domain
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8) and rpc.mountd(8)
# for further information.
#
# The PARANOID wildcard matches any host whose name does not match its
# address.
#
# You may wish to enable this to ensure any programs that don't
# validate looked up hostnames still leave understandable logs. In past
# versions of Debian this has been the default.
# ALL: PARANOID
Code:ping 141.115.36.122
PING 141.115.36.122 (141.115.36.122): 56 data bytesWhen I do as bleow:Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7
^Z
Code:ssh khan@141.115.36.122
I get the following messages after awhile:
ssh: connect to host 141.115.36.122 port 22: Operation timed outAll above things, I learned by googling. Even I modified hosts.allow file by going into root permisions on ubuntu machine, as such, ALL:ALL, but did not work. etc.
Any how, I can access lab servers from home by [ssh username@servername]. But now I want to access my personal ubuntu machine placed at lab.
What should I need on Macintosh machine or Ubuntu machine.
Please help me step by step. Its is my first time to connect remotely and i will be much happy to do that.
Thanks in advance!
Bookmarks