On Sep 6, 6:22 am, Wolfgang Meiners <
WolfgangMeiner...@web.de> wrote:
> Am 05.09.12 17:11, schrieb Blue Hand Talking:
>
> > I am able to ssh into my server. From there I am attempting to ssh to
> > another account on the same server.
Answer to this problem:
I had re-installled openssl, as I was having a problem with it. This
messed
up the original installation.
Below is a quote from
http://help.lockergnome.com/linux/Bug-584911-bind9-hard-coded-dependency-usr-lib-ssl-openssl-c--ftopict521350.html
which addresses the problem:
"/usr/lib/ssl/openssl.cnf" is a symlink to "/etc/ssl/openssl.cnf",
both provided by the package "openssl". Unfortunately, on the
respective machine, "/etc/ssl/openssl.cnf" is modified and not world-
readable as it is by default after installing the "openssl" package. "
"I think the point is, bind9 should not expect to be able to read
configuration files from other packages that it not depends on. Also,
if a dependency on "openssl" is explicit and intentional, then users
should be warned if some configuration files need to be readable by
the user the named process runs as. I clearly was not expecting that
there is a connection between "bind9" and "openssl" whatsoever."
(above quoted from Mirko Gebauer)
The above was exactly my problem.
By deleting the symlink, "/usr/lib/ssl/openssl.cnf", my openssl
installation works fine.
I had one more problem, ssh-keygen would still not work.
This was caused by my home directory permissions being set to 775
Changing this to 755 fixed the ssh-keygen problem.
And the answer to why I would want to ssh to another user on the same
machine is that
I have a git repository stored under one user name, and I run my web
server under another user.
When I deploy with Capistrano I ssh from the web user to the
repository user to deploy my site.
since git uses ssh, su was not an easily implemented option.
Cheers,
Jet