General :: Setup A SSH Key Between Servers So No Password Is Required?

Nov 2, 2010

I am trying to set up a SSH key between servers so no password is required when I have to "scp" files between the two. This is what I have tried so far but still requires a password:

Code:
ssh-keygen -t rsa
scp /home/<user>/.ssh/id_rsa <server2.com>:/home/<user>/.ssh/athorized_keys

When I scp after this I wasn't expecting to need a password but it is still prompting. Now I have used this same method before and it has worked great. The only difference this time is server2 is not in the same cage.

View 4 Replies


ADVERTISEMENT

Ubuntu Servers :: Setup A Server To Where It Does Not Give A Password Prompt To Access A Shared Folder

Nov 28, 2010

How do I set up a server to where it does not give a password prompt to access a shared folder?

View 1 Replies View Related

Ubuntu Servers :: Setup The MYSQL Server - Error: 'Access Denied For User 'root'@'localhost' (using Password: NO)'

Mar 26, 2010

I set up a servber on my local machine, & also PHp - Both working fine.I'm trying to load up MYSQL i have installed it, & *can* start/stop the server. however if I do anything else with it, I get this error :-

Quote:

root@gordon-desktop:~# sudo mysqladmin -u root -h localhost password MYPASSWORD
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

Query :-

1) How do I know MYSQL is actually active ? (apart from the message it says that its statrted (or stopped).

2) Is there a way to

a) Find out the usernames that are recorded on the MYSQL server ?
b) set / RESET the 'root' username (I know MYSQL root user is different to PC root user)
c) anything else I can do on the PHP / website code to see if MYSQL is working

(as yet, no tables / databases etc have been set up - as I can't get past this error message - I get the same error when setting up a database.)

Ps I did allow my usermname (when logged in to ubuntu) to edit / create files in the /usr/www/ directory (but it is still OWNED by 'root' - that directory)

View 4 Replies View Related

Red Hat :: How To Setup Server With V3 Kernel Required

May 12, 2010

I have a unique setup on my hands..-local (LAN) dev system built on a via epia m6000 (uses the older via eden-samuel cpu). Latest kernels will not boot due to cpu issue.I'm running CentOS v3.9 for kernel compatibility and have managed to get my basic LAMP setup accomplished via yum but I'd like to run the curnet versions of everything while keeping the older kernel if possible.I'm considering setting up my yum repos to include v4 or v5 and use the yum --exclude kernel option.

View 4 Replies View Related

Ubuntu :: Can't Get To Pop Up Required Username And Password

May 13, 2010

Well I have tried everything I can think of and anything on a google search.What I'm trying to do it secure the phpmyadmin folder.I put a .htaccess file in /usr/share/phpmyadmin.I can still just can't get it to pop up a required username and password.

View 4 Replies View Related

Ubuntu :: Password Required After Screensaver?

Mar 25, 2011

I upgraded from 9.1 to 10.04 and now if I leave the machine for 5 mins the screen darkens and I am sked for a password. I already use my password to log on on and this nre request is becoming a dammed nuisance. Can someone tell me how to stop it from happening. I can't even go for a leak without having to reenter my password.

View 4 Replies View Related

Ubuntu :: 10.4 After Screensaver Password Required

Jun 10, 2010

I don't require any password at boot but to resume after the screen saver I have to log in. The prompt references dabuntu. I have tried the normal settings with no luck.

View 5 Replies View Related

Ubuntu Servers :: Game Servers Via Wine Tickless Required?

Mar 4, 2010

(Mods: If you feel this belongs more in the Games or Wine discussion area, please feel free to move. This question does intersect many areas, so was unsure where to put)

I have a funky server Ubuntu 9.10 Enterprise setup where I have X on all the time (using Xfce4 - not Xbuntu) with latest wine so I can run Windows only based game server executables. One of the applications is a simple dedicated racing game server made by the company I work for that works perfect in wine (unfortunately, the full 3D game client does not, so its a windows only game). The other is more just to test, runs Serious Sam HD dedicated with wine with a steam client active in background since SSHD Ded requires a steam client logged in (just create a dummy account).

Im getting some lag issues with the SSHD on the end-users client side. Unsure if its related to it being a more complex game and using wine to translate slowing it down. Things like tiny warps once in awhile, and the ping of clients kinda jumping around.

Im pretty sure my network settings are ok. Maybe not fully optimized for every bit via ipv4. Still though. This 1U Opteron server is in a ISP with a full 1000 up and down. Ports are locked out that aren't being used. I do have apache going, but its nothing strenuous. The CPU isnt used overly so. Maybe peaks out around 60% under strain, but mostly 20-40%. Memory use is about 550-700megs for SSHD itself. Given, it only has 2 gigs total at this time, but I still usually have near a Gig of memory available at most times.

I admit newbness of linux servers in general. Was reading about other game servers like CS:S requiring a ticked kernel near 1000 to get the least amount of lag. Some even saying they dropped the tickless options of the newer 2.6 kernels on purpose because they produced lag. Was checking on the history of newer Windows Server like 2008 and they still use a ticked OS, though a more optimized version.

So this boils down to should I be running a Ticked OS kernel to run a more complex Windows based dedicated server? I haven't tried thus far, well because I am again a bit of a n00b to all this. That and I'm not sure you have to tell wine or the SS:HD dedicated exe itself to run at a full ticked rate (no option I have seen for a command line function in the SS:HD itself).

View 2 Replies View Related

OpenSUSE :: S11.2 - Couchdb 1.0.1 - Password Required After Ymp-installation?

Oct 4, 2010

I'm new to linux and that forum, so a (possibly) silly question: I installed couchdb 1.0.1 w/ ymp (one-click) from http://software.opensuse.org/search?...3A11.2&lang=de and when I try to start it like /etc/init.d/couchdb start or sudo -i -u couchdb couchdb I am asked for a pwd, which I never put in. tried several standards or my own already. Didn't find anything in any documentation. Am I doing something wrong here?

View 6 Replies View Related

Ubuntu :: Screen Sleep Password Required?

May 5, 2010

is there a way to get rid of the required password after i go away from my computer for 10 mins and the screen goes to sleep? It's getting really annoying

View 2 Replies View Related

Ubuntu :: How To Disable Required Password After Hibernate?

Sep 9, 2010

Running Lucid. Every time I hibernate, when I come back, it requires entering a password. I would like to disable this.In the config editor, under apps -> gnome-power-manager -> lock, I've already unchecked _everything_ there, and it still asks me for a password after hiberate.

View 1 Replies View Related

Hardware :: Sakis3G Setup & Configuration - Username Required By APN

Jun 17, 2011

I am trying to use the sakis3G, i choose the option connect 3G, it asks me about username required by APN?? I have no usernames, and I don't know what APN is? I prefer using the sakis3G since it looks simpler than using USB_ModeSwitch which I didn't manage to understand it from the sites you posted.

View 14 Replies View Related

Ubuntu Networking :: TOR Relay Required Password Access?

Nov 23, 2010

I would like to set up a TOR relay and add a password so only those that have the password is able to browse the web using my ip.

View 5 Replies View Related

Ubuntu Security :: No Password Required For Encrypted Emails?

Apr 25, 2011

I'm running Thunderbird with Enigmail, and I have this very annoying problem. When I open an encrypted email for the first time, it asks me for my key password. It then remembers my password. This is fine for a few minutes, since I don't want to enter the password every time if I look at seven emails in five minutes. However, I WOULD like it to EVENTUALLY forget. At the moment, it doesn't even forget if I shut off Thunderbird. I have to restart my computer, in fact.

The preferences for Enigmail don't help. I've configured it to remember the password for 0 minutes, for example. I don't know how to edit the preferences for gpg-agent or anything else like that.

View 2 Replies View Related

Networking :: What All Iscsi Network Hardware Is Required For A Successful Setup

Jun 12, 2010

Im trying to find out What all network hardware is required for a successfull Iscsi setup. Example Do you need two network cards that support it. Or do you just need one network Iscsi adapter for the storage box, and the other machine just have a normal NIC. What type of Switch would be needed as well for decent transfer rates.

View 2 Replies View Related

Server :: Ubuntu Install DVD Contains All Required Software - Physical Setup

May 30, 2011

I have a government website hosted in third party hosting. but now they want to setup their own Ubuntu server. Now my Question is -

1. What hardware do I need? like -
A) SERVER
B) KVM Switch etc etc.. really i don't know how many hardware need to setup a server. Please provide me a list.

2. Does the standard Ubuntu Server installation DVD contains all the required software for Linux web hosting ?

The hardware part is very important. What's more hardware need to set up a server.

View 1 Replies View Related

Programming :: Automate The Password Prompt Required For Sudo Commands?

May 31, 2011

I have written a script to run commands on remote servers, it is working fine. But when I am running "sudo commands" on the remote servers, it asks for me password after prompting for ssh password. I am unable to automate this password prompt (which is just after ssh password prompt). This is the function I am using to provide passwords

Code:

pass ()
{
cd $DIR/"$dt1"_"$dt"
/usr/bin/perl << 'EOF'
use strict;

[code]....

I want the same function to be used , when it expects for sudo passwords for any of the below lines:

Code:

[sudo] password for vikas: orPassword: This is my "cmd" file passed in pass () function.

Code:

ssh -t -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 192.168.1.100 "bash rcmds"

This is my script output

Quote:

[vikas@box1 ~]$ ./rscript.sh
++ rm -rf /home/vikas/May_31
++ mkdir -p /home/vikas/May_31
++ set +x

[code]....

how to automate the password prompt required for sudo commands.

View 8 Replies View Related

General :: Setup Sendmail So That It Use Separate User And Password Files?

Oct 14, 2010

I have configured dovecot to use separate user and password file. Can I tell endmail to use it too? If not, then does postfix can this?

View 2 Replies View Related

General :: BackupPC Basic Setup (13)Permission Denied - Not Open Password File: /etc/Backup?

Feb 22, 2011

I am having problems gaining access to the BackupPC admin web page. The error:

Quote:

[Tue Feb 22 16:43:59 2011] [error] [client 192.168.0.2] (13)Permission denied: Could not open password file: /etc/BackupPC/htpasswd [Tue Feb 22 16:43:59 2011] [error] [client 82.30.227.113] access to /backuppc failed, reason: verification of user id 'myhtaccessuser' not configured

Why is this occuring, is there anyway of getting around this? I just cant remember originally on my old system how I set this up.

View 3 Replies View Related

Ubuntu Servers :: Server Memory Required

Oct 29, 2010

I have many documents that indicate many different min requirements for drive memory. Will someone give me an idea for the following...Ubuntu 10.10 server running SSH and Samba what would be the memory requirements, recommended as opposed to min, for partitions as follows:
/ -- root
/home -- as a separate partition
/boot -- as a separate partition (do I really need a separate boot)
swap my RAM is 768mg so 1 gig should be good

View 9 Replies View Related

Ubuntu Servers :: Web Forum Software Required?

Aug 2, 2011

id like to run a web forum on my own web server at home. im using dyndns for dns service.im on 11.04 running apache2.i need a free forum software

View 3 Replies View Related

Ubuntu Servers :: Setup New Remote Office - Setup Domain Trust Between Two Sites?

Mar 14, 2010

I ended up setting up a basic linux file server as a pdc for that office. Our main office is a windows 2000 ads domain. The two offices are connected with a vpn. I only have two users at the new location so I simply have the linux and samba usernames/passwords setup manually. I would like to know if it is possible to setup a domain trust between the two sites so I don't have to create a username/password in the remote site for every user at the main office to access. I did some searching but came up empty.

View 5 Replies View Related

General :: Apache 2.2 Setup On Debian - About Name Servers?

Jan 5, 2011

I'm setting up my Debain machine to host my homepage, and I have installed Apache 2.2, and a browser-based GUI for it called Webmin. I have a domain name with co.cc, it is www.patmore.co.cc. On the domain name site, there are two fields for name servers. Presently, they are set to the name servers for my hosting company. Apache is working on my machine. When I type my host name in my browser, it goes to index.html in the document root, as it should. When I key in my Debain machine's IP address on another machine on the same network, it also goes to index.html.

Attached, there is a screenshot of the Virtual Server Details in the Webmin GUI. I think I have the server name set right, but what do I type in the Address field? What do I need to type in for my name servers on the domain name site?

View 3 Replies View Related

Ubuntu Servers :: Recovery Required On Read Only Files System

Jun 23, 2010

My server is not accessible any longer locally (192.168.0.2). If I attach a keyboard and login (I have done one pass of recovery from the Ubuntu live CD which helped) and check the IP address it seems to be set. However looking at the syslog file there is a line which says ext3-fs: info: recovery required on read only files system.

Is there a more extensive ext3 recovery facility I can use bearing in mind I will not (?) be able to install it?

I think I'm running 8.6 but not sure where to look to find it.

View 4 Replies View Related

Ubuntu Servers :: Reboot Required Line At Logon Time?

Jan 30, 2011

When I log onto my 10.04 server via ssh, there is the /etc/motd displayed. This motd is made up each time by the files in /etc/update/motd.d/. There is this one file : update-motd-reboot-required The content is exec /usr/lib/update-notifier/update-mot-reboot-required and the content of this one is : if the file /var/run/reboot-required exists, print it.

But who is making this file and why ?we know who it is: it's pam_motd.. but why would I reboot ??!?

editt2 : nvmd [URL]

View 1 Replies View Related

General :: Setup An "Authentication Password" For Ubuntu Software Centre?

Feb 18, 2010

I am trying to download programs from the Ubuntu software Centre and keep being asked for an authentication password.The only passwords I have are for this site, default keyring and the terminal. How do I set up this password and where?

I have found the answer. It is my Terminal Password that is required to enter the Ubuntu Software centre.

View 2 Replies View Related

General :: SSH Login - For Additional Users After Password-less Login Setup

Feb 10, 2010

I've set up password-less login for user1 on a Ubuntu machine to login automatically into a Fedora box using the publickey authentication method. Everything is working smoothly. Now, there is a user2 on Fedora but he does not have an account on Ubuntu.

I tried to login as user2 from Ubuntu to but got the following error :

Code:

Predictably neither scp or sftp work either. I have several questions as a result.

1.Is the SSH server rejecting user2 login because I am inadvertently using user1 keys (as I am logged in as user1) ?

2. Do I need to have a user2 account on Ubuntu and public/private key authentication setup with Fedora for user2 to be able to login ?

3. Is there a method I can use to password login as user2 from Ubuntu to Fedora (even though there is no user2 account on Ubuntu) AND still keep password-less login for user1 or do I have to have password-less login for both ?

At present the only way to access the user2 account from Ubuntu is to SSH using the user1 account and then su to user2.

View 3 Replies View Related

General :: Setup Virtual Machines To Be Servers With Bind Option Set To A Multicast Group Address Of 225.0.62.87?

Mar 28, 2010

I am in verse to test "Multicast Packet filtering".I want to setup Virtual Machines to be servers with bind option set to a multicast group address of 225.0.62.87.Then I want to configure the client VM, connecting to the multicast group address and setting the TTL as needed.

View 3 Replies View Related

Fedora :: Setup 12: What Password For Su Root

May 5, 2010

I am trying to su from liveuser to root to run yum update. If I am not root, I get a message that says "need to be root to perform this command". I am logged in as liveuser. If I do an su root then it says that my password is invalid. Since I did not set up the root user, I do not know the password.

View 6 Replies View Related

Ubuntu :: How To Setup Root Password

Oct 8, 2010

I just installed ubuntu. How do I set up my root password it didn't prompt me in the setup.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved