Ciao a tutti,
sto provando da qualche giorno a configurare il mio QNAP TS-251 per poter effettuare l'accesso tramite ssh quando sono fuori casa.
Ho effettuato la registrazione del DDNS, configurato sul QNAP (tutto ok), configurato il port-forwarding sul mio router TP-LINK W8980 (porta 21,22,80,8080....)
Adesso, se provo a connettermi da casa (all'interno dunque della stessa lan, non ho problemi con ssh...)
Se effettuo l'accesso da fuori invece ricevo l'errore in oggetto:
#########################################################
my_pc$ ssh -v -l user my_qnap_free_dns.home.dhs.org
OpenSSH_6.9p1, LibreSSL 2.1.7
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: /etc/ssh/ssh_config line 102: Applying options for *
debug1: Connecting to my_qnap_free_dns.home.dhs.org port 22.
debug1: Connection established.
debug1: identity file /Users/USER/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/USER/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/USER/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/USER/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/USER/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/USER/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/USER/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/USER/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH_4* compat 0x00000000
debug1: Authenticating to my_qnap_free_dns.home.dhs.org:22 as 'admin'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-sha1 none
debug1: kex: client->server aes128-ctr hmac-sha1 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<7680<8192) sent
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: ssh-rsa SHA256:fXxxxXXXXxxxXXxxXXXxXXXXXX
debug1: Host 'my_qnap_free_dns.home.dhs.org' is known and matches the RSA host key.
debug1: Found key in /Users/USER/.ssh/known_hosts:1
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,gssapi-with-mic
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /Users/USER/.ssh/id_rsa
debug1: Authentications that can continue: publickey,gssapi-with-mic
debug1: Trying private key: /Users/USER/.ssh/id_dsa
debug1: Trying private key: /Users/USER/.ssh/id_ecdsa
debug1: Trying private key: /Users/USER/.ssh/id_ed25519
debug1: No more authentication methods to try.
Permission denied (publickey,gssapi-with-mic).
my_pc$
#########################################################
Tra i vari tentativi ho generato anche la chiave RSA sul QNAP e poi trasferita sul mio pc....ma nulla!
Grazie e a presto,
Remote SSH to QNAP - PERMISSION DENIED
Discussioni sulle funzioni di DDNS e port-forwarding dei NAS.
-
- Messaggi: 3
- Iscritto il: 24 feb 2016, 23:44
Torna a “DDNS & Port Forwarding”
Vai a
- Generale
- ↳ Annunci importanti
- ↳ Presentazione dei nuovi iscritti
- ↳ Novità, anticipazioni, eventi e test dal mondo QNAP
- ↳ Mercatino dell'usato elettronico
- ↳ Prevendita [consigli x l'acquisto]
- QNAP ergo sum!
- ↳ L'angolo delle vanità
- ↳ Wiki QNAP (aka QNAPedia)
- ↳ Guida Utente online
- ↳ QNAP Shop
- ↳ FAQ (Italiano)
- ↳ QNAP Blog uffciale (in italiano)
- Firmware e QPKG
- ↳ Firmware per NAS (è richiesto l'accesso)
- ↳ Modelli fuori produzione
- ↳ [STABILE] NMP-1000P
- ↳ Pacchetti software QPKG
- ↳ MLDonkey / aMule
- ↳ SSOTS (Squeezebox Server On Turbo Station)
- ↳ Optware IPKG (Itsy Package Management System)
- ↳ phpMyAdmin
- ↳ Joomla!
- ↳ WordPress
- ↳ SABnzbd+
- ↳ AjaXplorer
- ↳ XDove
- ↳ Asterisk
- ↳ Icestation (BETA)
- ↳ rTorrent++ (BETA)
- ↳ GLPI
- ↳ NZBGet
- ↳ ownCloud
- ↳ HD Station
- ↳ TV Station
- ↳ Google Drive Sync
- ↳ HappyGet
- ↳ DJ Station
- ↳ Virtualization Station
- ↳ Notes Station
- ↳ Utility varie
- Discussioni specifiche
- ↳ QIoT Containers
- ↳ PlayStation, Xbox, UPnP, DLNA, Digital Media Player
- ↳ DDNS & Port Forwarding
- ↳ RAID
- ↳ Download Station e QGet
- ↳ Stazione di Sorveglianza e IP cams
- ↳ Backup & Restore-NetBak Replicator & software di backup di terze parti
- ↳ Remote Replication/ Disaster Recovery
- ↳ Apple Mac OS
- ↳ Miscellanea
- ↳ QGenie