Kami telah menyiapkan Cygwin di Windows 2012 dan layanan yang terkait dengan alat ini berjalan dengan baik di server.
Selama instalasi, kami telah membuat cyg_server pengguna lokal, kami mencoba membuat folder home menggunakan cyg_server sftp cyg_server@servername
tetapi dalam hal ini ketika kita coba lakukan sftp -v cyg_server@servername
itu meminta kata sandi yang telah kita masukkan dan koneksi yang dibuat di rumah segera ditutup dengan hasil di bawah ini.
detail
ssh -v cyg_server@fn002dataaege-n.fn.ae.ge.com
OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005
debug1: Reading configuration data /opt/LTIssh/etc/ssh_config
debug1: Connecting to fn002dataaege-n.fn.ae.ge.com [3.14.136.107] port 22.
debug1: Connection established.
debug1: identity file /export/home/chettigo/.ssh/identity type -1
debug1: identity file /export/home/chettigo/.ssh/id_rsa type 1
debug1: identity file /export/home/chettigo/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1
debug1: match: OpenSSH_5.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'fn002dataaege-n.fn.ae.ge.com' is known and matches the RSA host key.
debug1: Found key in /export/home/chettigo/.ssh/known_hosts:2035
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
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: Trying private key: /export/home/chettigo/.ssh/identity
debug1: Offering public key: /export/home/chettigo/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Trying private key: /export/home/chettigo/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
cyg_server@fn002dataaege-n.fn.ae.ge.com's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Last login: Thu Feb 26 06:23:07 2015 from gpsgc304.corporate.ge.com
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
Connection to fn002dataaege-n.fn.ae.ge.com closed.
debug1: Transferred: stdin 0, stdout 0, stderr 52 bytes in 17.6 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 3.0
debug1: Exit status 1
Bagaimana saya bisa men-debug dan menyelesaikan masalah ini?
ssh -v cyg_server@fn002dataaege-n.fn.ae.ge.com 2> error.log
. setelah gagal lihat ~ / error.log dan lihat apakah ada info debug yang lebih bermakna tentang kegagalan tersebut.