Internamente acedo no PC por SSH (Putty) e SFTP (Winscp). No tlm não consigo aceder nem internamente nem externamente (Já tentei várias apps: EX Explorer, Solid Explorer e Quick Editor Pro). A minha configuração atual é:
{
“log_level”: “info”,
“port”: 2222,
“username”: “root”,
“password”: “*****”,
“authorized_keys”: [
“ssh-rsa ********** rsa-key-20171014”
],
“sftp”: true,
“compatibility_mode”: false,
“allow_agent_forwarding”: false,
“allow_remote_port_forwarding”: false,
“allow_tcp_forwarding”: false,
“packages”: [],
“init_commands”: []
}
O Log que me aparece é:
Connection from 192.168.1.67 port 58247 on 192.168.1.89 port 2222
Postponed publickey for root from 192.168.1.67 port 58247 ssh2 [preauth]
Accepted publickey for root from 192.168.1.67 port 58247 ssh2: RSA SHA256:dsVAOxO1d56mNP08I9MA5K2tQSD7t9RbcD5rLauXT0s
Starting session: subsystem ‘sftp’ for root from 192.168.1.67 port 58247 id 0
Connection closed by 192.168.1.67 port 58247
Close session: user root from 192.168.1.67 port 58247 id 0
Transferred: sent 7552, received 2700 bytes
Closing connection to 192.168.1.67 port 58247
Connection from 192.168.1.65 port 43784 on 192.168.1.89 port 2222
Unable to negotiate with 192.168.1.65 port 43784: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1 [preauth]
Connection from 192.168.1.65 port 43785 on 192.168.1.89 port 2222
Unable to negotiate with 192.168.1.65 port 43785: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1 [preauth]
Connection from 192.168.1.65 port 43789 on 192.168.1.89 port 2222
Unable to negotiate with 192.168.1.65 port 43789: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1 [preauth]
Connection from 192.168.1.65 port 43790 on 192.168.1.89 port 2222
Unable to negotiate with 192.168.1.65 port 43790: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1 [preauth]
Quando entro por WinSCP, aceita a chave. Nas outras situações rejeita.