Software :: SCP Error: Unrecognized Configuration Parameter Permitlocalcommand When Run ANY Type Of Scp Command
Jan 31, 2011
This started happening about 2-3 weeks ago when i noticed our backups weren't running anymore. whenever i try to run ANY type of scp command I get the following error: warning: Unrecognized configuration parameter permitlocalcommand ssh: FATAL: Illegal -o parameter "PermitLocalCommand no" lost connection
I checked the /etc/ssh/ssh_config file and there was a command PermitLocalCommand commented out, but for testing I even totally removed that line and then in scp forced the use of that file via scp -F /etc/ssh/ssh_config ......
and I still get the same error. This command is nowhere is any of my ssh config files so im at a loss here on how im supposed to fix this!! I even checked my home directory for maybe a ssh config file that might be overridding the system config but nothing.
I am having memory problems on my old Compaq PC, and am trying to run memtest86+-4.20 to check it. I downloaded the source file, and tried a compile, but had the following problem:
I am very new to shell scripting.How does one pass a command-line parameter to a shell script?for the below program #/bin/bash mount -t cifs -o user=ramkannan,password=Linux123@ //10.200.1.125/ramkannan /MT cd /MT/test date=`/bin/date "+\%Y-\%m-\%d-\%H-\%M-\%S"` mysqldump -uroot -pram2@ employeedb > $date.sql gzip $date.sql
I want to pass parameter for everything,i tried in google and did but iam getting error while passing parameter to all
#/bin/bash mount -t cifs -o user=$1,password=$2 //10.200.1.125/ramkannan /MT cd /MT/test date=`/bin/date "+\%Y-\%m-\%d-\%H-\%M-\%S"` mysqldump -uroot -pram2@ employeedb > $date.sql gzip $date.sql
i was getting error while passing parameter to all.
I want to use the output of a previous command as a parameter to another command. For example: to know where "nice" is stored i typed: which nice output: /usr/bin/nice now the second command i typed is: ls -l /usr/bin/nice Is there a way to have a single command like: ls -l which nice ?
I was running an update on my computer (running Ubuntu 10.04 Lucid) and something must have been transferred incorrectly as every time I open synaptic, I get an error message that tells me to type a command into the terminal:
Code: sudo dpkg --configure -a After doing that, it displays this:
I installed exim4 package on my debian server as MTA. Now I want to send mail with this by SMTP. But when I connect to this via telnet, it returns this banner:
I have a small board that has a static ram board attached to it. I have two different programs that each write to a byte of memory in the static ram board. I get a file descriptor to the device memory with the following code:
int phymemfd; phymemfd=open("dev/mem, O_RDWR | O_SYNC);
This opens the physical memory for both reading and writing. Next I get a pointer to the beginning of my ram board.
I do this same code in two processes that are both running and this works fine. Now, if I take out the O_SYNC parameter, one of the programs gets into some sort of weird state.My understanding of the O_SYNC parameter is that it cause the process accessing the memory location to block, not allow another process to run, until the first process has finished writing to it.I can see that if my program doesn't block, I wouldn't really know what was in the memory location, but would I can't see how it would cause any other type of system problem.
I have a backup schedule running a full backup everyday. I'm using webmin to manage these backup now. The problem is when the dump command sends a prompt asking if we want to rewrite the tape, Webmin does not display this prompt and we end up having to terminate the backup -> erase the tape(which takes a long time) and then run the backup again.I was wondering if there is a technique that could be used to pass "Yes" as a parameter to the dump command, much like in windows? or if there is a more efficient way of getting this done.
I am following an instruction on the Internet to set up a timer=1. "You can force use of the timer interrupt by using the timer=1 module arameter (or oprofile.timer=1 on the boot command line" When I type "modprobe oprofile timer=1" at the command line, I got a warning message saying that "Deprecated config file /etc/modprobe.conf" So i want to try other way by setting it at the boot command line.
I just loaded octave. I ran through a few examples of how to implement a script file. Everything works until I get to "plot". When I run the "plot" command I get the following.
octave:2> test1.m error: can't perform indexing operations for <unknown type> type sh: gnuplot: not found Just to double check my work, I ran the following code: y=[1 2 3]; plot(y);
I got the following modprobe scripts modprobe -k -q streams what does the -k parameter mean?. is it exist in older modprobe? I don't see -k parameter in recent modprobe.
I've download the gpac files for MP4box from:[URL]..but im having issues compiling it. Its telling me "gcc: error: unrecognized option '--warn-common'"Running 64bit FC 15
I have installed package tigervnc-1.0.0-3.fc12.i686, but when I am trying to start it: service vncserver start it comes back with following message: vncserver: unrecognized service.
i dont know if this is the right section for this but i installed linux after i installed windows server 2003 and some how the grub loader got messed up and wouldnt show, only windows would boot. i fixed the grub loader through my live disc and when i select Other operating systems i get Error 11: Unrecognized device string. here is my fdisk -l.
Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x2c8e2c8d Device Boot Start End Blocks Id System /dev/sda1 * 1 6 48163+ 7 HPFS/NTFS /dev/sda2 7 34329 275699497+ 7 HPFS/NTFS [Code].....
i dont know if this is the right section for this but i installed linux after i installed windows server 2003 and some how the grub loader got messed up and wouldnt show, only windows would boot. i fixed the grub loader through my live disc and when i select Other operating systems i get Error 11: Unrecognized device string. here is my fdisk -l.
Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x2c8e2c8d
Device Boot Start End Blocks Id System /dev/sda1 * 1 6 48163+ 7 HPFS/NTFS /dev/sda2 7 34329 275699497+ 7 HPFS/NTFS /dev/sda3 34330 38227 31310685 83 Linux /dev/sda4 38228 38913 5510295 db CP/M / CTOS / ...
Disk /dev/sdb: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x99b707d2
Device Boot Start End Blocks Id System /dev/sdb1 1 38912 312560608+ 7 HPFS/NTFS
Disk /dev/sdc: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000080
Device Boot Start End Blocks Id System /dev/sdc1 1 6 48163+ de Dell Utility /dev/sdc2 7 38227 307010182+ 7 HPFS/NTFS /dev/sdc3 38228 38913 5510295 db CP/M / CTOS / ...
i downloaded backtrack 4 (final) and booted the iso onto a flash drive using unetbootin. i then changed the boot order so the flash drive was first. after i did that i got into backtrack 4 did the install.sh and now i cant boot windows 7. even after changing the boot order to default, i turn my computer on and get a message that says:
Ubuntu 8.10, kernel 2.6.30.9 Ubuntu 8.10, kernel 2.6.30.9 (recovery mode) Ubuntu 8.10, memtest86+ Other operating systems : Memory Test (on /dev/sda1) Ubuntu 8.10, kernel 2.6.30.9 (on dev/sda1) Ubuntu 8.10, kernel 2.6.30.9 (recover mode) (on dev/sda1) Ubuntu 8.10, memtest86+ (on dev/sda1) [Code]....
i can only boot backtrack 4 OS, i really want to know what can i do to be able to boot my windows 7 home premium os.
I am familiar with bash, but my works require csh. in my .cshrc, I created this alias:alias cd 'cd !:1; ls -l' It works very well except for one case: when I cd without any parameter:
cd In which case, I get the "Bad ! arg selector" error. How do I eliminate this error?
I've just made the switch from Ubuntu to Debian Squeeze and am having trouble connecting external media (be it a USB stick or an ext HD). The error I am getting when I connect anything via usb is the following:
Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
The man page seems to indicate no. There is /etc/rc.d/init.d/halt on Fedora. It has a hard coded pause in it, but there's got to be a better way than to change that script.
I recently installed OpenSUSE 11.2 on computer.This is a clean installation with no customization or manual config,also I didn't install compiz. When I press ALT+F2 run dialog appears,but I can't type into it.how I can fix this problem??
I accidentally type mv command wrong.actually it supposed to be mv SNAP-20101215* dec10/week3_dec10/but i type the below insteadmv SNAP-20101215* dec10/week3_dec2010/Note: there is a folder name "dec10/week3_dec10/"but there is no folder name "dec10/week3_dec2010/"as a result of it, instead of having those files under dec10/week3_dec10 but it merge those files into one file name "week3_dec2010" , is there any way to change it back to orginal files?
on my dual HD5500/GT940M. I can not turn on Nvidia. just install bumblebee and got the error "unknown header type 7f" if I remove bumblebee, Nvidia 340 loaded but system run on HD5500, no way to use Primus or to switch to 2nd card.
SAN admin needs me to change the host port_type from an NLPort to an FPort,is[/sys /class /fc_host/host1/port_type] however i can not find anywhere to change this.the driver in question is Fusion MPT.