[sf-lug] request for help re ssh -- sshd login failure
jim
jim at well.com
Sat Feb 6 12:27:35 PST 2016
Problem : we cannot use ssh to log in on a newly installed
Ubuntu host.
* We have a linux machine on local network 192.168.1.119
See specifics for this host ( 119 ) below.
* We installed openssh-server.
* Using an ssh client on a Ubuntu 12.04 host on the local
network 192.168.1.109 we cannot log in to 119
* After many attempts using the default ( yes ) settings, we
changed the following directive values in /etc/ssh/sshd_config
but with no difference in behavior or log messages.
X11Forwarding no ## changed from yes to no 20160205
UsePAM no ## changed from yes to no 20160206
109 $ ssh lerner at 192.168.1.119
rsa ~/.ssh/known_hosts negotiation successful
passwd:
Permission denied, please try again.
...
109 $
## see output of
119 $ tail -2 /var/log/auth.log
## at bottom of this file :
## server listening on 0.0.0.0 port 22
## server listening on :: port 22
## ?? does :: mean 192.168.1.119 ??
## ?? i.e. is sshd listing both on lo and eth0 ??
-------stats for host on 192.168.1.119-------------
##------
119 $ uname -a
Linux mailin 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25
17:15:33 UTC 2013 i686 i686 i386 GNU/Linux
##------
119 $ cat /etc/issue
Ubuntu 12.04.2 LTS \n \l
##------
119 $ free
total used free shared buffers cached
Mem: 4013004 1503756 2509248 0 226992 821120
-/+ buffers/cache: 455644 3557360
Swap: 2928628 0 2928628
##------
119 $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 19G 4.6G 13G 26% /
udev 2.0G 4.0K 2.0G 1% /dev
tmpfs 784M 892K 783M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 76K 2.0G 1% /run/shm
/dev/sda6 37G 176M 35G 1% /var/mail
/dev/sda5 9.2G 163M 8.6G 2% /home
/dev/sdb1 3.8G 1.6G 2.2G 42% /media/KINGSTON
##------
119 $ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
##------
119 $ tail -2 /var/log/auth.log
Feb 6 11:29:59 mailin sshd[8549]: Server listening on 0.0.0.0 port 22.
Feb 6 11:29:59 mailin sshd[8549]: Server listening on :: port 22.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20160206/b3cb3882/attachment.html>
More information about the sf-lug
mailing list