General :: How To Locate Offending Ssh Key
Nov 25, 2010
Using a Ubuntu 10.04 desktop...I just rebuilt another computer (Ubuntu 10.04-Server) and when I attempt to ssh to the box I of course have the ssh key from the old install. I get the messageQuote:Add correct host key in /home/ken/.ssh/known_hosts to get rid of this message.Offending key in /home/ken/.ssh/known_hosts:3So how do I determine which key is hosts:3? It is not the third key in the known_hosts file - I deleted that one and got the same error.As I only have 4 other computers on my network I generally just delete all entries from known_hosts when I reinstall the OS on one of the others. It is about time I learn how to do it correctly
View 3 Replies
ADVERTISEMENT
Nov 11, 2010
I am working on perl and I am stuck on tk.pm on fedora 12. It work fine on window 7. here is my code.
#!/usr/bin/perl -w
#
use Tk;
I did search on google and try diff ways, but still get the same result
View 4 Replies
View Related
Oct 14, 2010
Why there are two so similar command in Linux? and normally what are the circumstances to use each of them?
View 2 Replies
View Related
Mar 12, 2009
I am running a version of Fedora 10 on my PC for development puposes. The strange problem I have encountered is that I cannot locate the C compiler being used. I have looked for G++ GCC, etc but cannot find it. Does anyone know the compiler being used or the command to find it through command line.
View 5 Replies
View Related
Feb 22, 2010
I am executing command "yum install perl-CPAN". I got the following error "Can't locate CPAN.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .).". Let me give you some details of the problem.
OS: CentOS release 5.4 (Final)
Architecture: : 32 Bit
Installed Perl Version: This is perl, v5.8.8 built for i386-linux-thread-multi
I've also studies previous posts on this topic which says "yum install perl-CPAN" will fix the problem when I execute this command I got "No package perl-CPAN available".
View 5 Replies
View Related
Jun 7, 2010
We are using linux (Ubuntu ) to host our website and mails. There was a power problem and after restarting our servers, we are unable to access the co. website. When i try to access the mail by typing mail.domain, i am able to access the login page from within the network. Someone out of the network is unable to find the page[URL]
View 4 Replies
View Related
May 2, 2011
I am running Mandriva x64 and the nepoumuk file indexing was causing system hangups (in addition to not returning any results) so i disabled it. However kfind is not returning any results either - i feel a bit stupid and I'm sure there's a simple answer to this but How do i locate files under Mandriva linux? Is there a simple KDE application for that or do i need to look at kfind settings? Does file search only work with indexed database?
View 3 Replies
View Related
May 25, 2011
I am using Fedora on a system i just installed it on, i just got a new HP monitor and hooked it up, now it won't work. I keep getting AN ERROR: unable to locate 10APIC for GSI 6,13,8,12,1......WHEN THE SYSTEM BOOTS UP.
View 1 Replies
View Related
Jan 12, 2010
I had fedora 12 working nicely and tried to add Compiz. That has caused my laptop to hang with the cursor blinking. I can get to the virtual windows with Ctl-Alt-Fx keys. However I am not sure what to fix.I had run Dmesg and it is complaining that it can not locate the Nvidia driver. I believe it mentions Nvidia.ko but will need to verify that.My thought was that if I just did an "upgrade" maybe that wold restore the GUI and I could go forward from that. I am trying to get awaay from the MS world.
View 1 Replies
View Related
May 25, 2010
My goal is to find all pdf files on a remote machine, so I resort to the useful command find. So I type find .pdf or find .pdf" and I get nothing. I do the same on my machine and I get nothing. I do a regular search from the menu on my machine and I find quite a few pdf files. Would somebody please tell me what am I doing wrong?
View 5 Replies
View Related
Jun 18, 2010
I want to print, using locate, all the paths that contain the element /bin/ but only one instance of each one. If I issue 'locate /bin/' then I have many screens of text with, for example,
/usr/bin/foo1
/usr/bin/foo2
/home/me/bin/foo3
whereas I want to see only
/usr/bin/foo1
/home/bin/foo3
That is to say, if in two lines /bin/ appears with the same prefix (in the example above the prefixes would be /usr and /home/me) I only want to print the first line. Can I pipe locate to grep to do this? I've mentioned locate because it does not scan the whole disk.
View 5 Replies
View Related
Jan 12, 2010
Looking for Driver for new install on Netbook. Have never been out of the Windows OS Printer Lexmark Z1420 wireless, inkjet
View 2 Replies
View Related
Apr 7, 2010
there is a file named vmscan.c the location which is given on internet is usr/src/linux/mm/vmscan.c but when i went there , i found only two files ,but there was no vmscan.c so can any one help me to locate the file?
View 1 Replies
View Related
Jun 20, 2010
how to locate device manager in redhat?
View 1 Replies
View Related
Aug 8, 2010
Hy can anyone tell me if and where I can locate a program to update my drivers ?
View 4 Replies
View Related
Nov 16, 2010
As the system boots up, these messages show up:
View 2 Replies
View Related
Jul 7, 2010
I used locate cmd to search file abc.txt (for example) as I didn't know in which directory it would be present and couldn't find it. But when I did find . -name abc.txt, it traced the file, luckily the file was in the same directory. I am wondering how find was able to search abc.txt and locate not. How these two are behavinb differently? Usually I use locate when I don't know the path to the parent dir.
View 8 Replies
View Related
Oct 5, 2010
Code:
nnjond@nnjond-den:/$ cd /media/disk/Dual_Data/
nnjond@nnjond-den:/media/disk/Dual_Data$ ls
07_Magna_DOWNLOADS 21_TEMPS Peleas.htm
08_Self-Improvement 22_Desktop Pelleas.odt
[code]....
View 6 Replies
View Related
Feb 14, 2010
I am running a linux software called altboot to install software on my xerox copy printers network controller harddisk but it keeps failing and I wonder what the error message means. Is it a cable, software or hardware problem?
I have pasted part of the log below...
modprobe: modpro/none on /proc type proc (rw)
create symbolic link `/lib/modul INIT: Entering runlevel: 2
modprobe: modprobe: Can't locate module block-major-33
modprobe: modprobe: Can't locate moduleeth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
block-major-8
modprobe: modprobe: Can't locate module block-major-33
modprobe: modprobe: Can't locate module block-major-8
View 2 Replies
View Related
Mar 20, 2010
What do I need to add to my .emacs to get it to save all of my autosaves and backups into one directory? I don't do a lot of .emacs configuration, and I just can't get the variables out of emacsWiki to play right. Anybody mind sharing how they do it? I would prefer to have the saves placed in /tmp/emacs/{username}/{autosaves | backups}
BONUS, configuration to do the same for TRAMP
View 2 Replies
View Related
Jul 11, 2011
I have a ton of files that are timestamped directories. These all look like2011-06-24_13.53.36 // a directory name for june 24th, 1:53:36 pmI have thousands of these directories. I want to do operations on some of the older ones. Let's say I give it a string for date time that matches that exact format, like i'll give it2011-06-25_00.00.00 // june 25th, 12amI want to find all the directories BEFORE my time. So if i give the string for 12am on june 25th, i want to find all the directories before then.If not i can find EVERY directory i have like this and then filter after wards. The created/modified dates are not tied to the actual timestamp im looking for (that would make this easier)
View 2 Replies
View Related
Jun 15, 2011
I read somewhere that shell scripts are not detected because they may be system files. So how do I detect them. Noob as I am just doing my hello world program. Also what is the difference between "ls bin" and "ls /bin"
View 8 Replies
View Related
Nov 11, 2010
How do I locate the menu for wireless connections in Kubuntu (KDE?)
View 1 Replies
View Related
Sep 30, 2010
Is there a way to process the output of a locate command on the spot within bash. The output is 3 lines, ex:
Code:
[root@server confluence]# locate .timestamp
/opt/confluence/confluence-persistent/index/.timestamp
[code]....
View 3 Replies
View Related
Jun 9, 2010
I own a web server (centos 64bit with cpanel on it) and my datacenter add me a second hard disk and i want first to locate from ssh where is it (the path) and then to copy my mysql folder /var/lib/mysql to the new disk and have it like this /new/mysql on the second disk.
View 8 Replies
View Related
Apr 29, 2011
I have to locate and display the findme file on an XFS file system but the file is located on a second hard drive. The hard drives area number sda1 and sdb1know to change a directory, you use the cd command but I cannot remember how to do it for another hard drive. I tried cd /dev/sdb1 but I know that is not correct
View 1 Replies
View Related
Mar 23, 2011
I have several directories of subtitles for some videos, but all the text for the subtitles in each file is in uppercase, and I would like to convert the files' content to lowercase, all in one go. I found on a website a bash command that would do each file separately:tr '[:upper:]' '[:lower:]' <input.txt> output.txt but of course involves specifying the input name and output name for each file.I have been trying to do it in a script that would work for all files in the current directory, without having to rename them each time, if that's possible. So far I've got the following, which doesn't work:
#!/bin/bash
for file in $@; do
tr '[:upper:]' '[:lower:]'
done
However, my web searches cannot locate a way of specifying "each file in current directory" in conjunction with the "tr" command, but also without having to rename the file once converted to lowercase. Is it possible, or would the tr command have to create a new file for each converted file?
View 3 Replies
View Related
Feb 23, 2011
I am trying to locate the path for MySQL installed trough LAMP. if someone could point it for me or how to locate this path.
View 1 Replies
View Related
Feb 7, 2010
I know there are many threads about recovering damaged superblocks. I've spent 3 evenings reading them and trying what they suggest. Invariably the commands do nothing except to report bad or missing superblocks. I've removed the physical disk from the machine and am working with a dd image file (/mnt/image). I can mount what used to be hdc1 and read its files with no problem. I'm trying to recover partions hdc6 and hdc7.$ mmls /mnt/image -b
DOS Partition Table
Offset Sector: 0
Units are in 512-byte sectors
[code]....
View 1 Replies
View Related
Apr 18, 2011
I work with this travel company that host sites for different agents. They have ALL the sites in one directory and each site has its own search.php file. How can I locate, and change all the search.php files permissions to 644 in one shot? Is this possible maybe with the find command? I read the man page for this but I am not sure how to write out the command.
View 3 Replies
View Related