Re: Permission denied question

From: Bob C (bncarper_at_cs.com)
Date: 03/16/04


Date: 16 Mar 2004 03:57:15 -0800

b.carper@mchsi.com (Bob) wrote in message news:<f2265350.0403140648.5a87836c@posting.google.com>...
> Nuno Paquete <nmp@ispgaya.pt> wrote in message news:<4053ae9d$0$9946$a729d347@news.telepac.pt>...
> > Bob wrote:
> >
> > > I have had 2 PC's running RH7.3 on my local network for about a year.
> > > I have never had a problem connecting with ssh. I changed one PC from
> > > 192.168.1.2 to 192.168.1.3 in /etc/hosts and now I get permission
> > > denied on trying to connect. I'm not real familiar with ssh. What did
> > > I do wrong and how would I correct? I have spent a couple of hours
> > > trying with no luck.
> > >
> > > Bob
> >
> > Hi.
> > Try this:
> > -edit ".ssh/known_hosts" in your home directory and delete every lines
> > inside it, save the file after that.
> > Next time you access your server, there should be asked to you if you trust
> > that connection. Accept that.
> > If you can't access even though, try to connect with a non-root acount.
> >
> > Give feedback.
> >
> > Regards,
> > Nuno Paquete.
>
>
> Tried. Didn't work.
>
> I can ping the other PC from the host. When I run 'ssh - v ' on the
> remote I get 'restore_uid'. I'm also getting a connection refused -
> port 22 error when I try to access the remote on when on the remote
> machine. Firewall problem?
>
> Bob

I went back in and cleared everything out of /etc/hosts on all
machines and put the info back in. Then cleared out
".ssh/known_hosts" on all machines. Everything is working now. I'm
sure I did something but I don't have a clue what. Thanks again.

Bob



Relevant Pages

  • Re: Remote access
    ... RDP should be enabled by default, it was on my machines. ... the Server to a new gateway, not sure if its related but I remember ... >>remote access to work internally first. ... >>the workstation in the system applet in the control ...
    (microsoft.public.windows.server.sbs)
  • Re: Suggestions for remote admin of linux machines
    ... GP> pleased with the methods for remote administration that have come to ... GP> too much overhead given the limited capabilities of the machines ... for any of the admin work needed on a simple server. ... GP> multiport serial card on a machine running x-windows and use this to ...
    (comp.os.linux.misc)
  • Re: Virtual LAN Problem
    ... I mean that when a remote machine is connected to the remote ... LAN I can see the machine in the Server management--> Computers console ... >>I cannot see the machines at remote from the Server Management Computers ...
    (microsoft.public.windows.server.sbs)
  • Re: Authenticate connection as remote user
    ... >>> user does not exist on the server (MachineS). ... I just made a quick test and it appears that the the API is broken (at least ... no way you will be able to authenticate to remote server without popping up ...
    (microsoft.public.win32.programmer.networks)
  • Remote Debugging-No Suitable Logon Session
    ... I am trying to setup remote debugging on my first client-server setup, ... Windows Server 2003 with the Server Components installed from VS. ... machines are in the domain, and the user is an administrator of both machines ...
    (microsoft.public.dotnet.general)