Re: Cannot get ssh access to the new Debian server on my local network

2023-01-14 Thread Vincent Lefevre
On 2023-01-13 15:01:48 -0600, David Wright wrote:
>   ssh -v -v -v

Or shorter: ssh -vvv

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: Cannot get ssh access to the new Debian server on my local network

2023-01-13 Thread tomas
On Fri, Jan 13, 2023 at 04:04:09PM -0600, Tom Browder wrote:
> On Fri, Jan 13, 2023 at 3:02 PM David Wright  wrote:
> > Sorry if my suggestion is too obvious, but how about
> >   ssh -v -v -v

Obvious, but still spot-on :)


> Thanks, David, I needed a splash of cold water [...]

> Sorry for the wasted bandwidth.

C'm on. That's what mailing lists were made for: this thing gets
archived, indexed, and will help about fifteen other folks :)

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Cannot get ssh access to the new Debian server on my local network

2023-01-13 Thread Tom Browder
On Fri, Jan 13, 2023 at 3:02 PM David Wright  wrote:
> Sorry if my suggestion is too obvious, but how about
>   ssh -v -v -v
> and posting some output, rather than us playing guessing games.
...

Thanks, David, I needed a splash of cold water. It turns out I had put
my public keys on the new host in "$HOME/.ssh/authorized_hosts"
instead of "$HOME/.ssh/authorized_keys". Duh. FUMBLE FINGER

FYI, I have been fighting a regular power failure on the new host for
the last few days and was rushing too much in case the power shut off
during the initial configuration efforts. Thus I KNEW it couldn't be
the setup in the .ssh directory and my previous testing with ssh
hadn't given me a clue about looking in that directory.

All is well now, at least as far as ssh.

Sorry for the wasted bandwidth.

Cheers! And thanks.

-Tom



Re: Cannot get ssh access to the new Debian server on my local network

2023-01-13 Thread Dan Ritter
Tom Browder wrote: 
> I have my new host working and ssh from it to the other local Debian host.
> 
> BUT, I have not so far been able to ssh the other way from the old server
> to the new one. Both servers have password access blocked (thanks for the
> reminder from several folks in the other thread about Internet access to my
> network).
> 
> As far as I can tell, all sshd_config related settings are the same.

Start debugging with connectivity:

from A, ping B.

from B, ping A.

from A, telnet to B port 22, and look for an SSH banner.

from B, telnet to A port 22, and look for an SSH banner.

If you get this far, look in /var/log/auth.log to see problems
with the specific login.

Report error messages back here, if they're confusing.

-dsr-



Re: Cannot get ssh access to the new Debian server on my local network

2023-01-13 Thread David Wright
On Fri 13 Jan 2023 at 14:35:04 (-0600), Tom Browder wrote:
> I have my new host working and ssh from it to the other local Debian host.
> 
> BUT, I have not so far been able to ssh the other way from the old server
> to the new one. Both servers have password access blocked (thanks for the
> reminder from several folks in the other thread about Internet access to my
> network).
> 
> As far as I can tell, all sshd_config related settings are the same.
> 
> Ideas and suggestions are welcome.

Sorry if my suggestion is too obvious, but how about
  ssh -v -v -v
and posting some output, rather than us playing guessing games.

Cheers,
David.



Cannot get ssh access to the new Debian server on my local network

2023-01-13 Thread Tom Browder
I have my new host working and ssh from it to the other local Debian host.

BUT, I have not so far been able to ssh the other way from the old server
to the new one. Both servers have password access blocked (thanks for the
reminder from several folks in the other thread about Internet access to my
network).

As far as I can tell, all sshd_config related settings are the same.

Ideas and suggestions are welcome.

Best regards,

-Tom