Fedora Servers :: Copying Log Files From Server Using Ssh?
Aug 12, 2010
I have a server with RedHat distro which stores and updates someg files and second computer with Windows 7 on it. I must configure both machines so one can get those files from server to Win7 machine using ssh. But I have no idea how to do it.
View 3 Replies
ADVERTISEMENT
Jul 29, 2009
How to copy a file from different servers to one server. I'm trying to do with some script that will use scp to copy file. But to connect to the server, it is asking for the password. Then I copy ssh rsa keys (lets say from server B to server A), its now copying file without asking me for the password. But the problem is its working only between 2 servers. If I generate rsa keys on other server (server C) and copy to the server (server A) where I need to copy file, it overwrites the existing rsa key file, hence I'm no longer able to ssh from server B.
View 1 Replies
View Related
Nov 18, 2010
We are experiencing problems copying files from a server to server where the machine issuing the copy is a 32-bit lucid and the mount drive is a 64-bit server. I have no other information but the md5's are consistently different after doing a copy. The files are > 8mb.
View 2 Replies
View Related
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
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
Mar 10, 2011
i would like to copy all files from my server001 (/var/www/vhosts/*/httpdocs/) to my server002 (/var/www/virtual/*/htdocs/) i would do it via rsync... but i dont want to do it as root! what would be the right user with which I should login myself via rsync? www-data? its the group of each domain-folder...
Quote:
server002:/var/www/virtual# ls -lh
insgesamt 4,0K
drwxrwx--- 10 vu2001 www-data 4,0K 9. Mär 09:58 domain.com
server002:/var/www/virtual#
but the files inside htdocs are only accessable for the user!
Code:
server002:/var/www/virtual/domain.com/htdocs# ls -lh | grep index.php
-rwxr-xr-x 1 vu2001 vu2001 397 24. Feb 23:30 index.php
server002:/var/www/virtual/domain.com/htdocs#
server002 will be the backup-server if the server001 is down!
View 3 Replies
View Related
May 18, 2009
I am working with DM355 target board. Here we record. The video coming from IP cameras. Now I have to write c program for copying. The recorded avi files with date and time to NAS server using scp. I wrote a script to copy single file to NAS server.
#!/bin/bash
DATE=$(date +%Y%m%d_%H_%M_%S)
mv Camera1.avi Camera1_$DATE.avi
scp Camera1_$DATE.avi root@192.168.1.4:/root/test/
mv Camera1_$DATE.avi Camera1.av
But I have to write c program for copying multiple avi files with Date and Time to NAS server.
View 5 Replies
View Related
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
Aug 29, 2010
I want to use find and scp to copy files. Is there a way to copy files that have spaces in their names? I know you can add " tags for a single file but can find do that? This is the command that i use:
scp $(find -iname "*.avi") destination
View 12 Replies
View Related
Oct 30, 2010
I was told fedora is great operating system but all i run is into trouble, hours spend on searching for solutions and never get an easy answer as it is on Leopard or even windows 7.What's my problem. I installed a new dvd copy of fedora13, and now connected 2 USB hard drives that seem to connect fine, can access everything but if i try to copy files to one of the drives it says i don't have permissions, and the fields to change permissions access are blank.
View 1 Replies
View Related
Sep 9, 2011
My Source folder contains 424.8 GB in 502,474 files. My Destination folder was created fresh, and after the copy contains 394.0 GB in 486.514 files. I am running it as grsync with root authority. The only options are to preserve time, permissions, owner and group., and to produce a verose output and transfer progress. There are no exceptions specified to skip any files.
The rsync command is this:
rsync -r -t -p -o -g -v --progress -c -l -H -D -s /mnt/Backups/monthly.3/ /mnt/EX-Fantom/monthly.3/
I have run it again to give it a chance to get it right. Same result. The source is in an rsnapshot folder, but this is the first backup, the original, containing only whole files, not links.
View 3 Replies
View Related
Mar 16, 2010
Why system lags so much while working with a lot of files or with big files (copying them, erasing)? How it can be solved? I am running Fedora 12 x86_64 with ext4 filesystem
View 14 Replies
View Related
Jul 18, 2010
I have a saved a .c file on my department computer and i am able to access it through my computer via SSH. BUT I WANT TO copy and paste it into my system.
View 3 Replies
View Related
Mar 11, 2011
I have installed Windows XP with Virtual Machine Manager. The question is how do I access files on my primary linux system? Also can I mount a NTFS partition in my Virtual Machine
View 14 Replies
View Related
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
Aug 12, 2009
host A: Fedora 7 has bind 9.4.2
host B: Fedora 11 has bind 9.6.1
I want to migrate my bind configuration from A to B I've read the release notes and man pages and I can't see why copying
/etc/named*
and
/var/named/*
I checked /etc/sysconfig/named too... Seems to have no effect on my brand new install on Fedora 11. Host B stays basically un-configured.
View 2 Replies
View Related
Dec 30, 2010
I currently have three hard drives: (2) 150GB IDE drives (windows) and (1) 500GB SATA drive (fedora13). I'm trying to move files on the IDE drives to the SATA drive so that I only need the SATA drive. The SATA drive is running Fedora 13 and the other two were old NTFS drives that I just use for space now. So most of the files copied fine, however, for a handful of them I receive the following error:Error splicing file: Value too large for defined data type This happens when I try to copy files not only from drive to drive, but even from folder to folder on the same drive. I've read about a 2GB file size limit, but none of the files are that size. I have no idea why this is happening.
View 5 Replies
View Related
Jun 8, 2010
First let me preface this with saying that I have been googling, and trolling boards trying to find a solution, tutorials, any thing to help me what I am trying to do, all day (since 8 am, when I started work, till now 3:50 pm) and I have found little to improve my situation.My goal is to setup my desktop (running Fedora core 12) as a server that can be accessed from anywhere. I would like to be able to have streaming music (find a song, or an album, you want to listen to, click and play) from any location, any computer, and I would also like to store files and such that I could also share with whomever I give permission. I have found plenty of tutorials helping with Apache and SSH, so anything along those lines would be nice.
View 14 Replies
View Related
Jan 11, 2010
I just bought a HP 3085dx laptop with an intel 5100 agn wireless card.
The problem: copying a big file over the wireless to a gigabit hardwired to the router computer only gives an average 3.5MB/Second transfer rate. If I do the same copy from my wireless-n macbook pro to the same computer. I get a transfer rate of about 11MB/sec. Why the big difference? I noticed the HP always connects to the 2.4 GHZ band instead of the 5GHZ bands...
On the HPL
[jerry@bigbox ~]$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:246:36:AC4
inet addr:192.168.1.75 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::224:d6ff:fe36:acc4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:639243 errors:0 dropped:0 overruns:0 frame:0
TX packets:1293049 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:53832795 (51.3 MiB) TX bytes:1888619922 (1.7 GiB)
[jerry@bigbox ~]$ iwconfig wlan0
wlan0 IEEE 802.11abgn ESSID:"<censored>"
Mode: Managed Frequency:2.412 GHz
Access Point: 00:24:36:A7:27:A3
Bit Rate=0 kb/s Tx-Power=15 dBm
Retry long limit: 7 RTS thr: off Fragment thr:off
Power Management: off
Link Quality=70/70 Signal level=-8 dBm Noise level=-87 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
I am not getting any errors. I don't know why the bit rate is not known. My airport extreme base station typically reports that the 'rate' for the hp is typically 250~300MBi and about the same for the MacBook Pro. The hp is about 6 inchs away from the base station. Is there anyway to get the rascal to go mo'faster? Is there anyway to get the rascal to use the 5GHZ band.
View 3 Replies
View Related
Aug 3, 2009
I've tried to copy my files from Xamp httdocs in windows to /var/www/html,but I can't paste the file, what should I do so I can paste the files ?I have logged in as a root
View 5 Replies
View Related
Feb 14, 2010
I've discovered that Dolphin seems to lose random files when copying many large folders.
I first noticed this a few months ago when I tried to copy my music library from one folder to another on the same HDD. It consisted of around 600 folders and 6500 files. During the copy there were no errors but after the copy I found that some of the newly copied folders were missing files. I put it down to human error or a glitch.
Yesterday I tried to copy 13 folders containing rips of some of my DVDs. Each folder basically had one film of either 700MB or 1.4GB. Again no errors showed up during the copy but I found 3 of the newly copied folders were empty.
It's not so critical with music or films but I can't afford to lose work data like this.
Has anyone experienced or seen a similar problem with Dolphin? I'm going to have to do some more extensive testing but this is not good.
The first time I noticed the problem I was running KDE4.3.4 (I think) and now the latest was with KDE4.4.0.
View 9 Replies
View Related
May 21, 2010
when I try to copy files from ftp server, at some moment speed falls to 0, i recive message "copy stalled" and my system frozen.I used Opensuse 11.2 (kernel linux 2.6.31). Some people advise me to upgrade the kernel. I upgraded it to linux-2.6.34, but it did not fixe a problem.Copying from ftp is very important for me, i like opensuse, but if i will not fixe this problem, i will must to change the OS.
View 5 Replies
View Related
Jan 19, 2010
I need to copy some files from an OpenBSD 4.5 server to my Ubuntu set up via flash disk tell me what commands to enter on each in order to do this please? I believe OpenBSD is UFS and I'm running 9.10 so Ubuntu is ext4
View 9 Replies
View Related
Apr 6, 2010
I am trying to copy files across a network using terminal. i know this is possible but i can't find a way. but i can paste smb://xxx.xxx.xxx.xxx/myfolder in the address bar in a folder and navigate to the correct area.is there some other way i can do this?
View 8 Replies
View Related
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
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
Jan 8, 2010
While copying a large amount of data between two linux computers I noticed strange behaviour. The network card activity (computer copying the files) would be dormant for 30 second to a minute and then flash rapidly for just 5 second or so. This repeated for the duration of the copying progress (approx 2 hours at a supposedly constant 5-7MB/s).
The share that I was copying to was via SSH using "connect to server" from the GNOME menu. I was expecting the see the network card activity light constantly flash. I wondered if someone could explain this strange behaviour that I have witnessed.
View 5 Replies
View Related
Jan 3, 2011
How can I copy some files from a windows machine to Linux machine ?
View 13 Replies
View Related
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
Apr 19, 2011
i have some files on my server that i can not rename or copy it seems file names are some how strange for linux (centos)the names are like this way :
Spirited.Away.2001.HDRip_-_(Film98-Net).mkv
Up.2009.BRrip_-_(Film98-Net).mkv
How.To.Train.Your.Dragon.2010.720p.Bluray_-_(Film98-Net).mkv
[code]...
View 6 Replies
View Related