I've tried service sshd restart, I've added sshd:all:allow to my /etc/allow.hosts and the remote user tried rm ~/.ssh/known_hosts. I also checked the logs: cat /var/logs/secure | grep ssh and it says Accepted password for $user from ...
This is the first time this particular user has tried connecting but other users have successfully connected to my machine for several days.
On a Ubuntu 12.04 server, I am getting the following pair of messages in auth.log several times a minute:
Jan 17 22:04:25 binx sshd[14659]: Connection closed by 192.168.0.1 [preauth]
Jan 17 22:04:25 binx sshd[14661]: Connection closed by 192.168.0.5 [preauth]
Both those IP addresses belong to separate computers (192.168.0.1 is our firewall/router, 192.168.0.5 is our backup machine), and seem to
I used to login as :ssh root@servip with a password authentication into my centos 6 server.
I am not sure if what I have done has caused this, but while trying to get over my problem of accessing webmin remotely I followed the following tutorial until I reached:
adding auth required pam_google_authenticator.so into /etc/pam.d/sshd. Then by mistake, I have closed the ssh session.
Hopefully you guys can help and see if I've done something weird here, I'm trying to log in with a user I set up, FileZilla shows me:
Command: open "///@///" Command: Pass: ********
Status: Connected to ///
Error: Connection closed by server with exitcode 1
Error: Could not connect to server
So, I went into auth.log and I see this:
Feb 12 11:08:49 sshd[12056]: Accepted password for /// fr
Hi All,
I have configured a ldap server and trying to login to same ldap server using a ldap user.
host: ubuntu
guest: distribution based on gentoo embedded
the problem is that after setting up a connection between the host and the guest (via tap interface) I have problems using ssh.
I’m trying to execute the login command but it fails.
As root (via SSH) I get:
root@server:~# login
Connection to 192.168.0.50 closed.
The SSH connection is closed.
My system is CentOS 6.3, openldap is configured well, PAM authorization works fine.
But after turning pam_check_host_attr to yes, all LDAP-auths fail with message "Access denied for this host".
hostname on the server returns correct value, the same value is listed in user's profile.
"pam_check_host_attr no" works fine and allows everyone with correct uid/password
a piece of /var/log/secure:
Se
I just logged in to my remote shell account like I always do: as an ordinary user, because root login is disabled in sshd. Then I may want to become root with the 'su -' command.
But the 'su -' command did not work today. Every time I tried, I got this laconic message: "Sorry."