JsonC Posted October 7, 2022 Share Posted October 7, 2022 Cant get the backup working, always get this error message. "Unable to connect to backup.unraid.net:22" any ideas what to try? So far i've tried updating, log out and in from my servers, restarting in terminal, but it always returns the same error when i press activate. tower-diagnostics-20221007-2318.zip Link to comment
ljm42 Posted October 7, 2022 Share Posted October 7, 2022 This means that some sort of firewall on your network is preventing the server from connecting to backup.unraid.net on port 22. You'll need to unblock that on your firewall in order to use the automated flash backup feature. 1 Link to comment
JsonC Posted October 8, 2022 Author Share Posted October 8, 2022 16 hours ago, ljm42 said: This means that some sort of firewall on your network is preventing the server from connecting to backup.unraid.net on port 22. You'll need to unblock that on your firewall in order to use the automated flash backup feature. I do not have any rules that reject outbound ssh connections, or is it inbound? if i try ssh backup.unraid.net in terminal i get permission denied, not time-out Do i have to open port 22 inbound? Link to comment
ljm42 Posted October 11, 2022 Share Posted October 11, 2022 On 10/8/2022 at 7:10 AM, JsonC said: I do not have any rules that reject outbound ssh connections, or is it inbound? if i try ssh backup.unraid.net in terminal i get permission denied, not time-out Do i have to open port 22 inbound? No, no inbound ports required. Please open a web terminal and run these two commands: timeout 5 bash -c "</dev/tcp/backup.unraid.net/22" echo $? Link to comment
JsonC Posted October 11, 2022 Author Share Posted October 11, 2022 (edited) 2 hours ago, ljm42 said: No, no inbound ports required. Please open a web terminal and run these two commands: timeout 5 bash -c "</dev/tcp/backup.unraid.net/22" echo $? Edited October 11, 2022 by JsonC Link to comment
ljm42 Posted October 13, 2022 Share Posted October 13, 2022 I am pretty confused by the fact that this works: ssh backup.unraid.net and this doesn't: timeout 5 bash -c "</dev/tcp/backup.unraid.net/22" echo $? The only thing I can think of is that the bash command isn't using ssh and maybe your firewall is blocking it because it expects port 22 traffic to be ssh. What firewall are you using, and can you check the logs to see what outgoing traffic is being blocked when you type that bash command? Link to comment
maverhick Posted January 30, 2023 Share Posted January 30, 2023 I have the same issue. Would it help if I posted the diagnostics? Quote root@server:~# timeout 5 bash -c "</dev/tcp/backup.unraid.net/22" echo $? 124 root@server:~# ssh backup.unraid.net [email protected]: Permission denied (publickey). root@server:~# The above is my server response on terminal Link to comment
ljm42 Posted January 30, 2023 Share Posted January 30, 2023 4 hours ago, maverhick said: I have the same issue. This thread is from a few versions ago so things have changed a bit. Please make sure you have the latest version of the plugin and then post a screenshot of your issue Link to comment
maverhick Posted February 4, 2023 Share Posted February 4, 2023 Hi, here are pics showing the plugin version and the error Link to comment
ljm42 Posted February 6, 2023 Share Posted February 6, 2023 On 2/3/2023 at 11:21 PM, maverhick said: Hi, here are pics showing the plugin version and the error Please open a web terminal and run this command, then paste the results back here: ssh -v -T [email protected] Link to comment
etegration Posted March 5 Share Posted March 5 On 2/7/2023 at 1:30 AM, ljm42 said: Please open a web terminal and run this command, then paste the results back here: ssh -v -T [email protected] hi. im trying to activate the flash backup and it just says "Activating" and has been so for 10 mins. Is it normal? This unraid is not behind my opnsense router. It has a clear path to the wan router and out to Internet. My output for the above command looks ok. :~# ssh -v -T [email protected] OpenSSH_9.3p2, OpenSSL 1.1.1v 1 Aug 2023 debug1: Reading configuration data /root/.ssh/config debug1: /root/.ssh/config line 1: Applying options for backup.unraid.net debug1: Reading configuration data /etc/ssh/ssh_config debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling debug1: Connecting to backup.unraid.net [54.70.72.154] port 22. debug1: Connection established. debug1: identity file /root/.ssh/unraidbackup_id_ed25519 type 3 debug1: identity file /root/.ssh/unraidbackup_id_ed25519-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.3 debug1: Remote protocol version 2.0, remote software version OpenSSH_8.9p1 Ubuntu-3ubuntu0.6 debug1: compat_banner: match: OpenSSH_8.9p1 Ubuntu-3ubuntu0.6 pat OpenSSH* compat 0x04000000 debug1: Authenticating to backup.unraid.net:22 as 'git' debug1: load_hostkeys: fopen /root/.ssh/known_hosts2: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: [email protected] debug1: kex: host key algorithm: ssh-ed25519 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: SSH2_MSG_KEX_ECDH_REPLY received debug1: Server host key: ssh-ed25519 SHA256:hz1eeL5LRKm5o+ONM7NbW9AG0Eck/pZTP+0lMtqgQ3I debug1: load_hostkeys: fopen /root/.ssh/known_hosts2: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory debug1: Host 'backup.unraid.net' is known and matches the ED25519 host key. debug1: Found key in /root/.ssh/known_hosts:3 debug1: rekey out after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: rekey in after 134217728 blocks debug1: Will attempt key: /root/.ssh/unraidbackup_id_ed25519 ED25519 SHA256:qyhFWkQOH0AxieL4NTj4xP4LDbpsvNwgYT0j2osJKyI explicit debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com> debug1: kex_input_ext_info: [email protected]=<0> debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering public key: /root/.ssh/unraidbackup_id_ed25519 ED25519 SHA256:qyhFWkQOH0AxieL4NTj4xP4LDbpsvNwgYT0j2osJKyI explicit debug1: Server accepts key: /root/.ssh/unraidbackup_id_ed25519 ED25519 SHA256:qyhFWkQOH0AxieL4NTj4xP4LDbpsvNwgYT0j2osJKyI explicit Authenticated to backup.unraid.net ([54.70.72.154]:22) using "publickey". debug1: channel 0: new session [client-session] (inactive timeout: 0) debug1: Requesting [email protected] debug1: Entering interactive session. debug1: pledge: filesystem debug1: client_input_global_request: rtype [email protected] want_reply 0 debug1: client_input_hostkeys: searching /root/.ssh/known_hosts for backup.unraid.net / (none) debug1: client_input_hostkeys: searching /root/.ssh/known_hosts2 for backup.unraid.net / (none) debug1: client_input_hostkeys: hostkeys file /root/.ssh/known_hosts2 does not exist debug1: client_input_hostkeys: no new or deprecated keys from server debug1: Remote: /home/git/.ssh/authorized_keys:10797: key options: command debug1: Remote: /home/git/.ssh/authorized_keys:10797: key options: command debug1: pledge: fork You have successfully authenticated over SSH but interactive shells are not supported here. Unraid Flash Backup should have no issues connecting. Goodbye. 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 Transferred: sent 3388, received 3824 bytes, in 0.7 seconds Bytes per second: sent 5087.3, received 5742.0 debug1: Exit status 128 Link to comment
Recommended Posts