Networking :: Scp - Two Computers - Can Only Transfer Files One Way?
Feb 13, 2009
I currently have two computers (one windows one linux) connected to each other via a crossover ethernet cable. Now, each computer can see each other and I can ping both ways. Also, I can ssh into the linux box from windows (putty, cygwin) as well as ssh into my windows machine from the linux box. Here's the problem: I can send files from my linux machine to my windows machine with no problems doing this:
scp this_file.txt windows_user@10.10.10.11:/cygdrive/c
however, I can't seem to send from windows (cygwin) to the linux machine. Here is what I see at cygwin x-term prompt:
$ scp that_file.txt jqweezy@10.10.10.10:/home/jqweezy
jqweezy@10.10.10.10's password:
Executing /etc/profile ...
Now, it seems like everything went fine. However when I look in /home/jqweezy that_file.txt is not there.
p.s. Don't know if this helps, but here is some extra info. Linux machine has only one NIC. Windows has two NICs, one NIC is setup for automatic network detection the other is setup for communication with linux machine via crossover cable (see above).
View 2 Replies
ADVERTISEMENT
Aug 22, 2011
I want to transfer files (a music folder) between two Linux computers. After searching for the best way to do this, I've seen that there are lots of ways of doing this. I know this has been asked a lot, everywhere and all the time. The main problem with this is that there is no clear, recent consensus on one best way to do this task in 2011 for Linux beginners (even depending on some parameters).
So in the spirit of the Stack Exchange websites, I want this not to be related to my particular situation, but more of a guide to others as well on how to transfer files between two Linux computers over a local network. I think a wiki would be useful for many.
Here's what I found so far:
ssh
sshfs
scp
sftp
nfs
samba
giver
What is the easiest? Most flexible? Simplest? Best solution? What are the pros and cons of each? Are there other (better) options? What are the parameters in choosing the best method (solution might depend on number of files, filesize, easiness vs. flexibility, )?
View 6 Replies
View Related
Nov 1, 2010
I have a Windows 7 Desktop and an Ubuntu Laptop connected with a KVM switch. I use the setup for software development, so I am constantly switching between the two, so I need a way to quickly transfer files between the two. I'm not sure if this is possible, but if I could connect them in a way where the OS of each mounts the hard drive of the other. Is there a way I could do this?
View 3 Replies
View Related
Apr 28, 2011
I have two computers: one is connected with router by wi-fi and another is connected with router by lan. How I can optimal organize connection between two computers with Ubuntu 10.04 for transfer files? What Do I do? Can I share some folders,
View 3 Replies
View Related
Jun 4, 2011
Should I be able to transfer files between computers wired to the same router? Is the router bridging function used to transfer data between wired computers? I just got DSL and I'm new to networking. I have openSuse 11.4 on two computers plugged into a Belkin router. The internet connection to my ISP works from either computer. If I ping $HOSTNAME from either computer, the hostnames are different, but the IP address is the same which is that of my ISP. I only have the one router, but it has a bridging option. I don't know if it can do both bridging and routing simultaneously.
View 9 Replies
View Related
Nov 17, 2010
In my laptop with debian-lenny OS I have a number of ripped dvd movies some of which are about 2.5GB. I have transferred those with less than 2GB (that is the size of my usb-flashdrives) to my netbook (with opensuse-11.3 OS) with the help of usb-flashdrives. Is there any method of tranferring the larger files by connecting the two machines by ethernet cables with usb ports and using some software packages?
View 7 Replies
View Related
Jan 2, 2011
i have 20 pc's in LAN, recently i installed ubuntu server on 2 pc's. i am in need to transfer files between these 2(ubuntu) pc's. i tried sftp but i failed to workout.
View 9 Replies
View Related
Nov 20, 2010
I am having a heck of a time trying to find directions on networking my two computers together in order to share files. I have two machines running Ubuntu 10.10 Desktop & Netbook remix.
They are both connected to my wireless router to connect to the internet.
View 9 Replies
View Related
Aug 14, 2010
Right, I would like to be able to share files with another member of my family over our home wireless network. I have ran the command avahi-browse -a but it on returns my computer.
View 1 Replies
View Related
Mar 11, 2010
I got my somewhat older desktop running ubuntu 9.10 and I'm loving it so far. However a while ago while I was slightly intoxicated I boasted to my roommates that sharing files with this thing should be super easy, since it's linux and all that. Since then I've been trying to set up the desktop as a streaming media server, with no success. I found a pretty good guide on how to get Samba up and running on instructables. My laptop is part of a school domain. Since many of my roommates go to the same university, theirs are also part of that domain.
For those of you who aren't too familiar with Windows (anymore), your computer can either be part of a workgroup or a domain. A workgroup is intended for home networks and makes it easier to share files, which is what I'm trying to do, and what the guide calls for. I've illustrated the problem in the attached image. As you can see both computers connect to the same router. I don't think I really have to explain, but I just figured I should try to be as clear as possible.
My question to you is: is there any way that I can set up the ubuntu desktop, or samba, so that it can share files over the wireless network at home with the computers that run windows and are part of the school domain? I'm guessing I should somehow be able to access the desktop from another computer on the same network if I give it proper access. I just have no idea how to do it or where to look, since almost everything I encounter calls for putting the windows machine in a home workgroup.
View 9 Replies
View Related
Feb 13, 2011
I need to transfer some a large amount of file from my Linux lap-top to my desktop Windows machine. Can I connect the two computers through a simple crossover cable and simply navigate into the Windows machine and move to files manually or if not, what's the best way to do this? I don't want to burn a bunch of disks.
View 2 Replies
View Related
Oct 24, 2010
I now have 3 desktop computers hard wired into my wireless router and another desktop plus 2 laptops connecting wireless. All are running Ubuntu 10.4 or 10.10. I have not had the chance to get them all upgraded yet. What is the easiest way to get these computers connected so that they can share files? Do I have to set up a server or is there a simpler way? I just want to be able to copy a file from one computer to another.
View 9 Replies
View Related
Jul 21, 2010
I want to transfer files through ftp on my fedora 13 system. when I type ftp in terminal, it shows an error message "command not found" why?
View 6 Replies
View Related
Jul 8, 2010
When I try to copy a file from a shared folder of other laptop, the whole of data passes through the router.This affects the internet bandwidth within the network. Is there a way to access the shared files without necessarily going through the router and also without affecting the internet connectivity.
View 1 Replies
View Related
Jun 17, 2011
I am using remote boot via PXE boot to an a remote machine. So okay, but when I load the files via NFS, I can not transfer the / lib to my station. I recompiled the kernel, which already influence all NFS packages built in this set as Obrigadao.
View 1 Replies
View Related
Dec 17, 2010
I would like to transfer files from my PC to my account at a sftp server, and I don't know how to do it.
My PC is running with:
User: User1
Address: 10.0.2.3
My sftp account is:
User: SFTPUser1
Address: sftp-server
I can access the sftp server with the command:
Code:
sftp SFTPUser1@sftp-server
The sftp server doesn't answer to ssh requests.
How can I transfer files to the sftp server?
View 7 Replies
View Related
Apr 11, 2009
I have two CentOS 5 servers that I'm trying to transfer files between. They're on the same LAN switch, same subnet and everything. So far, everything I've attempted has failed, but scp still exits with a return code of 0. It only displays a line of *** and exits immediately. It's almost as if the file transfers instantly, but no file actually gets copied. Here is the verbose output from scp:
scp -v kickstart.tar ****@192.168.xxx.xxx:/home/****
Executing: program /usr/bin/ssh host 192.168.xxx.xxx, user ****, command scp -v -t /home/****
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
[code]....
View 4 Replies
View Related
May 22, 2010
Alright so i just wanted to try and get remote desktop connections running so i can access files on the other computers in my house. For my first try i went after my laptop. I'm using rdesktop.
First couple times i tried i typed in
Code:
After about 15 seconds it would pop back with
Code:
I realized that my laptop's firewall was blocking the packets, so i created a custom rule that allows all TCP packets on port 3389. So i fired up rdesktop again. Now it pops back with:
Code:
But instantaneously, not after 15 seconds (not sure if thats significant or not.) I checked my firewall's log and it allowed the tcp packets.
View 6 Replies
View Related
Mar 15, 2009
My main pc is this Fedora 10 pc. I have two other pcs that run different Linux distros from time to time. What is the basic setup to share and transfer files between the 2 or 3 pcs? They are connected through a 2wire modem/router.
Do I need Samba installed? or is that only if to need to network with a Windows pc?
View 14 Replies
View Related
Dec 9, 2009
I have Fedora 12 (with all the latest patches, including the 2.6.31.6-162 kernel) installed on a new Supermicro SYS-5015A-H 1U Server [Intel Atom 330 (1.6GHz) CPU, Intel 945GC NB, Intel ICH7R SB, 2x Realtek RTL8111C-GR Gigabit Ethernet, Onboard GMA950 video]. This all works great until I try to transfer a large file over the network, then the computer hard locks, forcing a power-off reset.
Some info about my setup:
[root@Epsilon ~]# uname -a
Linux Epsilon 2.6.31.6-162.fc12.i686.PAE #1 SMP Fri Dec 4 00:43:59 EST 2009 i686 i686 i386 GNU/Linux
[root@Epsilon ~]# dmesg | grep r8169
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[code]....
I'm pretty sure this is an issue with the r8169 driver (what I'm seeing is somewhat reminiscent of the bug reported here). The computer will operate fine for days as a (low volume) web server, and is reasonably stable transferring small files, but as when as I try to transfer a large file (say during a backup to a NAS or a NFS share), the computer will hard lock (no keyboard, mouse, etc.) at some point into the transfer of the file. It doesn't seem to matter how the file is transferred (sftp, rsync to NFS share, etc.).
View 10 Replies
View Related
Feb 14, 2010
I've been using Ubuntu for about 2 years now, but still have trouble with some of the finer workings of linux. I have a laptop that I use for general computing, and a desktop hooked up to a TV as sort of a remote backup/htpc. A problem I run into is when I transfer files, they get transfered with the owner set as the original computer's account, and I can't do anything until I open a remote viewer and gksudo nautilus to change the permissions of the file. I looked at articles about permissions and uid's, gid's, and umask but can't figure out how to apply it to my situation.
I thought about doing something with groups but am not sure exactly what, and anyway, default group settings only give read access and what I'm really looking for is the ability to manipulate files and folders across the entire /home dir on my desktop from my laptop. Desktop is running 8.04 and laptop is running 9.10. BTW I am currently sharing through smbfs. I read that this has been replaced by cifs, but at the moment I would prefer not the mess with things if I don't need to.
View 3 Replies
View Related
Oct 30, 2010
I'm trying to automate the transfer and processing of files between two systems to help test and compare a new server installation. The workflow is a bit complex but I'm basically modifying a script on server 'A' to push a file to server 'B' as standard input to another script.
[Code]...
But no luck. I've tried it without the port in the server_args parameter, without the '-l' option; I've tried having the server parameter set to 'tcpd' and the call to '/bin/nc' in the server_args too. But no success. Can anyone point out what I'm doing wrong with the config? PS. I've restarted xinetd and server B is listening on port 1112 and accepting connections - but nothing gets piped into the script on server B.
View 2 Replies
View Related
Mar 23, 2011
Here's the system:
1 server running regular Ubuntu, 40km above the surface of the earth on a scientific balloon behind an iridium modem (RUDICS) connected to its serial port
1 server on the ground running Ubuntu server
1 intermediate server used for contacting the iridium system from the ground server
I'm not sure if all the above details are completely necessary but I included them for completeness. I would like to be able to log into the balloon server and transfer files in both directions. The procedure for connecting is to telnet to the intermediate server and then to issue some modem commands to call the balloon. The balloon server is set with getty running on the serial port connected to the modem. The way I have figured out to transfer files is to run kermit on the ground server and connect to the balloon server through the intermediate server, then run kermit on the balloon server, and set it as a file server with the server command.
However, there is some sort of timeout or something, and only a few kB of any file gets transferred before the connection is broken. After that it seems like the ground server is trying to get the file from the intermediate server (which has no useful files on it at all). The file transfer screen stays open and it keeps trying and trying to transfer, until I type ^C. I don't know if there is a way of detecting through a kermit command whether the connection is still open or if there is some sort of switch to make the transfer automatically stop once it has stalled.
I have been reading about No Kermit Server (NKS) protocol, which seems to be designed for a system like this where the connection is across a third server. Is this likely to do a better job of keeping the connection open and the file transfer going? How can it be implemented? Is there any kermit command to determine from the ground server whether the connection is actually still open? Is there any way of telling whether the connection goes all the way to the balloon server or whether it ends at the intermediate server? I actually just learned about kermit today.
On a related note, is it possible to have the balloon server running getty on the serial port but still have the port accessible for reading and writing by, say, a python script (which could use the modem to dial down to the ground when it isn't in use)? It doesn't seem to work but I'm wondering if there is a way. Is there a way to temporarily stop getty, then restart it, or is this potentially hazardous? Keep in mind there will be no way to contact it if something goes wrong since it will be 40km above the earth.
View 6 Replies
View Related
Feb 27, 2009
I'm carrying out a project for my university (CIT in Cork, Ireland) and I'm using CentOS running over WMware. I have a server and a client. The server has no GUI (command line UI) while the client has a UI. I need to install a Simple Forum Machine application and I'm told to FTP the files into the server. I figured out that the best option is to load the files in the client via the GUI and then ftp them in the server. How do I transfer the files from a the client t o the server using FTP? I'm totally new to Linux so the more details the better. Also I'm trying to mount a USB key on the server but have had no luck.
View 2 Replies
View Related
Jun 20, 2010
I want to connect a laptop running ubuntu 10.04 to a laptop running windows 7 via direct connection in order to transfer files like music, documents, pictures, etc. I have an ethernet cable that I thought I would need in order to do it. Is that even possible?? If so, how would I go about doing that?
Now, I have tried to share the files wirelessly but for some reason when I pick up the workgroup on the ubuntu laptop and enter the password in order to connect to the windows laptop it says my password is wrong, when I know for a fact that it is not. I know I can transfer files with a flash drive and what not but I want to try to get this working.
View 1 Replies
View Related
May 5, 2010
I am used to Ubuntus simple sharing with samba. Just install it, reboot and then share the files.Then do I klick on network folder and see all the shared files on the computers in the network.
How do I install it so I only need to go into network folder and see the other computers shared files.Then, how do I share files?
I hope it's not so difficult and that I have to change i config-files.
I am new to Fedora.
View 4 Replies
View Related
Mar 4, 2010
I am working on a cluster for a molecular dynamics class and I have to edit my FORTRAN code (only the newest and best for me!). In order to get through to the cluster I have to ssh in. The network on which the cluster resides is behind a firewall, so I have to ssh through the firewall into the network first.
this is fine, I can login and move files and folders as needed, including sftp-ing into host 1, then into the cluster so I can transfer files from cluster to host and then host to me. This gets rather tiresome, so it would be nice to edit the files in place.
The problem is that when I access my code with emacs it launches the emacs client on Host 1, with no mouse support. I know the purists will howl about how I should be using keyboard shortcuts, but I am a chemist and not a programmer, so the mouse is very nice for me. Is there any way I can perhaps mount the cluster using sshfs so that when I open my code it launches a local instance of emacs? Sorry if this is the wrong forum, but I thought it was network related.
View 3 Replies
View Related
Jul 6, 2010
I had run one script in unix machine and want to copy the results to a windows machineBoth the machines are on different networksIn linux machine trying to do the ftp to the windows machine its giving connection refused. How to chech whether ftp is running on that linux machine or not?Also tried scp and ssh , both are failing
View 6 Replies
View Related
Oct 27, 2010
I'm looking for a program that I can use to sync files between two computers. I have a laptop that travels around with me and I want a simple way of transferring the new/changed files to the desktop computer. I'm looking for something that would be simple and quick (point & click) to transfer/backup:photosKDE PIM (emails, ontacts and calender)documentsmusic etc.
View 9 Replies
View Related
Feb 19, 2010
I can't seem to figure out how to even share files between my laptop and desktop. They are both Ubuntu 9.10. I thought maybe samba was the way but couldn't figure it out. I was looking at the ssh that comes with Ubuntu and been trying to get it to work but don't know what I'm doing wrong. I type: ssh username@computername and it give me a little info. Don't know what I'm suppose to do then. I looked at the network folder on my laptop and it seem to see it but everytime I click on it ask for a password and I can't get in since I don't know the right password. I'm not sure if this is the best software to use or not. Just wanted something to look at and transfer from my desktop to my laptop and vice versa.
View 7 Replies
View Related