AIX SSH에 로그인할 수 없는 문제

AIX SSH에 로그인할 수 없는 문제

루트가 아닌 일반 사용자로는 ssh를 사용할 수 없습니다. 저도 비밀번호를 사용해 봤습니다. 성공적으로 로그인하고 나를 쫓아 냈습니다.

이것이 내가 받은 오류 메시지입니다.

unixadm@dmns03nim1:(/home/unixadm)>ssh -v msoidx
OpenSSH_6.0p1
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Failed dlopen: /usr/krb5/lib/libkrb5.a(libkrb5.a.so):   0509-022 Cannot load module /usr/krb5/lib/libkrb5.a(libkrb5.a.so).
        0509-026 System error: A file or directory in the path name does not exist.

debug1: Error loading Kerberos, disabling Kerberos auth.
ssh: Could not resolve hostname msoidx: Hostname and service name not provided or found
unixadm@dmns03nim1:(/home/unixadm)>ssh -v gpmshost
OpenSSH_6.0p1
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Failed dlopen: /usr/krb5/lib/libkrb5.a(libkrb5.a.so):   0509-022 Cannot load module /usr/krb5/lib/libkrb5.a(libkrb5.a.so).
        0509-026 System error: A file or directory in the path name does not exist.

debug1: Error loading Kerberos, disabling Kerberos auth.
debug1: Connecting to gpmshost [10.48.242.44] port 22.
debug1: Connection established.
debug1: identity file /home/unixadm/.ssh/id_rsa type 1
debug1: identity file /home/unixadm/.ssh/id_rsa-cert type -1
debug1: identity file /home/unixadm/.ssh/id_dsa type 2
debug1: identity file /home/unixadm/.ssh/id_dsa-cert type -1
debug1: identity file /home/unixadm/.ssh/id_ecdsa type -1
debug1: identity file /home/unixadm/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.0
debug1: match: OpenSSH_6.0 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.0
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA 0c:4d:d8:43:2a:b9:f1:04:71:c5:15:41:17:0f:21:14
debug1: Host 'gpmshost' is known and matches the RSA host key.
debug1: Found key in /home/unixadm/.ssh/known_hosts:209
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,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/unixadm/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Offering DSA public key: /home/unixadm/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 433
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
Authenticated to gpmshost ([10.48.242.44]:22).
debug1: channel 0: new [client-session]
debug1: Requesting [email protected]
debug1: Entering interactive session.
Last unsuccessful login: Mon Sep 22 12:14:32 EDT 2014 on ssh from 10.48.200.4
Last login: Thu Oct  1 09:15:09 EDT 2015 on /dev/pts/1 from dmns03nim1


*******************************************************************************
*******************************************************************************

AN ERROR OCCURRED DURING XGPMS1ST

CALL GE HEALTHCARE TO REVIEW THE FILE /gpms/gpms.errors
AND TO REMOVE THIS MESSAGE.

*******************************************************************************
*******************************************************************************



********************************************************************************
********************************************************************************
********************************************************************************
********************************************************************************
********************************************************************************
********************************************************************************
*****                                                                 **********
***  SYSTEM INITIALIZATION IN PROGRESS.  PLEASE WAIT WHILE IT FINISHES  ********
*****                                                                 **********
********************************************************************************
********************************************************************************
********************************************************************************
********************************************************************************
********************************************************************************
********************************************************************************
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype [email protected] reply 0
debug1: channel 0: free: client-session, nchannels 1
Connection to gpmshost closed.
Transferred: sent 3384, received 5808 bytes, in 0.3 seconds
Bytes per second: sent 12172.7, received 20892.2
debug1: Exit status 254

누구든지 무엇이 잘못되었는지 말해 줄 수 있나요?

답변1

파일의 마지막 줄을 /etc/netsvc.conf다음과 같이 변경합니다.

hosts=local4,bind4

관련 정보