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.

Openssh plugin for unRaid v5b11+

Featured Replies

Hello there,

 

I've played a little bit with the new unRaid plugin system and wrote a plugin which installs openssh.

Now I'll try to add the webinterface part to enable/disable the sshd.

opensshd-0.1-i468-brun0.plg.txt

Excellent job! think you could upgrade it to the 5.9 that was just released?  I would do it (doesn't seem hard) but I don't have c compilers on my unRAID because they interfere with Plex.

  • 3 months later...

Any update to this? Would love to get SSH going.

I actually took brun0's plugin and updated with the 5.9p1 version of OpenSSH.  It works on my end, let me know what you think.

 

opensshd-5.9-i486-savestheday.plg.txt

ran the plugin and the open sslsolibs downloaded and installed but

when it came to the ssh file it says ERROR: 404 not found. bad download deleting

 

Joe

 

UNRAID5 BLD 12A

Tried with the new fix but same error

 

This time  I ran the plugin and the open sslsolibs says it is already installed but

when it came to the ssh file it says ERROR: 404 not found. bad download deleting

 

Joe

I bet you've already got the package and its corrupt. Delete the existing pkg. I saw that error in my testing and that was the fix.

The issue is that openssh-5.9p1-i486-1.txz needs to be changed to openssh-5.9p1-i486-2.txz. The -1 file has been removed and gives a 404.

 

I updated the link and MD5 and attached it here, let me know if this works.

opensshd-5.9-i486-savestheday.plg.txt

The issue is that openssh-5.9p1-i486-1.txz needs to be changed to openssh-5.9p1-i486-2.txz. The -1 file has been removed and gives a 404.

 

I updated the link and MD5 and attached it here, let me know if this works.

 

Thx dude!  Thought it was the openssl package. 

Package now installed fine with the latest corrected plugin.

 

Thanks

Joe

 

 

  • 3 weeks later...

When running on my beta12a server, I see several warning messages during the plg install;

Warning: simplexml_load_file(): opensshd-5.9-i486-savestheday.plg:1: parser warning : Unsupported version '1.1' in /usr/local/sbin/installplg on line 13
Warning: simplexml_load_file(): <?xml version='1.1' standalone='yes'?> in /usr/local/sbin/installplg on line 13
Warning: simplexml_load_file():                    ^ in /usr/local/sbin/installplg on line 13

 

I'm guessing due to the XML version 1.1 line at the top of the .plg file; opensshd-5.9-i486-savestheday.plg

<?xml version='1.1' standalone='yes'?>

 

compared to sabnzbd-0.4c-i468-bw.plg;

<?xml version='1.0' standalone='yes'?>

 

Not up to speed on plugin creation so perhaps it's by design in which case I assume later unRAID betas are using 1.1?

 

Just figured it was worth flagging.

 

 

 

Regards,

RJ

 

  • 2 months later...

i'm having the same issue

 

installplg opensshd-5.9-i486-savestheday.plg.txt
installing plugin: opensshd-5.9-i486-savestheday.plg.txt

Warning: simplexml_load_file(): opensshd-5.9-i486-savestheday.plg.txt:1: parser warning : Unsupported version '1.1' in /usr/local/sbin/installp                                              lg on line 13

Warning: simplexml_load_file(): <?xml version='1.1' standalone='yes'?> in /usr/local/sbin/installplg on line 13

Warning: simplexml_load_file():                    ^ in /usr/local/sbin/installplg on line 13
file /boot/packages/openssl-solibs-0.9.8r-i486-3.txz: already exists
  upgradepkg --install-new /boot/packages/openssl-solibs-0.9.8r-i486-3.txz ...
+==============================================================================
| Skipping package openssl-solibs-0.9.8r-i486-3 (already installed)
+==============================================================================


success
file /boot/packages/openssh-5.9p1-i486-2.txz: already exists
  upgradepkg --install-new /boot/packages/openssh-5.9p1-i486-2.txz ...
+==============================================================================
| Installing new package /boot/packages/openssh-5.9p1-i486-2.txz
+==============================================================================

Verifying package openssh-5.9p1-i486-2.txz.
xz: (stdin): Unexpected end of input
Unable to install /boot/packages/openssh-5.9p1-i486-2.txz:  tar archive is corrupt (tar returned error code 2)

success
file /tmp/openssh-install: successfully wrote INLINE file contents
  /bin/bash /tmp/openssh-install ... /tmp/openssh-install: line 5: /usr/bin/ssh-keygen: No such file or directory
/tmp/openssh-install: line 8: /usr/bin/ssh-keygen: No such file or directory
/tmp/openssh-install: line 11: /usr/bin/ssh-keygen: No such file or directory
cp: cannot stat `/etc/ssh/sshd_config': No such file or directory
cp: cannot stat `/boot/config/plugins/openssh/sshd_config': No such file or directory
chmod: cannot access `/etc/ssh/sshd_config': No such file or directory
cp: cannot stat `/boot/config/plugins/openssh/ssh_host_dsa_key': No such file or directory
chmod: cannot access `/etc/ssh/ssh_host_dsa_key': No such file or directory
cp: cannot stat `/boot/config/plugins/openssh/ssh_host_dsa_key.pub': No such file or directory
chmod: cannot access `/etc/ssh/ssh_host_dsa_key.pub': No such file or directory
cp: cannot stat `/boot/config/plugins/openssh/ssh_host_key': No such file or directory
chmod: cannot access `/etc/ssh/ssh_host_key': No such file or directory
cp: cannot stat `/boot/config/plugins/openssh/ssh_host_key.pub': No such file or directory
chmod: cannot access `/etc/ssh/ssh_host_key.pub': No such file or directory
cp: cannot stat `/boot/config/plugins/openssh/ssh_host_rsa_key': No such file or directory
chmod: cannot access `/etc/ssh/ssh_host_rsa_key': No such file or directory
cp: cannot stat `/boot/config/plugins/openssh/ssh_host_rsa_key.pub': No such file or directory
chmod: cannot access `/etc/ssh/ssh_host_rsa_key.pub': No such file or directory
/tmp/openssh-install: line 32: /etc/rc.d/rc.sshd: No such file or directory
success
file /var/log/plugins/openssh: already exists
plugin successfully installed

  • 1 month later...

I was thinking of extending the plugin to include control over start/stop/restart from UnRAID webgui and perhaps expose some of the more useful params from sshd_config.  Maybe even package DenyHosts (http://denyhosts.sourceforge.net/) with it too if that's do-able for those like me who run SSH over WAN and want to manage who has access including auto-banning SSH bots etc.

 

Would there be any interest or should I just stick to hacking something together that works for just me?

 

 

I would be interested in some improved functionality!

  • 3 weeks later...

Same here! A nice, robust SSH PLG is sorely needed.

When I tried to install the 5.9 plugin, it indicated there was a problem with the 5.9 file. I went to the actual webpage:

http://slackware.mirrors.tds.net/pub/slackware//slackware-current/slackware/n/

and found that 5.9 no longer exists. It has been replaced with 6.0. I suspect this will be a continuing issue because of the 'current directory'.

 

Anyways, I switched the 5.9 file to:

<FILE Name="/boot/packages/openssh-6.0p1-i486-1.txz" Run="upgradepkg --install-new">

<URL>http://slackware.mirrors.tds.net/pub/slackware//slackware-current/slackware/n/openssh-6.0p1-i486-1.txz</URL>

</FILE>

 

and had to remove the MD5 check -- where can this be located???

 

With this switched out, installation now works again.

When I tried to install the 5.9 plugin, it indicated there was a problem with the 5.9 file. I went to the actual webpage:

http://slackware.mirrors.tds.net/pub/slackware//slackware-current/slackware/n/

and found that 5.9 no longer exists. It has been replaced with 6.0. I suspect this will be a continuing issue because of the 'current directory'.

 

Anyways, I switched the 5.9 file to:

<FILE Name="/boot/packages/openssh-6.0p1-i486-1.txz" Run="upgradepkg --install-new">

<URL>http://slackware.mirrors.tds.net/pub/slackware//slackware-current/slackware/n/openssh-6.0p1-i486-1.txz</URL>

</FILE>

 

and had to remove the MD5 check -- where can this be located???

 

With this switched out, installation now works again.

 

Andrew,

 

Out if interest, were you able to get it working with v6.0 of OpenSSH?  I ask as I initially used that in my updated SSH plugin which I linked to in an earlier post. 

 

However, I found that whilst it was possible to install OpenSSH v6.0p1 package, when it came time to execute the sshd process, it would fail with an error requiring a later version of glibc (2.15).  Which itself turned out to be an issue as that caused segfault messages in the syslog when cron jobs were being run. 

 

I'd like to know if your SSH process is up and running using v6.0

 

 

 

 

 

Out if interest, were you able to get it working with v6.0 of OpenSSH?  I ask as I initially used that in my updated SSH plugin which I linked to in an earlier post. 

I was out of town last week, so I apologize for my slow response. I installed this for the sole purpose of using Crashplan_GUI, and I have not been able to get crashplan to work for me. There could be many other issues preventing me from getting that to work, so I'm not sure if it's the 6.0 or not.

  • 3 weeks later...

Plugin seems to work great for me, but doesn't remain across reboots... I have to re-install from unmenu each time despite having told unmenu to keep it around.

 

It's even listed in /boot/packages as auto_install. Anyone else seeing this?

Plugin seems to work great for me, but doesn't remain across reboots... I have to re-install from unmenu each time despite having told unmenu to keep it around.

 

It's even listed in /boot/packages as auto_install. Anyone else seeing this?

 

Why not just use overbynrn's plugin? It's been rock solid for me and no issues with reboots.

Archived

This topic is now archived and is closed to further replies.

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.