Server :: Passwordless Ssh Stopped Working?

Aug 18, 2011

There are a few threads about this but none seem to me.I have 3 machines setup with a nfs home directory on machine 1.I have created keys using ssh-keygen -t rsa (and left everything blank), then as user on machine 1 run

Code:
cat id_rsa.pub >> authorized_keys2
chmod 644 ~/.ssh/*

this used to work until I upgraded to ubuntu 11.04 (from 9.04), and now it requires a password to ssh. I have tried several times deleting ~/.ssh/* and recreating, to no luck Below is the results when I try to ssh into -2 from -1:

[Code]...

(dumb question, but shouldn't the offered RSA public key be id_rsa.pub rather than id_rsa?)

I have 3 servers with Oracle 10g installed. In order for rsync to work for log shipping I need to have passwordless SSH configured.*Note: I did not configure these servers, 2 DBA's got canned and I'm left to fix this and I am not a DBA.I have done passwordless SSH in the past and it is easy.Here is my problem: (-> = passwordless ssh works)ServerA -> ServerCServerB -> ServerCBut I need all 3 to be able to do passwordless SSH to each other.I deleted all the files in /home/oracle/.ssh on all 3 servers and this is what I did for all 3 servers:

I successfully set-up an FTP server, that worked great and perfectly, but after restarting the computer, it has stopped working.None of my router's settings have changed. I restarted the vsftpd process.

I have for a while been trying to setup ssh so hadoop can ssh without a password to all it's nodes. (Currenly 2 nodes)But i can not get the ssh to login without either asking for a password or just getting access denied (public key)I have been following two guidesFirst:Setting up SingleNode ClusterThen after:Setting up Multinode ClusterI have also done various ssh tutorials on setting up ssh.I got to the point where i do the command bin/start-dfs.shThen it begins asking for passwords. Which it should'nt.The problem is that ssh is not setup correcly.And whatever i try i get problems with logging in.the computers are called.

I have two load balancing boxes... One primary (box1) and one backup/failover (box2). I want to make sure the heartbeat is running on both boxes via a script. While I'm on box1, I want to run as any user: ssh box2 service pulse status and not have box2 ask for a password.

I'm in somewhat of a sticky situation. ssh has just randomly stopped working on my server after a power failure. Everything else that doesn't rely on ssh is still working fine though. It can still receive mail and everything, just no ssh.Background on the server, running debian etch on a PPC machine.ssh is (supposed to be) running on port 2000. Even if I am physically logged into the machine I can't log in with ssh -p 2000 user@127.0.0.1.I can ssh to and from any other machine on my network (the server can even ssh into another machine). So it isn't my network causing issues.It seems like the port 2000 is completely closed, if nmap the server's IP address I get PORT† † STATE SERVICE

For more than a year I was happily using my Fedora 11 remotely through VNC over ssh. I was using desktop 0 on port 5900 so people at the office can see what I am doing.

Yesterday I upgraded to Fedora 12, then 13 and then 14. I installed all updates of F14. All went well until I came to use this server from home as usual. The server was not responding.

I brought up /etc/X11/xorg.conf from a backup tape because I discovered that it is there that screen 0 is set and not in /etc/sysconfig/vncservers and rebooted. No success!

At the command lsof | grep LISTEN, I could not see a listener on port 5900

I activated screen 1 on port 5901 and I could log in OK and with lsof I could see listeners for ports 5901 and 6001 but I need screen 0!

During the day I tried many things including removing the vncserver packages with yum and re-installing them, removing the .vnc folder in the user home folder and starting from scratch. The server is still refusing connection!

i have just setup a firewall using iptables on centos 5.3 but there's an issue with ftpi can connect and i can login when i give command "ls" it says entering passive modeand afterwards it times out do you know why? i have port 21 open in my firewall but still....

sometime ago i have setup a nice Debian FTP server. and left the company. everything was working fine for about 5 month, administrator was able to login to root, do changes and manage system, etc. Suddenly he told me that he cannot login via PUTTY, the root user and pass say Access Denied.Looked all over the web for at least a REASON, but did not find anything. I suggested to go and do passwd reset, via runLevel 1. i hope this helps him. But i am still curious why all of the sudden, in a locked down room, where only one person has access root get disabled.

My server was set to automatically install updates, and stopped working while I was away. When I got back to it, it now has a boot menu to choose between kernel versions, with no default or timer. So I pick one, and there are heaps of other problems. the /home partition isn't mounting, despite the fstab being unchanged. I can mount it manually using mount with no problems /var/syslog has nothing since April, and isn't updating when I reboot, so I'm not sure what I can cut and paste to here for you all to look at. The networking isn't running, in fact, most of the network interfaces aren't even showing up.That's just what I've identified so far. I have no idea where to start. I can't find anything wrong other than the fact it's not working.I can't copy and paste any output at this point, because I can't ssh,

My phpmyadmin stopped working. I reinstalled it and it gives error #2002. I found that this error is from mysql, which i couldn't repair and i begin to reinstall it. First I was with Debian 5.03, but i played with /etc/apt/sources.list and after upgrading

I have now 5.05

The problem is that when i install mysql-server a dependency appear in mysql-server-5.0. I follow this instructions[url] and after sudo apt-get install mysql-server mysql-client

I get this error:

Code:

How can i fix this dependency? I didn't find anything relative in google.

mysql-server-5.0 --configure gives error: command not found

I uninstalled all related with mysql and execute dpkg --purge mysql-server then reboot and run first apt-get install mysql-server-5.0 mysql-client-5.0 and then apt-get install mysql-server mysql-client There was no error

My mail server stopped working this weekend, when I got in today I restarted and all the emails came through. The panic_log shows: daemon: accept process fork failed: Cannot allocate memory several times over the course of a few minutes. Can anyone give me advice on troubleshooting this one?

My plex media server suddenly stopped working after years of no hassle use. This is the output of cat /proc/version = Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.65-1+deb7u2

My problem is similar to this forum thread viewtopic.php?f=5&t=121945 where I can get it to start by running Code: Select all/usr/sbin/start_pms & but it's not my normal server configuration. I added a couple files to it and it seems to work except it doesn't start when I reboot. I have to run that command again.This is the init script I've been running for years...

My Debian skills are lacking to know how to proceed with troubleshooting what could have happened. Everything else seems fine, I just can't seem to get this application to run at startup or get back my old configuration...

After using fedora 11 for a month or two now the ethernet gave out on me tonight. However if I switch to my ubuntu or windows XP install it runs fine. I made no recent changes to network connections, and no installed programs that should effect it.

I have tried, restarting, older kernel, restarting services, and clearing the DNS Cache. The specific error I get is that "Firefox can't find the server", and most other applications return similar. I can however ping websites still. All other computers on the network are running fine, and booting into another system the internet will work. Just not for fedora.

Well I guess the topic says it all. I've recently upgraded to Maverick from Lucid all went smoothly until i restarted and realized that the remote desktop server included stopped functioning all of a sudden. tried other vnc servers with no luck.

I am using Ubuntu 10.04. In the summer a few months back, I managed to get my ancient HP Laserjet 6L printer working via a wired D-Link-DPR 1061 print server and Netgear network switch. This was even though it was not on the print server's compatibility list. A couple of months later it stopped printing and I have not been able to get it going again since.

The print server has one parallel port (used by the 6L) and a couple of USB ports which I don't use.

I have been going through the Ubuntu add printer wizard. The print server can connect via an IP address. I am using its device URI: lpd://ip address/dlk-portname

I have tried all 5 HP laserjet 6L drivers that come with Ubuntu without success. I have the foomatic/ljet4 [en] currently selected. When I try to print a test page nothing is printed and when I do a print self test I get this message:

CUPS SERVER ERROR There was an error during the CUPS operation: 'client-error-document-format-not-supported'.

By, the way I also have a Windows 7 PC and managed to get the 6L working with same print server using the XP drivers, but every so often it stops working. A reinstall gets it going again.

I have been using my laptop as a development machine for a few months now, developing php/mysql applications, and testing them offline via the same laptop by pointing the browser to url.

But a few days ago, my url stopped working and I discovered that it will now only work if I have an active internet connection plugged in. Why has this happened and how to I fix my test server so localhost works with or without an internet connection via an ethernet cable.

I have an rsync server and am now setting up cwrsync on my windows machine. I want to be able to run cwrsync over ssh with public private keys. I followed a tutorial over here to set this up. It, however, still prompts me for server password and works only if I provide the password. For some reason the public/private key process is not working.

- I uploaded the generated file id_rsa.pub to server /root/.ssh/authorized_keys

I am also prompted for a password if from command prompt I run this command to log into server: ssh -i c:docume~1user.sshid_rsa root@<server_ip_address> On server I have changed the configuration file (/etc/ssh/ssh_config) to say:

I've been administrating a dedicated Linux CentOS 5 (Linux 2.6.26.5-rootserver-20080917a) server for around 2 years, and although not a network or Linux expert, been learning to configure as need arises. Primarily using Plesk for day-to-day, but occasionally using Putty to SSH into server.

For all the time I've had the server, I've been connecting to my server via sFTP using "root" password. ( Although, I know this is really bad practice, I assume made safer by connecting with SSH FTP)

After spending another normal day in the office developing websites, connecting to my server as root using SFTP in Filezilla AND Dreamweaver I left for the night.

Returned next morning, after having done no manual updates or amends to my server; I could no longer SFTP into my server?

Thought it may be related to my office network, so tried it from home over the weekend, same result; can no longer connect SFTP for root?

I can connect to the server via Putty using my "root" username and password.

After spending hours looking on the internet for a solution, I'm lost for ideas as I didn't make any changes?

What happens when I open my Filezilla and try connecting as SFTP is it states:

When originally installing 11.04 I had problems getting my Ralink 5390 wireless card to work.

Today my computer froze completely and I had to turn it off via the power switch. When I turned it back on, wireless was no longer recognized! My iPod can connect to the network just fine, so it must be an Ubuntu problem. There are no problems with my ethernet connection either.

I researched this and found several threads about blocking and unblocking wireless devices using the rfkill command. Well, unfortunately for me the rfkill command doesn't work. When I type sudo rfkill list or sudo rfkill unblock all, nothing happens; it just returns me to my bash prompt. I even tried uninstalling and reinstalling rfkill...nothing.

Installed F12 a while back. Everything was working fine. Then I wanted to install perl-cpan, so when I run "yum install perl-cpan", or "yum update", it hangs on "Loaded plugins: presto, refresh-packagekit".

I've let it hang there for hours, nothing ever happens.

For the first week or so, Yum worked fine, I could manually update as I've done on other Fedora versions without any issue.

In the Gnome gui I have automatic updating disabled. As far as I can tell, yum-updatesd isn't running and isn't enabled. I wanted to update things manually for a while until I got this new box "settled in".

I know I can install cpan via other methods, but this strange behavior with Yum has me worried.

I ran all the "yum clean" commands, and now yum actually displays errors:

Trying other mirror.

I get these errors over and over.

I read up on how to edit the /etc/yum/fedora.repo and fedora-update.repo files to fix this, BUT, I have no such files...

This is what I have:

The other interesting thing is that my /var/log/yum.log is 0 bytes.Yet the yum.log-20100101 is 209709 bytes and shows all the updates I did just a month ago...

Where can I download the repo files from? How can I fix the repository?

I am new to Opensuse, I used Fedora for more than a year and installed OS 11.4 64bit to experience the awesome KDE that Opensuse offers. I added KDE 4.6 Stable: Index of /repositories/KDE:/Release:/46/openSUSE_11.4/x86_64 It worked fine since the install(I installed 11.4 this Saturday), suddenly yesterday I don't remember what I did, KDE stopped working. What happens is I login using kdm, then all the stuff loads up but when I try to open anything the whole KDE freezes. If I clicked the launcher on bottom bar it opens only at the beginning, then if I press anything inside the launcher things freeze. Then even the launcher freezes too.I rememeber doing 2 things I did before restart:1) I did sudo zypper dup2) I changed my theme to Qtcurve gtk look. I thought the problem might be because of the QTCurve theme and even uninstalled using alt+f2 command line restarted, no change

resubscribed to Rapidshare and in the past could easily download my friend's discussion papers using the file manager called DTA that integrates into Firefox. I have taken out a new subscription to RS and instead of getting the files I am receiving small html referer files. In theory this should be corrected by ticking a direct download setting on RS, but it is making no difference. I can manually download the files so I am certain the files are on RS in full form. I am also successfully auto logging into RS and this means the name and password are being handed over correctly

I have been running X applications over my ssh connection for a long time using the command ssh -Y servername.example.com -p 222 . About a week ago, I noticed that it no longer works. I also tried ssh -X servername.example.com -p 222 but again, no success.

While on holiday skype on my laptop Fedora 11 just stopped working. It would no longer load. I tried removing it and reinstaling more than once now. the icon just sits there when clicked it does nothing. I have tried starting it from the applications folder same thing it does nothing. the program was working perfectly then it just stopped

I am still struggling to get skype running on that platform, but it hardly works. First I tried to install skype-2.1.0.47-fc10.i586.rpm but it did not work, always ending in "Aborted (core dumped)".Then I found an entry in some forum and tried to use skype-2.1.0.47-fc9.i586. rpm, and it worked! I could make calls, the microphone was recognized and everything worked as it should be.

Until today. For reasons beyond my scope skype stopped working, and after I have looged in with my skype-name I got the above Aborted-message again. Even after the reboot of my Dell Laptop skype refused to work.I even installed all the recommended yum packages I found in this skype forum topic.Can anyone please advise me how to properly install a stable version of skype with Fedora 12? I searched the Fedora forums but did not use any useful entry.

I've seen a couple of threads about recent issues with skype, but nothing like this. Since today my mic is not working in skype (it does work otherwise, for exmaple in sound recorder). I'm using F11 x64. Yesterday I upgraded to the last skype version, and today the mic wasn't working. I downgraded now, thinking that was the problem, but still the same issue, so maybe some update did this (I'm not sure if alsa or pulseaudio got any update yesterday or today).