Tag Info

New answers tagged

0

ssh-add adds to the keys to SSH agent for authentication in connections opened from the server, not for connections to the server. So you'll have to do: cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys Further, the permission on ~/.ssh/id_rsa.pub need not be 600, since it is the public key. It can be 644 without loss of security.


1

Rahul, first of all you should repair the sudoers file. create a sudoers file on desktop ans paste these lines into it: # # This file MUST be edited with the 'visudo' command as root. # # Please consider adding local content in /etc/sudoers.d/ instead of # directly modifying this file. # # See the man page for details on how to write a sudoers file. # ...


0

You are putting the wrong password. sudo passwd is changing the password of the root user, not the password required to sudo. In addition, the root account is usually locked in ubuntu, so you cannot become root via su or su root, see here. Whatever you did to 90-cloudimg-ubuntu is probably not related to the authentication failure. Are you sure that ubuntu ...


0

If you're receiving this issue on an AWS EC2 instance, you should try creating the instance with HVM virtualization instead of the Paravirtual. If you still desire a paravirtual instance, there no telling when the bug will be fixed as it is a bug in the Xen kernal, which is used to run virtualization for AWS. Here is the bug thread addressing this issue in ...


2

Um, I think you'll find that your server is triggering a message of the day update upon an established ssh connection. You can run the scripts in /etc/update-motd.d and see which is running slowly and deal with the slow script however you wish. Or you can disable this automatic updating by commenting out the following lines in the /etc/pam.d/sshd file ...


1

In order to connect to an EC2 instance you'll have to configure a public IP and make sure you add a matching routing table rule. There are 2 ways of getting a public IP: Adding a randomly selected IP during the instance set up (just tick the required V on the third screen). Adding an Elastic IP from the Elastic IP section on the left (this method does not ...


0

I hope you upgraded to 14.04 I am new too I only have a few guides, to share http://sathisharthars.wordpress.com/2014/05/03/configuring-snort-with-barnyard-snortreport-acid-in-ubuntu-14-04/ http://www.rivy.org/technologies/snort/


2

You can not run ntpd with unprivileged ports: http://support.ntp.org/bin/view/Support/TroubleshootingNTP#Section_9.8. However you can use openntpd which is a project from the OpenBSD folks. OpenNTPd does not require a privileged port for full time operation / clock discipline. http://www.openntpd.org More information for the skeptics: I am including ...


0

In EC2 the -u flag is required: $ sudo ntpdate -u ntp.nasa.gov time-b.nist.gov 24 Jun 11:16:33 ntpdate[27714]: adjust time server 129.6.15.29 offset 0.047272 sec From the manual: -u Direct ntpdate to use an unprivileged port for outgoing packets. This is most useful when behind a firewall that blocks incoming traffic to privileged ...



Top 50 recent answers are included