August 31, 201114 yr 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
September 6, 201114 yr 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.
January 4, 201214 yr 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
January 4, 201214 yr 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
January 5, 201214 yr FIXED. Attached is working for me. Let me know how it works. opensshd-5.9-i486-savestheday.plg.txt
January 5, 201214 yr 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
January 5, 201214 yr 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.
January 6, 201214 yr 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
January 6, 201214 yr 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.
January 25, 201214 yr 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
April 22, 201214 yr 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
May 30, 201214 yr 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?
June 21, 201214 yr Same here! A nice, robust SSH PLG is sorely needed. I wrote one; http://lime-technology.com/forum/index.php?topic=20848.0
June 22, 201214 yr 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.
June 22, 201214 yr 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
June 28, 201214 yr 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.
July 14, 201213 yr 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?
July 15, 201213 yr 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.