General :: Copy Files From Other Server Using Scp Using The Comands SCP Not Working
Jul 5, 2011
We are running RHEL 5.5 .When am trying to copy files from other server using scp .using the comand below
scp -r -q oracle@oracle2:/home/oracle/* .
password :
access control disabled client can connect any host and after this it comes out and doesn't copy any file.
View 4 Replies
ADVERTISEMENT
Jun 14, 2011
I want to run rsync on server A to copy all files from Server B when they are newer than 7 days.(find . -mtime -7) I don't want to delete the files on Server B.
View 2 Replies
View Related
Apr 21, 2010
OS: zLinux, SuSE Linux Enterprise Server 10
I want to copy files from one server to other servers via cron job.
All servers are part of a network.
Here is the copy command I will use:
This script is in our test server.
We need to copy files to other environment via cron job.
View 12 Replies
View Related
Mar 17, 2010
I have ssh access to a red hat computer in my network which has internet connectivity. i have downloaded a particular tarball to that computer using wget. Now how can i copy that file to my system.
View 4 Replies
View Related
Nov 20, 2008
I'm connected remotely with Putty to a linux server and I need to get the files from a directory on the server onto my hard drive on my laptop. I don't know what the secure shell command is to download it or what exactly I need to do so I can get these .root files from the server copied onto my local hard drive.
View 2 Replies
View Related
Jun 2, 2011
I want to write a shell script which will copy files from user Mac machine to UNIX Server without prompting userID and Password. I do not want to use ssh or rcp commands as it prompts for password.
View 5 Replies
View Related
May 20, 2011
I have to copy files from HP unix server to SUSE linux server. I have tried rcp, but it does not work. Can someone help me with the commands or files to be changed inorder to copy the files.
View 3 Replies
View Related
Aug 3, 2010
I have two servers. One of them has a svn server running and another hosting projects.
I have a daily cronjob updating the projects -- ie running svn update, rebuild etc.
Now, my cronjob on the remote server works.
However, a similar cronjob running on the local server for local projects (ie the same server as svn) is instead displaying a "svn: not working copy".
I double checked the paths, permissions and user info and if the script is launched manually, it works fine.
Deploying the same thing remotely works.
I even tried using file:/// (suggested here http://www.hightekhosting.com.au/myaccount/knowledgebase/90/Using-SubversionorSVN-on-cPanel-Servers.html) but still nothing.
View 1 Replies
View Related
Jun 22, 2011
How to move a data files from one Linux server to another in an online Internet environment, automatically daily, using a script?
View 1 Replies
View Related
Aug 19, 2010
My father in law had a problem with his Ubuntu system. After quite some playing around, we discovered that an update had damaged or removed the graphics driver and the system was stuck in non graphics mode. This thread refers: [URL] Rather than spend much more time trying to figure out how to re-install a graphics driver without a graphical user interface, I decided to cut my losses and re-install Ubuntu. Before I did this though, I had some files to recover. So I burned a Live CD and booted from that.
But my problem is that I can't copy all the files from the home directory of the hard drive. I get a permissions error when I try to copy or view the files. I'm assuming that, as the system does not see I'm the original user, that it won't let me access the files. This must be a fairly common problem, does anyone know how I can recover all the files? I just want to use the live CD to provide a working OS to allow me to copy and paste the files onto an external HD. The Live CD is actually the Lubuntu variant, I wanted a real lightweight OS to use on a live CD. I assumed that wouldn't make a difference. Oh, and of course, if there is a real simple solution to my original problem of a broken graphics card driver, I'd be interested in that too.
View 3 Replies
View Related
Jul 6, 2010
Allright, I made a simple script that tarballs my SQL databases weekly and saves them to a backup harddrive.If possible, I would like to have the backups uploaded to a remote server for storage. But, I must have the script delete the previous upload for size contraints.I can only use rsync, scp or sftp. Haven't used any of them really before... Here's my basic tarball-backup script:
Code:
#/bin/sh
# Dates the new tarballs of current builds.
DATE=`date +%m_%d_%Y`
View 8 Replies
View Related
Aug 25, 2009
How can you create a script to move or copy files from a main directory into multiple directories below the main directory.
View 7 Replies
View Related
Jan 31, 2011
i do not know how to assign a good title for my question. I want to copy 2Tb iso files from one server to another. i do not want to check the sha1sum for every files copied. is there any copy utility that will copy and at the same time, verify the integrity of the copied files?
View 1 Replies
View Related
Feb 1, 2011
When i installed ubuntu. I made a seperate partition so that i could copy an ISO image onto it of an up-to-date version of ubuntu. I wanted to then boot the ISO up so i could install the version that way.I've already tried doing it through the update manager but it'll download, almost be done with installing and it freezes on me. so i figured this would be easier. However i do not know how to gain access to the other partition to copy the ISO image.
View 6 Replies
View Related
Jun 8, 2010
I have many files and folders in my source folder. I want to copy some files and folders from that source folder to destination folder. What should be require to given with the "cp" command?
View 1 Replies
View Related
Jan 28, 2010
I have a folder /home/dryaf/Desktop/site and I want to copy its content to the folder ~/www/sitename in the remote server. How to do that ? also does the scp copy also hidden files likes .htaccess?
View 1 Replies
View Related
Aug 11, 2010
I need to copy files from dir1 to dir2 on the linux file system - but I only want to copy those files that were not already copied. This needs to be done in C++. Any suggestions?
View 14 Replies
View Related
Jun 22, 2010
My friend calls me and says he has a problem... Hes got like 48 short cuts put into the apps menu all running command lines in terminal that run short cuts to various programs.. transferring the programs not an issue cause they can all be transferred using APTonCD. but how can you transfer the shortcuts from the menus to another computer he's upgrading w/o typing them all over... Are all these stored in a file somewhere? how might it work?
View 9 Replies
View Related
Jul 28, 2011
1> i have centos5.4 fileserver.
i synchronize my document of windows xp with fileserver through samba server.
while synchronzing ,virus effected file are also get sync in fileserver .
i scheduled copying in crontab also.meanwhile by synchronizing the fresh file get replaced by virus file.this result lost of my data.
is there is any solution to restrict virus file from copying through rsync....
2> is there is any program to compare size of files on samba server
View 1 Replies
View Related
Sep 1, 2010
I have a 160GB harddrive which I installed a F12, would like to upgrade to a bigger drive, but I hate to have to re-install everything.
Recommend a good disk copy utility? The utility should be able to not only copy files, but boot sector and everything. So I just need to make a copy, change my BIOS to boot from the new drive and run everything as before.
View 11 Replies
View Related
Jul 9, 2010
just installed ubuntu couple of days back on my netbook. I am still a beginner, enjoying my adventure exploring ubuntu. I have another desktop which runs on XP. I am able to access XP shared folders through my netbook(linux). However, i wanted to copy files from XP infact folders using TERMINAL in my netbook, not copy and paste using my mouse. Are there any commands for it?
View 1 Replies
View Related
May 24, 2010
I'm trying to copy some files to a dvd. and i was wondering is the tar command the correct command or is there a better way.
View 1 Replies
View Related
Feb 24, 2010
When i try to copy files from my samba server (Ubuntu 9.10) to my windows seven media center, the speed is extremely slow. So slow that is better to download 100mb file from the internet, than from my lan. And on my lan, every card and switch is at 1000 mbps speeds on cat5 cables. And from XP or other linux machine
View 1 Replies
View Related
Aug 24, 2010
I'm trying to copy files to the /var/www folder on Ubuntu 10.04. But I think I don't hava the permission. How can I do this? Maybe I have to set the rights permissions.
View 3 Replies
View Related
Sep 2, 2010
Possible Duplicate: Linux equivalent to robocopy? I have two websites - one is basically a development version and the other is a production version of the same site. So I'd like to be able to merge the changes made to the development site based on the modified date of the files. Is this possible with the 'cp' command?
View 2 Replies
View Related
Jan 19, 2010
At the moment I'm using:"cp -ap . /destination-folder"to copy everything from the folder I'm in to another folder.That works.Is it possible to cp everything except:folder1/folder2/in the current folder I'm in?
View 2 Replies
View Related
May 6, 2011
I have searched for a way to copy file less than X days old and I found this:http://www.howtogeek.com/howto/ubunt...days-on-linux/ The syntax for deleting files less than 7 days old would be like this:find /path/to/files* -mtime -7 -exec rm {} ;I would like to copy the files to mntas, and I'm not sure what the syntax should be.ould this work?find /path/to/files* -mtime -7 -exec cp {} mnt
as ;
View 3 Replies
View Related
Dec 10, 2010
Now I have learned creating partition in linux (ubuntu), well that's an achievement for a newbie. The next thing that I want to know is, how can I copy the contents of a partition to another partition. Like if I want to backup its content to a new partition that Im going to create.
View 11 Replies
View Related
Dec 22, 2009
I have four directories and i want to copy only the files in the directory to a single directory, how can i do it with the cp command.
The directories names are dir1, dir2, dir3 and dir4 and i want only the files from these directories to a single directory called mainDir.
View 3 Replies
View Related
Jun 20, 2011
iam using vmware on windows xp how can i copy files from vmware to pc.
View 8 Replies
View Related