General :: Stop Adding IP From EC2 To Known_hosts For Ssh?
Jan 25, 2011
I start/stop lots of new instances as I'm learning to use Amazon EC2. Every temporary instance is added to the known_hosts file. Is this ever a problem for others who use EC2 a lot?
I'd like to tell ssh to skip this step anytime I connect to amazonaws.com. Is there a way to do that in the config? I'm using Linux & openssh.
View 2 Replies
ADVERTISEMENT
Mar 9, 2011
I have an automated setup (debian) which includes a startup script that rsyncs to a server (always the same server). Everything works well - just that I have to manually confirm that the host is supposed to be added to the known_hosts
Code:
The authenticity of host 'myserver.com (xx.xx.xx.xx)' can't be established.
RSA key fingerprint is 9b:ee:a6:47:hb:92:ac:76:81:94:18:7d:ad:8c:3e:25.
[code]....
View 2 Replies
View Related
Oct 19, 2010
I was wondering if it's possible to move the known_hosts file from ~/.ssh/known_hosts to ~/somewhere/.ssh/known_hosts . I have a server running Plesk and the user home directories do not have write permissions (they do have write permissions within the subfolders, however).
I was able to move the authorized_keys file by editing sshd_config AuthorizedKeysFile , but when I try to log in without password, I'm still prompted every time if I want to add the host to list of known hosts, and it fails to save every time since it cannot write to known_hosts. Thus I am still unable to automate some processes. I'd like known_hosts to be located in the same location as my authorized_keys, which does have correct permissions for users.
View 1 Replies
View Related
Feb 14, 2011
I had a populated known_hosts file. I was editing it and for a split second I saw a permission error when I saved it. I went to check what the error was and the known_hosts file was blank.
Now if I ssh to a host I get something like the following:
bash-3.2$ ssh root@
The authenticity of host '' can't be established. RSA key fingerprint is b3:c3:e3:83:23:83:93:63:13:23:63:63:d3:c3:33:a3. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ' (RSA) to the list of known hosts.
Sounds good... but when I look at my known_hosts file, it is blank. I check the permissions and it is owned by my account. .ssh/ permissions are correct too.
I deleted known_hosts and then tried connecting again, and it creates a file but it stays blank. No host keys get added.
It just started happening after I saw that permission error.
root user's known_hosts file updates fine though.
View 1 Replies
View Related
Nov 13, 2010
how to stop Evolution adding the sender's email address, that is the one who sent it to me, in the body of the email when I forward it? I have been through the settings and help and am so far unable to find any action I can take.
View 6 Replies
View Related
Aug 20, 2010
I like to load other distro's via their own grub.
So at the min I add an entry to code...
however when update-grub2 is run it also adds its own entries (for arch linux).
Is there a way to stop the update-grub2 script automatically adding a entry on a specific partition ?
View 3 Replies
View Related
Jan 17, 2011
Currently I am populating a global ssh_known_hosts file with RSA and DSS host keys.
Code:
short_name, fqdn, 192.168.x.y ssh-dss.........
short_name, fqdn, 192.168.x.y ssh-rsa.........
[code]....
View 1 Replies
View Related
Oct 11, 2010
whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?
View 1 Replies
View Related
Mar 10, 2011
ok i need to add the repo [URL] to the yum config
i found this but i dont know how to do it for the repo that im using
it says to add this to the /etc/yum.conf file but how do i do it for rpmfusion.org? what do i have to change to the following lines? or is there another way
[dries]
name=Extra Fedora rpms dries - $releasever - $basearch
baseurl=http://apt.sw.be/dries/fedora/linux/$releasever/$basearch/dries
View 1 Replies
View Related
Jul 22, 2011
how do I add more repos to yum? Using Fedora 13, kernel: 2.6.xx. Done it before, but can:t remember the process. Using 64-bit by the way.
View 1 Replies
View Related
Apr 3, 2010
I wonder if its possible to add the time to virtual terminals? for example something like this:
Quote:
Welcome to linux 2.6.27.31-smp (tty2) 14:35
View 1 Replies
View Related
Jun 23, 2011
How Does sed or other command edit the 1st line in a file and comments it? Meaning add "#" to the first line in a file for example?
View 6 Replies
View Related
Jun 10, 2010
i would like to know the commands that one use when adding a new user?
View 3 Replies
View Related
Mar 5, 2010
I'd like to add another network card to my linux box. I've plugged in the hardware and rebooted, but I do not see a second network config file under network-scripts. Also, if I hit ifconfig -a, I only see one network listing. How do I proceed?
View 3 Replies
View Related
Mar 5, 2010
CentOS 5.3
I have added a new user by doing the following:
useradd -m jobBlogs
It creates the home directory with initial files. However, when I do the following
ls -a
there is no .ssh directory.
Am I doing something incorrect here?
View 2 Replies
View Related
Jul 4, 2011
I'm seeing on my Fedora 15 box. I want to add the superuser to a group called, say, thisgroup.thisgroup is absent. Surprisingly, when I thought of editing /etc/group, root was present there!Anyone on why groups didn't show my new addition?
View 3 Replies
View Related
Dec 18, 2010
I just loaded Fedora 10 onto my laptop and now I'm trying to add a USB wireless adapter with little to no luck (well no luck at ALL.)
# lsmod
Module Size Used by
nls_utf8 5632 0
fuse 49436 2
bridge 43796 0
[Code].....
View 5 Replies
View Related
Jun 29, 2010
I just installed nagios to a Cent 5.4 box. Everything is working so far except I want to add a plugin I found on nagios exchange. The file has a .pl extension. I am unsure how to add the plugin to the rest of nagios. Do I need to add it to a nagios folder and then define it. If I just try to run the pl file I get a error mesg. I am unsure if the error is caused by system misconfig or because the plugin is not installed. The plugin is check_dayime.pl and the error I get is Can't locate Date/Parse.pm Perl seems to be working as I can run simple perl scripts and perl -v spits out v 5.8.8
View 3 Replies
View Related
Oct 12, 2009
I have a fairly long list of data that I am trying to put into a math program (maple) but before I can do that I need to edit the format of the data such that at the end of every 25th line I add a comma. I would prefer a solution that uses vi, but if that's impossible sed would be fine also (or awk).
View 6 Replies
View Related
Apr 24, 2010
I'm trying to add a plugin to Pidgin, but I'm not really shure how to do it... I downloaded the binairy as a shared dll (.so) and copied it to the pidgin root folder (/usr/lib/pidgin/)... I was kinda hoping that would be sufficient, but (after restarting Pidgin) I still don't see the new plugin in the plugins-list. What am I doing wrong, or what should I do next?
View 5 Replies
View Related
Mar 13, 2011
command for adding a user and removing a user.
View 3 Replies
View Related
May 1, 2010
I'm running RHEL5: 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux
under VMWare Server 2.0.2. When I create a new disk for my Linux VM I want to be able to use it without rebooting.
I checked what was currently in use:
cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: VMware, Model: VMware Virtual S Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
[Code]...
View 7 Replies
View Related
Feb 22, 2010
I'm trying to output two certain fields of a very large text file to 2 very small text files. Then take those files and add all the lines together to come up with a total from each file (two totals).
Here's what I've got:
Code:
#!/bin/bash
echo "0" > /media/in.txt
echo "0" > /media/out.txt
[code]....
Breakdown: Put 0 in a text file to be drawn by respective while loops for math later
Output last 60 integers to a file for total A (new integer every minute)
Output last 60 integers to a file for total B (new integer every minute)
The two while loops are supposed to be adding the lines together. The echo commands at the end are for testing purposes, just to see the output. However, when I run this, I get the output of
Code:
0 0
Which is obviously not what it's supposed to be. Is there a more efficient way to do this or am I missing something in the script that would reset the values to "0"?
View 2 Replies
View Related
Jan 12, 2010
i have a problem adding flash on to my mozilla firefox how do i go about it and loading programs like skype and all they dont run whats the best way
View 2 Replies
View Related
May 28, 2010
I have always had to use windows etc, of course this means I have become accustomed to the way the programs are automatically installed etc... so my question is:
Once I have found appropriate software which I would like to add to my computer, (which is Linux Compatible)... what are the steps, in the simplest terms to start using it?
To confirm, I have got to the stage where the program is on the computer but as no "window" pops up... I am fairly lost to get it from the completed downloads to actually start using it... is it an option like extract? Could you give me the basic steps.
View 14 Replies
View Related
Feb 24, 2011
One of my scripts generated an output like this:
0:0:35
0:0:36
0:0:28
0:0:37
0:0:43
0:1:2
This is actually in a time format(hh:mm:ss) and how do i add all the values and get the sum in seconds . the output should be in seconds like total number of seconds : 241 secs
View 6 Replies
View Related
Oct 19, 2010
My problem is i use a command " route add -net to add a route oand gate way, how do i remove the route addid if it is incorrect but also my pc's use a standard static ip 192.168.1.X but my gateway is as a given 196.215.X.X if i add this gatway there is no internet but the same gateway is used on windows pc's
View 4 Replies
View Related
Sep 14, 2009
My Linux OS is mounted on a LVM spread across an 8GB SD Card and a 4GB Flash Drive. I've used about 6GB and have about 2.xGB left. I'm trying to download Sabayon and I don't quite have enough space to store DVD size ISO. I have extra 2GB Flash Drive that I am not using and can converted to a PV and that would give me the necessary space I need to store the ISO. Now the ISO would spread from 4GB Flash to my 2GB Flash. My question is complicated, so bare with me. I want to know by adding 2GB PV into LogGroup and then remove it from the same LogGroup and then added back later. Would the data still exists and accessible? What happens to the data when I remove it the first time, would be automatically deleted, or stay hidden to plug back in?
View 4 Replies
View Related
Jul 10, 2010
This is an examination senario. We have mulitple users logging into a RHEL-4 server using putty. These people are part of a same group. They are giving UNIX shell script exam.They are helping each other copy the code by using redirection to /dev/pts/x. Is there any way I can stop this redirection?
View 1 Replies
View Related
May 27, 2011
My system doesn't reacts at writing values below 255 to /sys/class/hwmon/hwmon0/device/pwm(2,3) which correspond to 3-wire case fans connected via M/B (ga-890gpa-ud3h) headers. The idea was taken from [url]
ls /sys/class/hwmon/hwmon0/device/
It indeed shows the actual speed:
But refuses to write to fanX_input: permission denied (even for root).
More specs: kernel 2.6.38.4, sensors output is:
I do not run any daemons for fan control, but suppose the speed may be set by CPU in-kernel governor. How to stop a fan under this conditions without doing hardware tricks?
Upd: part of pwmconfig's output:
Devices:
Found the following PWM controls:
hwmon0/device/pwm2 is currently setup for automatic speed control. In general, automatic mode is preferred over manual mode, as it is more efficient and it reacts faster. Are you sure that you want to setup this output for manual control? (n) y hwmon0/device/pwm3 hwmon0/device/pwm3 is currently setup for automatic speed control.
In general, automatic mode is preferred over manual mode, as it is more efficient and it reacts faster. Are you sure that you want to setup this output for manual control? (n) y
Test:
Warning! This program will stop your fans, one at a time, for approximately 5 seconds each! This may cause your processor temperature to rise! If you do not want to do this hit control-C now!
Hit return to continue:
Would you like to generate a detailed correlation (y)? y
This was stopping CPU fan. And:
View 2 Replies
View Related