Hallo,
auf dem neu aufgesetzten MemberServer - 4.1.0-ucs163-amd64 #1 SMP Debian 4.1.6-1.163.201511301312 (2015-11-30) x86_64 GNU/Linux
SSH Connect wird sofort getötet
Member:
univention-join
univention-join failed
Message: ssh-login for Administrator@master failed. Maybe you entered a wrong password.
Master:
sshd[20562]: Accepted keyboard-interactive/pam for Administrator from IP port 52705 ssh2
sshd[20562]: pam_unix(sshd:session): session opened for user Administrator by (uid=0)
sshd[20569]: Received disconnect from IP: 11: disconnected by user
sshd[20562]: pam_unix(sshd:session): session closed for user Administrator
Member:
univention-ssh /tmp/admin -v Administrator@master.tld pwd
OpenSSH_6.0p1 Debian-4.51.201510261316, OpenSSL 1.0.2d 9 Jul 2015
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 28: Applying options for *
debug1: Connecting to master [IP] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
…
debug1: Found key in /root/.ssh/known_hosts:7
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive
debug1: Next authentication method: gssapi-keyex
debug1: No valid Key exchange context
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure. Minor code may provide more information
Credentials cache file ‘/tmp/krb5cc_0’ not found
debug1: Unspecified GSS failure. Minor code may provide more information
Credentials cache file ‘/tmp/krb5cc_0’ not found
debug1: Unspecified GSS failure. Minor code may provide more information
debug1: Unspecified GSS failure. Minor code may provide more information
Credentials cache file ‘/tmp/krb5cc_0’ not found
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Next authentication method: keyboard-interactive
debug1: read_passphrase: can’t open /dev/tty: No such device or address
debug1: permanently_drop_suid: 0
debug1: Authentication succeeded (keyboard-interactive).
Authenticated to uucs1cgn ([ip]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = de_DE.UTF-8
debug1: Sending command: pwd
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 1912, received 2024 bytes, in 0.1 seconds
Bytes per second: sent 13285.2, received 14063.4
debug1: Exit status 1
Member:
univention-ssh /tmp/admin Administrator@uucs1cgn.nrg.loc
Univention DC Master 4.1-0:
The UCS management system is available at master.tld/ (ip)
You can log into the Univention Management Console - the principal tool to manage
users, groups, etc. - using the “Administrator” account and the password selected
for the root user on the master domain controller.
Last login: Tue Jan 12 12:26:20 2016 from member.tld
Connection to master.tld closed.
Master:
sshd[21435]: Accepted keyboard-interactive/pam for Administrator from ip port 52733 ssh2
sshd[21435]: pam_unix(sshd:session): session opened for user Administrator by (uid=0)
sshd[21442]: Received disconnect from ip: 11: disconnected by user
sshd[21435]: pam_unix(sshd:session): session closed for user Administrator
Member:
ssh administrator@master.tld
Password:
Univention DC Master 4.1-0:
The UCS management system is available at master.tld/ (ip)
You can log into the Univention Management Console - the principal tool to manage
users, groups, etc. - using the “Administrator” account and the password selected
for the root user on the master domain controller.
Connection to master closed.
Master:
su - Administrator
su[22258]: Successful su for Administrator by root
su[22258]: + /dev/pts/0 root:Administrator
su[22258]: pam_unix(su:session): session opened for user Administrator by root(uid=0)
su[22258]: pam_unix(su:session): session closed for user Administrator
Master noch paar Variablen:
auth/sshd/group/Domain Admins=yes
auth/sshd/restrict=yes
samba/homedirserver=otherMemberServer
Was nun???