General :: Scp Error While Copying Files Between Two Remote Computers

Jul 28, 2010

iam trying to scp files between two remote computers, i get the following error:

Host key verification failed.
lost connection

What i am trying to do is : scp u1@ip1:/source_path u2@op2:/destination_path

I am able to ssh into both machines fine, so i know that works. I tried google for this but couldn't make much of the results.

View 5 Replies


ADVERTISEMENT

General :: Copying Files From Remote Server To Local?

Jan 26, 2011

I have a problem while copying files from a remote computer to my local one using the scp command. I am sure that I am using it correctly, please check it below:
---
blah@blah.com:~/g4work> scp blah2@blah2.com:IndirectMethod_Spher...s/H_1.mac.root .
---
What I get in return (instead of the statement saying 100% of file copied) is:
---
On this machine the G4SYSTEM=Linux-g++
---

The interesting point is that the above returned statement is one of the Environment variables set on both the machines that are necessary to work with a toolkit called Geant4. Here is what I get when I type 'printenv | grep G4' just to show you (note the statement in bold):
---
G4LEVELGAMMADATA=/home/blah/geant4/geant4.9.3.p02/data/PhotonEvaporation2.0
G4INSTALL=/home/blah/geant4/geant4.9.3.p02
G4LEDATA=/home/blah/geant4/geant4.9.3.p02/data/G4EMLOW6.9
G4NEUTRONHPDATA=/home/blah/geant4/geant4.9.3.p02/data/G4NDL3.13
G4VIS_BUILD_OPENGLX_DRIVER=1
G4RADIOACTIVEDATA=/home/blah/geant4/geant4.9.3.p02/data/RadioactiveDecay3.2
G4ABLADATA=/home/blah/geant4/geant4.9.3.p02/data/G4ABLA3.0
G4LIB=/home/blah/geant4/geant4.9.3.p02/lib
G4VIS_BUILD_RAYTRACERX_DRIVER=1
G4LIB_BUILD_SHARED=1
G4VIS_USE_OPENGLX=1
G4UI_USE_TCSH=1
G4VIS_USE_RAYTRACERX=1
G4REALSURFACEDATA=/home/blah/geant4/geant4.9.3.p02/data/RealSurface1.0
G4SYSTEM=Linux-g++
G4WORKDIR=/home/blah/g4work
---
The other thing that I would like to mention is that these Geant4 Env. Variables are loaded each time a new (bash) shell is started as a result of the bash login script.

View 6 Replies View Related

Ubuntu :: Copying Files From Other Computers?

Jul 27, 2011

I had to leave rather suddenly (decision was Germany's, not fiancee's), and now am in the States again, but my files are still there. There are lots of things (mainly photos) on there, that I would like to have here. SOME stuff is on CD/DVD, but there is stuff that isn't.

Is there some way that I could access her computer and just copy files to mine?
(I picture two folders, one on hers, one on mine, and I just dragging an icon from one to the other - but I don't suppose anything's THAT easy...)

Naturally, her computer would have to be on, and I assume she could not be using it herself. Naturally also, I would get her permission first...

I assume that it would take a while, but if it were as simple as the icon thing I described above, then I could just go away and come back later. I assume something would be running to make sure that the destination file and source file were identical before proceeding to the next file.

