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.

help with ssh access

Featured Replies

Hello, 

I was testing the spaceinvaderone ssh access tutorial in youtube and now I can not access ssh to my server.

 

I can not access via command line to the folder /root/.ssh of my server

 

If I access as root and try to cd /root/.ssh says "bash: cd: /root/.ssh: Not a directory"

If I try to create a folder .ssh inside /root it says "mkdir: cannot create directory ‘.ssh’: File exists"

 

The folder ssh in the usb flash exist (with several key files). If I remove all the keys and data, after enable ssh or reboot the sistem all the files apears there again.

 

Captura.JPG

bkp-diegonas-diagnostics-20241112-0921.zip

  • Community Expert

/root/.ssh is a pointer to /boot/config/ssh/root/

 

image.png.3bf44d90563cec7e4ca09d24629dd29a.png

Edited by MowMdown

  • Author

Thank you for answering.

OK, I think I have removed the root folder in /boot/config/ssh/root

What can I do in order to reactivate the ssh service?

Is it possible to uninstall and intall again the ssh service in order to have a brand new configuration?

 

Thank you

 

Regards

  • Community Expert
Nov 11 09:11:19 BKP-DiegoNas sshd[3327]: error: Bind to port 22 on 192.168.29.5 failed: Cannot assign requested address.
Nov 11 09:11:19 BKP-DiegoNas sshd[3327]: fatal: Cannot bind any address.

 

Reboot and post new diags, to see if this is a permanent error.

  • Community Expert

It's still there, if removing the ssh folder from the flash drive didn't help, I would recommend recreating the flash drive, backup the current one first and then recreate it using the USB tool and just restore the bare minimum, like the key, super.dat and the pools folder for the assignments, also copy the docker user templates folder, if all works you can then reconfigure the server or try restoring a few config files at a time from the backup to see if you can find the culprit.  

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.