[Ilugc] File sharing between Linux PCs through internet
Logu
logulinux at gmx.net
Thu Feb 28 12:30:40 IST 2008
> Sir,
> I have an Broad Band Connection in Linux PC. One of my friend having
> Internet connection. We wish to exchange files. We try to use 'ssh'. But
> the
> result is negative. Which IP to be used?. I give the available network IP
> list available in my system as below.
>
> eth0 Link encap:Ethernet HWaddr 00:13:D3:F7:A5:47
> inet addr:192.168.1.211 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::213:d3ff:fef7:a547/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:12689 errors:0 dropped:0 overruns:0 frame:0
> TX packets:12883 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:9885120 (9.4 MiB) TX bytes:3585147 (3.4 MiB)
> Interrupt:209
>
> 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:2495 errors:0 dropped:0 overruns:0 frame:0
> TX packets:2495 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:2517467 (2.4 MiB) TX bytes:2517467 (2.4 MiB)
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:59.92.118.44 P-t-P:59.92.112.1 Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
> RX packets:11680 errors:12522 dropped:0 overruns:0 frame:0
> TX packets:11944 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:3
> RX bytes:9515738 (9.0 MiB) TX bytes:3204267 (3.0 MiB)
>
Ask your friend to use the IP on the pppo interface (59.92.118.44 ) to
connect to your machine. Make sure to allow incoming connection to port 22
on iptables. Above all make sure sshd service is running.
Use scp or sftp.
-logu
More information about the ilugc
mailing list