[Before you suggest: why doesn't she just copy the files to DVD's and mail them to me? She is not all that computer saavy, I'm afraid, and trying to explain it all, including the exact folder names and such, Plus, how to use a DVD/CD burner and software... Plus translate it all into German... If I were rich enough, I could just go there and do what I needed, but that is not in the cards for the present. ]

IS there a way to copy stuff from her computer to mine?

View 2 Replies View Related

General :: Bash - Sync Files Between 2 Remote Computers Using Terminal

Jun 25, 2011

I want to be able to synchronise files between 2 remote computers in both directions. Say for example that I want to synchronize my /home/Documents directory with <username>@example.com:/home/Documents What's the easiest way to update the folders in both directions, so that new/updated files on my home computer get transferred to the remote computer, and new/updated files on the remote computer get transferred to my home computer?

View 2 Replies View Related

Ubuntu Networking :: Remote Desktop Connections - Access Files On The Other Computers In My House

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

Ubuntu Installation :: Installer Encountered Error Copying Files To HD

Jun 2, 2011

I have an Asus eee 1000. Was running Ubuntu 10.04 netbook remix quite happily for some months until recently when I had some problems and decided to reinstall. Unfortunately that is when my real problems began. I have tried using various CD.s with Ubuntu 10.04 desktop and Ubuntu 10.04 Netbook remix.

Both give the same error - The installer encountered an error copying files to the hard disk: [Errno 5] Input/output error

This is often due to a faulty CD/DVD disk or drive, or a faulty hard disk. It may help to clean the CD/DVD, to burn the CD/DVD at a lower speed, to clean the CD/DVD drive lens (cleaning kits are often available from electronics suppliers), to check whether the hard disk is old and in need of replacement, or to move the system to a cooler environment.

I tried using an SD card to install - that also gave errors. I tried installing Windows as much as I hate it and, annoyingly, that installed without any problems whatsoever. Then I tried using the Alternate Install disc. That gave me a different error - did everything and apparently installed a "basic" system but failed to install software. Struggled to find an answer to that. How I can get Ubuntu 10.04 back on my netbook. As it stands at the moment I am rapidly coming to the conclusion that I will have to install Windows or buy a new netbook - this seems preposterous!

I have seen that many people have this error and so it seems like some sort of bug. The only clue I had is that I did succeed in installing Ubuntu on my second 32 GB SD (the netbook has two (an 8 GB and a 32 GB). Unfortunately this SD appears much slower than the first so I erased it and went back to trying to get it on the 8 GB as before. Now it won't install on either - gives the same error. I do not believe that both my SD.s can be faulty and so I can only assume that somehow they both need erasing or formatting or something before I can reinstall.

View 1 Replies View Related

Ubuntu :: Installer Encountered Error Copying Files To Hard Disk

Oct 18, 2010

I have about 170 Gigabyte free at the last of my hard. I have windows 7 and suse linux installed on the machine. When I try to install ubunto. I start to create the partitions manually because I want to add it as a third operating system on my PC. Anyway I create the 4 partitions /boot - / - /var - /home. Automatically it choose to install the boot on sda not sda 9 as the /boot was sda9. I click install.

It gives me this message "The installer encountered an error copying files to the hard disk:
[Errno 5] Input/output error

This is often due to a faulty CD/DVD disk or drive, or a faulty hard disk. It may help to clean the CD/DVD, to burn the CD/DVD at a lower speed, to clean the CD/DVD drive lens (cleaning kits are often available from electronics suppliers), to check whether the hard disk is old and in need of replacement, or to move the system to a cooler environment." I burn another cd and do the same ... the same problem.

I try to create the partitions at the end of the hard disk not the beginning although I am sure that there is no error in the hardware but the same message. Lastly I change the boot to be created in sda 9. The same problem, when I do everything. I download Linux mint another operating system and do the same points. The same error message appeared by the way the boot is being damaged after restarting and I have to fix it from suse linux cd.

View 1 Replies View Related

Ubuntu Installation :: 10.10 - Installer Encountered An Error Copying Files To The Hard Disk

Dec 2, 2010

Each time, different methods, I get this about 3/4 of the way through:

The installer encountered an error copying files to the hard disk:

[Errno 5] Input/output error

This is often due to a faulty CD/DVD disk or drive, or a faulty hard disk. It may help to clean the CD/DVD, to burn the CD/DVD at a lower speed, to clean the CD/DVD drive lens (cleaning kits are often available from electronics suppliers), to check whether the hard disk is old and in need of replacement, or to move the system to a cooler environment.

The only possibility of those is the CD being bad. But I've used it before, recently, and it was fine. I will burn another one from my other computer and try, but it shouldn't be doing this.

Question: If I plan to only use Ubuntu on this computer (no dual boot) should I make the /,swap and /home partitions all Primary or some logical, or does it even matter?

View 6 Replies View Related

General :: Transfer Files Over A LAN Between Two Computers?

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

General :: Copying Files Using Smbclient?

Jun 7, 2010

I have a new network attached storage unit that I'm trying to transfer my data to. On this NAS, it has a very basic linux installed with SSH enabled. Browsing through the programs installed on it, i found smbclient. Am I able to copy files directly from my old NAS to my new one using smbclient?It would sure beat transfering 950GB from my old NAS through a computer then onto my new NAS.

View 1 Replies View Related

General :: Copying Files From Windows?

Jan 3, 2011

How can I copy some files from a windows machine to Linux machine ?

View 13 Replies View Related

General :: Copying Photo Files To CD?

Jan 16, 2010

I am running openSUSE 11.2 KDE 4.3.4 on my ThinkPad R51 laptop.I would like to copy 'File A, File B, File C' (for example) that has photographs of a holiday , to a blank CD inserted into my drive and cannot find a way to 'copy and paste' into the volume.

View 3 Replies View Related

General :: Transfer Files Between Two Computers Connected By KVM

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

General :: Share Files Between 2 Fedora 14 Computers

May 8, 2011

Networking Problem Fedora 14 2.6.35.12-90.fc14.i686. I am trying to share files between 2 Fedora 14 computers , a desktop and a laptop, both located on my local DSL server. The laptop sees its public files and the public files folder on the desktop computer - looks fine. The desktop computer acts differently. Both systems show an entry of "unknown type" in the directory listing, for the public files directory. But whereas a right click on the directory entry on the laptop offers "open" the same operation on the desktop computer offers "open gedit". When I double click the entries on the laptop, entries appear on the main screen. If I double click the entries on the main screen, the directory contents are displayed. But, if I doubleclick the directory entries on the desktop computer 1- I get a black box that says there has been a crash in gvfs-1.6.6-1.fc14 and an error message box tells me Dbus error org.freedesktop.DBus.ERROR.NoReply: Message did not received a reply.

View 1 Replies View Related

General :: Prevent SCP From Copying Local Files?

May 17, 2010

I just read the Linux scp command issue question and it reminded me that I regularily forget to specify the colon in the host part of a scp command, and thus copying a file locally instead of copying to a remote host, e.g. I do
scp foo host
instead of
scp foo host:
But I never use scp to copy a file locally. So I wonder if there is a way to make scp fail if both (the source and destination) arguments refer to local files.

View 1 Replies View Related

General :: Copying Files From Ubuntu To Windows Xp?

May 8, 2011

i am accessing linux through putty and i wrote somany programs in unix using putty and gedit but now i need to copy all files into windows. how to copy directory(linux) to folder(windows) without installing any softwares?If it is necessary to install software to copy files then tell me the process of using that software.

View 5 Replies View Related

General :: Copying Files From Current To New Server?

Oct 9, 2009

I'm trying to copy files from my current server to a new server. Both servers have SSH installed. These are the commands I'm using. However I'm getting connection refused. I did a google search and found out that maybe the reason of this error could be due to the fact that my current server doesn't have SSH. However I use SSH often on my current server so I can say that it has SSH for sure.

OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to IP_OF_CURSERVER [IP_OF_CURSERVER] port 22.
debug1: connect to address IP_OF_CURSERVER port 22: Connection refused
ssh: connect to host IP_OF_CURSERVER port 22: Connection refused

View 4 Replies View Related

General :: Copying Bulk Files From One Server To Another

Sep 30, 2010

I need to copy a large number of files, it comes to 1 lakh from one server to another. When I tried various commands using scp , ftp etc. It is saying "Arg list too long". In which way can we copy all the files. The Two servers are under Linux.

View 4 Replies View Related

General :: Copying Latest 10 Files From One Folder To Another?

Nov 19, 2010

i want to copy the latest 10 files from one holder to another. All the files start with the number 2 and this is what i have so far:

lt -lt 2* | head -10

So i want to copy that output of 10 files to another folder

View 5 Replies View Related

General :: Copying Doc Files From Multiple Directories To One?

Feb 1, 2010

I have 60+ directory's each containing multiple .doc files. I need to move them to a single directory and keep their file name intact. I don't think cp will do that with out listing all the file names. I was thinking of something like: cp -r /dir/*.doc /newdir . Or should I use a combo like find -type *.doc|cp /newdir?

View 5 Replies View Related

General :: Connection Between Two Computers With Ubuntu 10.04 For Transfer Files?

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

General :: How To Share Files Between Two Computers On My Home Network

Oct 2, 2010

Trying to find out how to share files between two computers on my Home Network.Tried VPN but not sure how to configure. I am using Linux Mint 9.

View 3 Replies View Related

Fedora :: Input/output Error When Copying Files To Fedora Live CD?

Dec 21, 2010

I booted my Fedora 13 live CD on my Dell server, and configured networking and SSHd. On my desktop I logged into the live cd and started copying over a big file (1.5 GB) (i.e. copying from the desktop computer to the server). After copying about half the fil, the download fails with an error message about the filesystem being read-only.I've seen this exact same behavior on both i386 and x86_64 of the same live CD, but don't know why it's happening. I've also had the same issue when copying small files. In /var/log/messages these messages are repeated many times:

Code:
Dec 20 12:32:23 localhost kernel: Buffer I/O error on device dm-0, logical block 684075
Dec 20 12:32:23 localhost kernel: lost page write due to I/O error on dm-0

[code]....

View 6 Replies View Related

General :: Copying Large Number Of Files From One Directory To Another

Feb 10, 2010

I've a directory containing around 2.8 lacs of files. I want to move them to another directory.If I use cp or mv then I get an error 'argument list too long'. If I write a script like

for file in ls *; do
cp {source} to {destination}
done

then because of ls command , its performance degrades.How can I do this?

View 7 Replies View Related

General :: Copying Large Number Of Files In Windows?

Mar 15, 2011

I am facing problem in copying a large number of file 18 lakh (18,000,000) files from my personal hardisk to another hardisk each file is very small and size of folder is around 3.95 GB copying files using copy given by Windows is frustrating and I am not even able to compress file its giving me error that its not readable.And problem is I am not able to open this drive in Linux it showing me error there saying do diskchk in Windows and Windows disk check is also not able to repair this drive and goes into some mode unsolvable.Is there any way to open disk with error to open in Windows and if not any way I can copy data faster?ERROR: Disk labled EDU is corrupt go to windows and chkdsk /f there and reboot into window 2 times.

View 3 Replies View Related

General :: Permission Denied While Copying Files With Root

May 8, 2011

How is it possible that I get perm denied when I'm copying files in console.

View 1 Replies View Related

General :: Copying Files To An External Hard Drive?

Nov 21, 2008

I want to copy a .tgz file from my computer to an external hard drive. However, I get the following message:cp: cannot create regular file `/mnt/usbkey/ws_2008/misc/minipar-0.5-W indows.tgz': ermission deniedI get this error with any file I try to copy to the external disk. rnal disk is recognized, when I mount it, I can see the files and folder I have there, but seems that I cannot copy anything to it.When I try to copy the same files from my computer to a usb flash drive, everything works

View 9 Replies View Related

General :: Copying Files From Multiple Locations To One Destination

Feb 21, 2011

Suppose I have a tree structure like this:
/home/mahmood/sim/a/b/file1.cpp
/home/mahmood/sim/a/b/file2.h
/home/mahmood/sim/a/c/file3.txt
/home/mahmood/sim/d/file4.txt

How can I copy all of them to /home/mahmood/sim. So that when I run "ls" in /home/mahmood/sim, I see all files:
file1.cpp
file2.h
file3.txt
file4.txt

Can 'cp' search for all file and copy them in another folder?

View 3 Replies View Related

General :: Copying And Renaming Multiple Files In Working Dir

Apr 8, 2010

How can I copy multiple files, each with a slightly different name from the SOURCE in the same directory?

Example: '/home/junk' contains A.txt, B.txt

I want to copy /home/junk/A.txt to /home/junk/A1.txt and /home/junk/B.txt to /home/junk/B1.txt using a single command.

View 11 Replies View Related

General :: Copying Files According To Modification Date And Extension?

Dec 30, 2010

I am trying to find a command which will copy all the files in the folder with extension ".log" which is created one day before the current date. By going through other threads in this forum I found the half solution to this problem

find /mnt/hd -mtime -1 -exec scp {} /mnt/usb ;

This command copying the all the files created one day before(not only *.log) to the /mnt/usb folder. what is the modification required to above command.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved