SSH ºñ¹Ð¹øÈ£ ¾øÀÌ Á¢¼ÓÇϱâ Áú¹®ÀÔ´Ï´Ù

BerryGood   
   Á¶È¸ 3263   Ãßõ 0    

http://www.linuxhorizon.ro/ssh-wo-passw.html (277)

OpenSSH_7.4p1, OpenSSL 1.0.2n-fips  7 Dec 2017
debug1: Connecting to *******.okddns.com [**.**.**.**] port **22.
debug1: Connection established.
debug1: identity file /var/services/homes/admin/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /var/services/homes/admin/.ssh/id_rsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000
debug1: Authenticating to *******.okddns.com:**22 as '*******'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: *****************@*******.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: *****************@*******.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-rsa SHA256:bVqn24LI/EcT2aTpvDm2+BmBWFXqQzLxtVQzQBVji**
debug1: Host '[********.okddns.com]:**22' is known and matches the RSA host key.
debug1: Found key in /var/services/homes/admin/.ssh/known_hosts:1
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /var/services/homes/admin/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: password
*******@********.okddns.com's password:


debug1: Authentication succeeded (password).
Authenticated to ********.okddns.com ([**.**.**.**]:**22).
debug1: channel 0: new [client-session]
debug1: Requesting ****************@*******.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype ***********@*******.com want_reply 0
debug1: Remote: Ignored authorized keys: bad ownership or modes for directory /volume1/homes/********

아무리 씨름을 해도 해결이 안나네요..
ssh -v 로 왜 안되는지 살펴보니 저렇게 메시지가 나오는데 봐도 뭐가 문제인지 모르겠습니다.
/etc/ssh/sshd_config 수정도 해봤고
~/.ssh 등의 퍼미션도 변경해봤지만 안됩니다...
뭐가 문제일까요 ㅠㅠ

ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
authorized_keys ÆÄÀÏ ÆÛ¹Ì¼Ç È®ÀÎÇغ¸¼¼¿ä
     
BerryGood 2019-02
600À¸·Îµµ 644·Îµµ ÇغÃÁö¸¸ ¾ÈµË´Ï´Ù...
          
Ȥ½Ã SELinux È°¼ºÈ­µÇ¾îÀÖÀ¸¸é security contextµµ È®ÀÎÇغ¸¼¼¿ä..
               
BerryGood 2019-02
½Ã³î·ÎÁöÀε¥ SELinux °ü·Ã ¸í·É¾î°¡ µ¿ÀÛÇÏÁö ¾Ê½À´Ï´Ù.


NAS