Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Activate flash backup = Unable to connect to backup.unraid.net:22

Featured Replies

Cant get the backup working, always get this error message.

 

"Unable to connect to backup.unraid.net:22"

image.png.a1aba6a7e4eede227061ba19372b187c.png

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

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.

  • Author
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

image.png.c62377d96d9facf23703825e686b0010.png

 

Do i have to open port 22 inbound?

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

image.png.c62377d96d9facf23703825e686b0010.png

 

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 $?

 

 

  • Author
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 $?

 

 

image.png.4c4b8e58fdb58abc96fcd90b34037754.png

Edited by JsonC

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?

  • 3 months later...

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

 

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

 

 

 

Hi, here are pics showing the plugin version and the error

 

 

 

 

 

unraid-pic1.thumb.jpg.e3a90a9640c78715ad49be2f45d54f9e.jpg

 

 

 

unraid-pic.thumb.jpg.4be43b92253a70298aa5979b2b5be546.jpg

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]

 

 

  • 1 year later...
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

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.