当我通过 ssh 连接到免费托管上的网站时,连接会立即关闭。如果我使用 filezilla,则一切正常,但我需要使用 sshcomposer install
在服务器上运行。
以下是给出的日志。也许有人可以帮助我。
$ ssh mylogin@address -v
OpenSSH_7.2p2 Ubuntu-4, OpenSSL 1.0.2g-fips 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to address [address] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/vladimir/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/vladimir/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/vladimir/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/vladimir/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/vladimir/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/vladimir/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/vladimir/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/vladimir/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.8
debug1: match: OpenSSH_6.8 pat OpenSSH* compat 0x04000000
debug1: Authenticating to address:22 as 'mylogin'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: [email protected]
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:CrzG27wkc/axQwXvnC4+WCWdAPW8eL3m5pLfaMvhDdE
debug1: Host 'address' is known and matches the ECDSA host key.
debug1: Found key in /home/vladimir/.ssh/known_hosts:1
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/vladimir/.ssh/id_rsa
debug1: Trying private key: /home/vladimir/.ssh/id_dsa
debug1: Trying private key: /home/vladimir/.ssh/id_ecdsa
debug1: Trying private key: /home/vladimir/.ssh/id_ed25519
debug1: Next authentication method: password
mylogin@address's password:
debug1: Authentication succeeded (password).
Authenticated to address ([address]:22).
debug1: channel 0: new [client-session]
debug1: Requesting [email protected]
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype [email protected] want_reply 0
debug1: Sending environment.
debug1: Sending env LANG = ru_RU.UTF-8
Welcome to LTD BeGet server 'free12'
Last login: Thu Aug 4 10:08:44 2016 from myipaddress
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 address closed.
Transferred: sent 2160, received 2572 bytes, in 0.8 seconds
Bytes per second: sent 2764.6, received 3291.9
debug1: Exit status 1