[Klug-general] ssh woes

James Morris jwm.art.net at gmail.com
Mon Nov 13 12:44:57 UTC 2017


Meant to reply earlier... Can you access the sshd config? It might be set
to deny access for password authentication in which case you need to setup
SSH keys.
James.


On 9 November 2017 at 21:56, Sharon Kimble via Kent <kent at mailman.lug.org.uk
> wrote:

>
> I'm still trying to ssh into my NAS box, and I've come across a couple
> of things regarding ssh that I'm not sure of. Like -
>
> - when I try to do 'ssh boudiccas at 192.168.1.104' it replies
>   "boudiccas at 192.168.1.104's password:
> Permission denied, please try again.
> Connection to 192.168.1.104 closed."
>
> In this case I'm using the exact same password that I use to login to the
> web GUI for my synology box, and also the same password that I give to sftp
> in nautilus to access my personal home space on the box. If I am using the
> right password for ssh, why doesn't it accept it?
>
> Have I got everything that I need to use for ssh installed properly
> please? Currently I have 'openssh-client' and 'openssh-server' and
> 'ssh'. Am I missing some other program which is why I'm consistently
> unable to ssh into any other places please?
>
> This is the current state of ssh at the moment -
>
> --8<---------------cut here---------------start------------->8---
> ; sudo service ssh status
> [sudo] password for boudiccas:
> ● ssh.service - OpenBSD Secure Shell server
>    Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor
> preset: enabled)
>    Active: active (running) since Thu 2017-11-09 16:22:14 GMT; 5h 28min ago
>   Process: 1610 ExecReload=/bin/kill -HUP $MAINPID (code=exited,
> status=0/SUCCESS)
>  Main PID: 19302 (sshd)
>     Tasks: 1 (limit: 4915)
>    Memory: 1.4M
>       CPU: 47ms
>    CGroup: /system.slice/ssh.service
>            └─19302 /usr/sbin/sshd -D
>
> Nov 09 16:22:14 London systemd[1]: Starting OpenBSD Secure Shell server...
> Nov 09 16:22:14 London sshd[19302]: Server listening on 0.0.0.0 port 22.
> Nov 09 16:22:14 London sshd[19302]: Server listening on :: port 22.
> Nov 09 16:22:14 London systemd[1]: Started OpenBSD Secure Shell server.
> Nov 09 21:37:41 London sshd[28276]: pam_unix(sshd:auth): authentication
> failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.1.100  user=root
> Nov 09 21:37:43 London sshd[28276]: Failed password for root from
> 192.168.1.100 port 37152 ssh2
> Nov 09 21:37:50 London sshd[28276]: Failed password for root from
> 192.168.1.100 port 37152 ssh2
> Nov 09 21:37:50 London sshd[28276]: error: maximum authentication attempts
> exceeded for root from 192.168.1.100 port 37152 ssh2 [preauth]
> --8<---------------cut here---------------end--------------->8---
>
> So ssh is up and running here, but I still can't access anywhere else with
> it.
>
> Can anyone help and advise please?
>
> Thanks
> Sharon.
> --
> A taste of linux = http://www.sharons.org.uk
> TGmeds = http://www.tgmeds.org.uk
> DrugFacts = https://www.drugfacts.org.uk
> Debian 9.2, fluxbox 1.3.5-2, emacs 25.3.2, org-mode 9.1.1
>
> --
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20171113/8dba8154/attachment.html>


More information about the Kent mailing list