Re: How to transfer files between computers on a network
Well, I think I'm finally getting closer, now that I understand what the actual syntax should look like with real data in it. This is what I tried: $ scp /home/joe/mydata/track2 [EMAIL PROTECTED]:/home/joe/mydata/track2 That seemed to almost work ... except I got this reply: ssh: connect to host 192.168.1.66 port 22: Connection refused lost connection So why would that connection be refused, and how do I fix that? --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
Josef Lowder wrote: Well, I think I'm finally getting closer, now that I understand what the actual syntax should look like with real data in it. This is what I tried: $ scp /home/joe/mydata/track2 [EMAIL PROTECTED]:/home/joe/mydata/track2 That seemed to almost work ... except I got this reply: ssh: connect to host 192.168.1.66 port 22: Connection refused lost connection So why would that connection be refused, and how do I fix that? Either a firewall is blocking port 22, or sshd isn't running on the target machine? -- -Eric 'shubes' --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
And the scp file transfer worked. It did ask for a password, though. Not a big problem, but is there any way to avoid that requirement for an extra manual step? Perhaps put the password in the initial syntax somehow? On Thu, Oct 23, 2008 at 3:15 PM, Josef Lowder [EMAIL PROTECTED] wrote: Thanks, Eric. That solved the sshd issue. So now, I will try scp again. On Thu, Oct 23, 2008 at 3:12 PM, Eric Shubert [EMAIL PROTECTED] wrote: Trial and error. I'd start with making sure sshd is running on the target machine. Usually (depending on distro), # /etc/init.d/sshd status will tell if it's running or not. If it's not running, # /etc/init.d/sshd start should start it up, but only until the next reboot. The method of making it persistent depends on the distro. Josef Lowder wrote: So how do I determine which is the problem and how do I fix or get around that? On 10/23/08, Eric Shubert [EMAIL PROTECTED] wrote: Josef Lowder wrote: Well, I think I'm finally getting closer, now that I understand what the actual syntax should look like with real data in it. This is what I tried: $ scp /home/joe/mydata/track2 [EMAIL PROTECTED]:/home/joe/mydata/track2 That seemed to almost work ... except I got this reply: ssh: connect to host 192.168.1.66 port 22: Connection refused lost connection So why would that connection be refused, and how do I fix that? Either a firewall is blocking port 22, or sshd isn't running on the target machine? -- -Eric 'shubes' -- -Eric 'shubes' --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
There is a -B (batch mode) option that prevents asking for passwords. I'm not sure how that would work though. I expect that the target system's user account would need to have no password in that case, but I'm not sure of that. rsync really isn't much different syntax wise from scp, and it allows for a --password-file option that's handy when using the command in scripts. Josef Lowder wrote: And the scp file transfer worked. It did ask for a password, though. Not a big problem, but is there any way to avoid that requirement for an extra manual step? Perhaps put the password in the initial syntax somehow? On Thu, Oct 23, 2008 at 3:15 PM, Josef Lowder [EMAIL PROTECTED] wrote: Thanks, Eric. That solved the sshd issue. So now, I will try scp again. On Thu, Oct 23, 2008 at 3:12 PM, Eric Shubert [EMAIL PROTECTED] wrote: Trial and error. I'd start with making sure sshd is running on the target machine. Usually (depending on distro), # /etc/init.d/sshd status will tell if it's running or not. If it's not running, # /etc/init.d/sshd start should start it up, but only until the next reboot. The method of making it persistent depends on the distro. Josef Lowder wrote: So how do I determine which is the problem and how do I fix or get around that? On 10/23/08, Eric Shubert [EMAIL PROTECTED] wrote: Josef Lowder wrote: Well, I think I'm finally getting closer, now that I understand what the actual syntax should look like with real data in it. This is what I tried: $ scp /home/joe/mydata/track2 [EMAIL PROTECTED]:/home/joe/mydata/track2 That seemed to almost work ... except I got this reply: ssh: connect to host 192.168.1.66 port 22: Connection refused lost connection So why would that connection be refused, and how do I fix that? Either a firewall is blocking port 22, or sshd isn't running on the target machine? -- -Eric 'shubes' -- -Eric 'shubes' --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- -Eric 'shubes' --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
The way to do scp transfers without a password is to set up SSH key authentication on both boxes. Here's a starting point. Google away for more info: http://www.linuxquestions.org/linux/articles/Jeremys_Magazine_Articles/Using_Keys_with_SSH Micah On Thu, Oct 23, 2008 at 2:05 PM, Eric Shubert [EMAIL PROTECTED] wrote: There is a -B (batch mode) option that prevents asking for passwords. I'm not sure how that would work though. I expect that the target system's user account would need to have no password in that case, but I'm not sure of that. rsync really isn't much different syntax wise from scp, and it allows for a --password-file option that's handy when using the command in scripts. Josef Lowder wrote: And the scp file transfer worked. It did ask for a password, though. Not a big problem, but is there any way to avoid that requirement for an extra manual step? Perhaps put the password in the initial syntax somehow? On Thu, Oct 23, 2008 at 3:15 PM, Josef Lowder [EMAIL PROTECTED] wrote: Thanks, Eric. That solved the sshd issue. So now, I will try scp again. On Thu, Oct 23, 2008 at 3:12 PM, Eric Shubert [EMAIL PROTECTED] wrote: Trial and error. I'd start with making sure sshd is running on the target machine. Usually (depending on distro), # /etc/init.d/sshd status will tell if it's running or not. If it's not running, # /etc/init.d/sshd start should start it up, but only until the next reboot. The method of making it persistent depends on the distro. Josef Lowder wrote: So how do I determine which is the problem and how do I fix or get around that? On 10/23/08, Eric Shubert [EMAIL PROTECTED] wrote: Josef Lowder wrote: Well, I think I'm finally getting closer, now that I understand what the actual syntax should look like with real data in it. This is what I tried: $ scp /home/joe/mydata/track2 [EMAIL PROTECTED]:/home/joe/mydata/track2 That seemed to almost work ... except I got this reply: ssh: connect to host 192.168.1.66 port 22: Connection refused lost connection So why would that connection be refused, and how do I fix that? Either a firewall is blocking port 22, or sshd isn't running on the target machine? -- -Eric 'shubes' -- -Eric 'shubes' --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- -Eric 'shubes' --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
Josef, You have left out quite a bit of information. I have only seen one close answer so far, IMO. Firstly What is the network type? Home, Business? Second Critical info or non-critical? Third Operating system/s involved Fourth Amount of time sharing will be needed? Fifth Type of equipment? So far we only know you want to transfer over wireless to 2 pc's and to a wired number of pc's. Without knowing if you are using a true HUB, router or switch, this is difficult to answer. With many assuming it is a Linux environment, scp is ok, but there are simpler methods. If this is an office/home environment and it has mixed OS's there are still better solutions. What type of file sharing are we looking at? Do you need to do all day everyday transfers or just copy small files periodically? Are you working in a strictly peer to peer environment or a server (Domain) type of environment? Application sharing (such as with Point in Real Estate) or someother Database app? All of these and more need to answered for a good accurate solution.! Simply put, SCP may not be the best answer. Also you have not said what type of internet access there will be. If none, ten everything changes. Please provide specifics.. Trust me, the more info you provide, the better the answers you will receive. Michael Sammartano Josef Lowder [EMAIL PROTECTED] wrote: I have two computers connected via an ethernet hub and two more connected by wireless. What is the best way to copy or transfer files between them? --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- Please visit http://www.iconnetworksolutions.com --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
Linux: Open up a terminal and type: ip addr show and choose the adapter that connects to the network you want. If that doesn't work: ifconfig -a windoze: Open up a command prompt ant type: ipconfig use scp as: scp /file/to/copy [EMAIL PROTECTED]:/copy/file/to It's easy, even I can do it... :) Enrique Josef Lowder writes: How do I get the 'ip' numbers for each computer from which and to which I want to transfer a file using 'scp'? i.e. scp filename.jpg nnn.nnn.n.nn On 10/22/08, Josef Lowder [EMAIL PROTECTED] wrote: (1) scp *.jpg 192.168.1.12: (2) sftp (if you have ssh running) then [EMAIL PROTECTED] (3) From KDE Konqueror, in the location bar type: fish://ipaddress/location/or/folder --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
On 10/22/08, enrique [EMAIL PROTECTED] wrote: Linux: Open up a terminal and type: ip addr show and choose the adapter that connects to the network you want. use scp as: scp /file/to/copy [EMAIL PROTECTED]:/copy/file/to It's easy, even I can do it. Thanks Enrique ... but the problem is ... you are brilliant and I guess I just don't have all the wires connected. I did find that I have to use /sbin/ip addr show since 'ip' was not found. But below are the results I got from my two linux boxes, and I can't figure out which of all these different number sets is the 'ip' number for each machine. == from machine A $ /sbin/ip addr show 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:11:2f:06:65:08 brd ff:ff:ff:ff:ff:ff inet 192.168.1.64/24 brd 192.168.1.255 scope global eth0 == from machine B $ /sbin/ip addr show 1: lo: LOOPBACK,UP,1 mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: BROADCAST,MULTICAST,UP,1 mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:14:85:1e:5f:5e brd ff:ff:ff:ff:ff:ff inet 192.168.1.66/24 brd 192.168.1.255 scope global eth0 Furthermore, from your excellent example (thank you very much), scp /file/to/copy [EMAIL PROTECTED]:/copy/file/to I still do not understand how to put which numbers where, and how the actual syntax should look. Is it like this: scp /filenameA.txt/to/copy [EMAIL PROTECTED]:/copy/filenameB.txt/to How would scp know in what directory or folder to put the file to be copied? --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
inet 192.168.1.66/24 brd 192.168.1.255 scope global eth0 Yes, it's the first number after inet. inet 192.168.1.64/24 brd 192.168.1.255 scope global eth0 again, first after inet. What I personally would do, though it's a bit of a pain to set up, is if your router supports DHCP reservations (dlink G router does here) you can give each compy a 'static' dhcp address. After you have them all rounded up you can add entries to /etc/hosts 192.168.1.66 bedroom 192.168.1.64 kitchen and such, till you're done on all the boxen then do /etc/init.d/networking restart and now you can refer to your targets as 'kitchen' or 'bedroom' or whatnot. scp *.jpg [EMAIL PROTECTED] Note that if the username you are logged into on the source computer is the same as your target's username it can be safely dropped, and it's implied. -- Thanks and best regards, Ryan Rix TamsPalm - The PalmOS Blog My heart is human, my blood is boiling, my brain: IBM On Wed October 22 2008 03:23:09 pm Josef Lowder wrote: On 10/22/08, enrique [EMAIL PROTECTED] wrote: Linux: Open up a terminal and type: ip addr show and choose the adapter that connects to the network you want. use scp as: scp /file/to/copy [EMAIL PROTECTED]:/copy/file/to It's easy, even I can do it. Thanks Enrique ... but the problem is ... you are brilliant and I guess I just don't have all the wires connected. I did find that I have to use /sbin/ip addr show since 'ip' was not found. But below are the results I got from my two linux boxes, and I can't figure out which of all these different number sets is the 'ip' number for each machine. == from machine A $ /sbin/ip addr show 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:11:2f:06:65:08 brd ff:ff:ff:ff:ff:ff inet 192.168.1.64/24 brd 192.168.1.255 scope global eth0 == from machine B $ /sbin/ip addr show 1: lo: LOOPBACK,UP,1 mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: BROADCAST,MULTICAST,UP,1 mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:14:85:1e:5f:5e brd ff:ff:ff:ff:ff:ff inet 192.168.1.66/24 brd 192.168.1.255 scope global eth0 Furthermore, from your excellent example (thank you very much), scp /file/to/copy [EMAIL PROTECTED]:/copy/file/to I still do not understand how to put which numbers where, and how the actual syntax should look. Is it like this: scp /filenameA.txt/to/copy [EMAIL PROTECTED]:/copy/filenameB.txt/to How would scp know in what directory or folder to put the file to be copied? --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss signature.asc Description: This is a digitally signed message part. --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
Hi, Eekers, thanks for the catch :) /me is used to writing to actual dir's after so just assumed it would right to ~ in that case. -- Thanks and best regards, Ryan Rix TamsPalm - The PalmOS Blog I don't want to touch you too much baby, 'cause making love to you might drive me crazy On Wed October 22 2008 04:16:47 pm [EMAIL PROTECTED] wrote: This is true but, Just a note: scp *.jpg [EMAIL PROTECTED] Will copy all the files ending in .jpg to a directory named [EMAIL PROTECTED] in THIS machine, if it exists, or it will abort with an error. If you want to remote-copy, it has to have a colon : scp *.jpg [EMAIL PROTECTED]: or scp *.jpg [EMAIL PROTECTED]:~ ET PS: been bitten with that one before... Ryan Rix writes: inet 192.168.1.66/24 brd 192.168.1.255 scope global eth0 Yes, it's the first number after inet. inet 192.168.1.64/24 brd 192.168.1.255 scope global eth0 again, first after inet. What I personally would do, though it's a bit of a pain to set up, is if your router supports DHCP reservations (dlink G router does here) you can give each compy a 'static' dhcp address. After you have them all rounded up you can add entries to /etc/hosts 192.168.1.66 bedroom 192.168.1.64 kitchen and such, till you're done on all the boxen then do /etc/init.d/networking restart and now you can refer to your targets as 'kitchen' or 'bedroom' or whatnot. scp *.jpg [EMAIL PROTECTED] Note that if the username you are logged into on the source computer is the same as your target's username it can be safely dropped, and it's implied. -- Thanks and best regards, Ryan Rix TamsPalm - The PalmOS Blog My heart is human, my blood is boiling, my brain: IBM On Wed October 22 2008 03:23:09 pm Josef Lowder wrote: On 10/22/08, enrique [EMAIL PROTECTED] wrote: Linux: Open up a terminal and type: ip addr show and choose the adapter that connects to the network you want. use scp as: scp /file/to/copy [EMAIL PROTECTED]:/copy/file/to It's easy, even I can do it. Thanks Enrique ... but the problem is ... you are brilliant and I guess I just don't have all the wires connected. I did find that I have to use /sbin/ip addr show since 'ip' was not found. But below are the results I got from my two linux boxes, and I can't figure out which of all these different number sets is the 'ip' number for each machine. == from machine A $ /sbin/ip addr show 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:11:2f:06:65:08 brd ff:ff:ff:ff:ff:ff inet 192.168.1.64/24 brd 192.168.1.255 scope global eth0 == from machine B $ /sbin/ip addr show 1: lo: LOOPBACK,UP,1 mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: BROADCAST,MULTICAST,UP,1 mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:14:85:1e:5f:5e brd ff:ff:ff:ff:ff:ff inet 192.168.1.66/24 brd 192.168.1.255 scope global eth0 Furthermore, from your excellent example (thank you very much), scp /file/to/copy [EMAIL PROTECTED]:/copy/file/to I still do not understand how to put which numbers where, and how the actual syntax should look. Is it like this: scp /filenameA.txt/to/copy [EMAIL PROTECTED]:/copy/filenameB.txt/to How would scp know in what directory or folder to put the file to be copied? --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss signature.asc Description: This is a digitally signed message part. --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
BTW, another easier way to do the static address thing is to assign addresses outside the DHCP range. There is not a hard and fast rule to know what the range is (unless you look at the router configuration) but if your addresses start with 192.168.0.2-3-4, it is safe to assign 192.168.0.250-251-253 to your computers (unless you plug 253 computers to the router... :) If your address is 192.168.1.100, then find the computer in the network with the lowest address and use addresses below it. Make sure you don't duplicate the IP of the router (wich normally ends on .1). Or follow the manufacturer's instructions, log in the router, find the range (under DHCP configuration) and be safe... :) Enrique Ryan Rix writes: Hi, Eekers, thanks for the catch :) /me is used to writing to actual dir's after so just assumed it would right to ~ in that case. -- Thanks and best regards, Ryan Rix TamsPalm - The PalmOS Blog I don't want to touch you too much baby, 'cause making love to you might drive me crazy On Wed October 22 2008 04:16:47 pm [EMAIL PROTECTED] wrote: This is true but, Just a note: scp *.jpg [EMAIL PROTECTED] Will copy all the files ending in .jpg to a directory named [EMAIL PROTECTED] in THIS machine, if it exists, or it will abort with an error. If you want to remote-copy, it has to have a colon : scp *.jpg [EMAIL PROTECTED]: or scp *.jpg [EMAIL PROTECTED]:~ ET PS: been bitten with that one before... Ryan Rix writes: inet 192.168.1.66/24 brd 192.168.1.255 scope global eth0 Yes, it's the first number after inet. inet 192.168.1.64/24 brd 192.168.1.255 scope global eth0 again, first after inet. What I personally would do, though it's a bit of a pain to set up, is if your router supports DHCP reservations (dlink G router does here) you can give each compy a 'static' dhcp address. After you have them all rounded up you can add entries to /etc/hosts 192.168.1.66 bedroom 192.168.1.64 kitchen and such, till you're done on all the boxen then do /etc/init.d/networking restart and now you can refer to your targets as 'kitchen' or 'bedroom' or whatnot. scp *.jpg [EMAIL PROTECTED] Note that if the username you are logged into on the source computer is the same as your target's username it can be safely dropped, and it's implied. -- Thanks and best regards, Ryan Rix TamsPalm - The PalmOS Blog My heart is human, my blood is boiling, my brain: IBM On Wed October 22 2008 03:23:09 pm Josef Lowder wrote: On 10/22/08, enrique [EMAIL PROTECTED] wrote: Linux: Open up a terminal and type: ip addr show and choose the adapter that connects to the network you want. use scp as: scp /file/to/copy [EMAIL PROTECTED]:/copy/file/to It's easy, even I can do it. Thanks Enrique ... but the problem is ... you are brilliant and I guess I just don't have all the wires connected. I did find that I have to use /sbin/ip addr show since 'ip' was not found. But below are the results I got from my two linux boxes, and I can't figure out which of all these different number sets is the 'ip' number for each machine. == from machine A $ /sbin/ip addr show 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:11:2f:06:65:08 brd ff:ff:ff:ff:ff:ff inet 192.168.1.64/24 brd 192.168.1.255 scope global eth0 == from machine B $ /sbin/ip addr show 1: lo: LOOPBACK,UP,1 mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: BROADCAST,MULTICAST,UP,1 mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:14:85:1e:5f:5e brd ff:ff:ff:ff:ff:ff inet 192.168.1.66/24 brd 192.168.1.255 scope global eth0 Furthermore, from your excellent example (thank you very much), scp /file/to/copy [EMAIL PROTECTED]:/copy/file/to I still do not understand how to put which numbers where, and how the actual syntax should look. Is it like this: scp /filenameA.txt/to/copy [EMAIL PROTECTED]:/copy/filenameB.txt/to How would scp know in what directory or folder to put the file to be copied? --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list -
How to transfer files between computers on a network
I have two computers connected via an ethernet hub and two more connected by wireless. What is the best way to copy or transfer files between them? --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
scp is certainly easy to use. rsync is much more efficient in a scenario where you're trying to keep a backup copy in sync. After the first copy, which isn't much different from scp performance wise, rsync only copies files that have changed. With either program, ownerships and permissions can get screwed up if you're not careful to use the proper flags. -a for 'archive' is usually a good choice for rsync, -p to preserve permissions and dates for scp. See the man page(s) for the full gamut. Ryan Rix wrote: Hi Josef, I think that scp is the best by far... first install an sshd. Under Debian and its equivalents, use #aptitude install openssh-server on all boxes that you want to do the filestransferring. any windows boxes install WinSCP. then type scp /source/file [EMAIL PROTECTED]:/directory/to/send and type in the remote box'es password for that user. ~Ryan -- Thanks and best regards, Ryan Rix TamsPalm - The PalmOS Blog I begin to wonder if randomized sigs really accomplish anything. On Tue October 21 2008 06:22:58 pm Josef Lowder wrote: I have two computers connected via an ethernet hub and two more connected by wireless. What is the best way to copy or transfer files between them? --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- -Eric 'shubes' --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
I will think outside the box and say, thumb drive? On Tue, Oct 21, 2008 at 6:36 PM, Eric Shubert [EMAIL PROTECTED] wrote: scp is certainly easy to use. rsync is much more efficient in a scenario where you're trying to keep a backup copy in sync. After the first copy, which isn't much different from scp performance wise, rsync only copies files that have changed. With either program, ownerships and permissions can get screwed up if you're not careful to use the proper flags. -a for 'archive' is usually a good choice for rsync, -p to preserve permissions and dates for scp. See the man page(s) for the full gamut. Ryan Rix wrote: Hi Josef, I think that scp is the best by far... first install an sshd. Under Debian and its equivalents, use #aptitude install openssh-server on all boxes that you want to do the filestransferring. any windows boxes install WinSCP. then type scp /source/file [EMAIL PROTECTED]:/directory/to/send and type in the remote box'es password for that user. ~Ryan -- Thanks and best regards, Ryan Rix TamsPalm - The PalmOS Blog I begin to wonder if randomized sigs really accomplish anything. On Tue October 21 2008 06:22:58 pm Josef Lowder wrote: I have two computers connected via an ethernet hub and two more connected by wireless. What is the best way to copy or transfer files between them? --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- -Eric 'shubes' --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
Re: How to transfer files between computers on a network
Josef Lowder wrote: I have two computers connected via an ethernet hub and two more connected by wireless. What is the best way to copy or transfer files between them? I assume we are talking about Linux systems? The answers may vary if there there are Windows systems in the mix. My rule of thumb is roughly this: For one file, one time, I use 'scp' For lots of files, I use 'rsync' For one file, multiple times, I use 'rsync' For multiple arbitrary files (pick-and-choose), I use the 'fish://' protocol in Konqueror. I also use 'fish://' if I want to preview the files before transferring them. More? For copying to Windows boxes, I copy the files onto a Samba share. Or I use 'rsync' via Cygwin For copying to OS X, I either use Samba (already set up for my Windows systems) or AppleShare (via netatalk). Or rsync or scp or fish:// For making a perfect copy to a remote system, I tar it up and send to stdout which is piped to ssh which tunnels it to tar accepting data via stdin. (I've also used NFS and iSCSI a bit but that's more sharing files than copying them) signature.asc Description: OpenPGP digital signature --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss