Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202349

Re: ssh

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: ssh
Date 2018-11-13 04:30 +0100
Message-ID <wTxyN-2cZ-3@gated-at.bofh.it> (permalink)
References <wTkUV-2f2-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/12/18 5:49 AM, Alan Taylor wrote:
> Greetings,

Hi.  :-)


> I have an ssh problem - one user can use it successfully, another cannot. I have checked and rechecked permissions until I am blue in the face …
> At the moment just trying to ssh into the same machine I am on for the problem user (the other user can ssh successfully, both to the console machine and outwards to others).
> Agent problem ? The successful user was setup in the installation, the problem user was added at the command line after initial setup.

Trouble-shooting can be tedious...


> Log output follows, appears to fail after the preauth stage …
> 
> Any suggestions gratefully accepted
> 
> root@sirius/etc/ssh # journalctl | grep sshd | grep "Nov 12 13:45"
<snip>


I would enter the following commands into the indicated accounts and 
computers, substituting place holders with actual values (USERNAME, 
SSH_CLIENT, SSH_SERVER).  If you still don't see it, cut and paste your 
console sessions into a reply:

1.  As the user having problems on the computer having problems:

	$ whoami

	$ hostname

	$ cat /etc/debian_version

	$ uname -a

	$ dpkg-query -W openssh-client

	$ ls -aFl /home/USERNAME/.ssh

	$ ssh -v SSH_SERVER

2.  As root on the SSH server:

	# hostname

	# cat /etc/debian_version

	# uname -a

	# dpkg-query -W openssh-server

	# ls -aFl /home/USERNAME/.ssh

	# grep USERNAME@SSH_CLIENT /home/USERNAME/.ssh/authorized_keys

	# tail /var/log/auth.log


David

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: ssh David Christensen <dpchrist@holgerdanske.com> - 2018-11-13 04:30 +0100
  Re: ssh Alan Taylor <ataylor@ieee.org> - 2018-11-13 05:40 +0100
    Re: ssh David Christensen <dpchrist@holgerdanske.com> - 2018-11-13 08:40 +0100
      Re: ssh Alan Taylor <alan.james.taylor@gmail.com> - 2018-11-15 07:20 +0100
        Re: ssh David Christensen <dpchrist@holgerdanske.com> - 2018-11-15 18:30 +0100
          Re: ssh Alan Taylor <alan.james.taylor@gmail.com> - 2018-11-17 05:30 +0100
            Re: ssh Michael Howard <mike@dewberryfields.co.uk> - 2018-11-18 13:00 +0100
              Re: ssh Alan Taylor <alan.james.taylor@gmail.com> - 2018-11-19 03:50 +0100
                Re: ssh Michael Howard <mike@dewberryfields.co.uk> - 2018-11-19 08:40 +0100
                Re: ssh john doe <johndoe65534@mail.com> - 2018-11-19 09:50 +0100
                Re: ssh Michael Stone <mstone@debian.org> - 2018-11-19 14:40 +0100
                Re: ssh Jim Popovitch <jim@k4vqc.com> - 2018-11-19 15:50 +0100
                Re: ssh Michael Stone <mstone@debian.org> - 2018-11-19 18:20 +0100
                Re: ssh Jim Popovitch <jim@k4vqc.com> - 2018-11-19 19:10 +0100
                Re: ssh Michael Stone <mstone@debian.org> - 2018-11-20 03:20 +0100
                Re: ssh Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-19 14:40 +0100

csiph-web