192 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
IBM Installation Manager - Tinkering with iFixes
Fri, Feb 24th 2017 58
A Graduate Course in Applied Cryptography
Thu, Feb 23rd 2017 79
Book Review - Swift iOS 24-Hour Trainer, by Abishek Mishra
Thu, Feb 16th 2017 50
IBM Advantage Blog
Thu, Feb 16th 2017 55
WebSphere Application Server - Binary Scanner
Tue, Feb 14th 2017 39
WebSphere Liberty Profile - Where's my stuff ?
Tue, Feb 14th 2017 34
Improve IBM BPM performance with an Oracle database
Mon, Feb 13th 2017 24
Top 10
A Graduate Course in Applied Cryptography
Thu, Feb 23rd 2017 79
IBM Installation Manager - Tinkering with iFixes
Fri, Feb 24th 2017 58
IBM Advantage Blog
Thu, Feb 16th 2017 55
Book Review - Swift iOS 24-Hour Trainer, by Abishek Mishra
Thu, Feb 16th 2017 50
WebSphere Application Server - Binary Scanner
Tue, Feb 14th 2017 39
Executing external Python/Jython scripts from within WebSphere Application Server's wsadmin tool
Thu, Feb 27th 2014 36
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/davehay/EmployeeServlet, offset=6
Sat, Nov 8th 2014 36
Transport Layer Security (TLS) 1.2 and SoapUI
Fri, Jun 12th 2015 35
WebSphere Liberty Profile - Where's my stuff ?
Tue, Feb 14th 2017 34
IBM HTTP Server / IBM WebSphere Plugin - Using Transport Layer (TLS) 1.2
Tue, Nov 10th 2015 33


Synology NAS - Broke SSH but Telnet saved me
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
   

I was fiddling about with SSH on my Synology DS414 NAS, with the intention of setting up password-less authentication ( about which more to follow ).

Having updated the SSHD configuration ( /etc/ssh/sshd_config ), I then found that I wasn't able to restart the SSH service, via the following command: -

synoservicectl --restart sshd

Whilst SSH stopped, it refused to restart.

Which meant that I was locked out ….

Happily, I still had access via the Web UI meaning that I could enable the oh-so-secure Telnet service

Whilst I wouldn't use Telnet ordinarily, it provided me with a nice little "back door" ( perhaps an inappropriate choice of words ).

I was then able to telnet into the box, and sort out the configuration i.e. reverse out the changes to sshd_config.

However, things still weren't rosy. Whilst SSHD was apparently running, I was seeing: -

Permission denied, please try again.
Connection to diskstation closed.

when I tried to ssh in.

Thankfully, I still had the Telnet option, so I checked the normal Unix logs: -

dmesg

[15363.072410] init: sshd main process (32286) terminated with status 255
[15363.079132] init: sshd main process ended, respawning
[15363.543730] init: sshd main process (32305) terminated with status 255
[15363.550438] init: sshd main process ended, respawning
[15364.004256] init: sshd main process (32324) terminated with status 255
[15364.010969] init: sshd main process ended, respawning
[15364.469980] init: sshd main process (32343) terminated with status 255
[15364.476658] init: sshd main process ended, respawning
[15364.933677] init: sshd main process (32363) terminated with status 255
[15364.940675] init: sshd main process ended, respawning
[15365.414906] init: sshd main process (32384) terminated with status 255
[15365.421621] init: sshd respawning too fast, stopped


which wasn't totally helpful.

So I revisited the Web UI, and saw this: -


Yep, you guessed it, I'd disabled the service, so it wasn't ever going to start :-)

So, I'm now back to a working SSH situation - time to go play with SSL keys again :-)

That'll be the next blog post ….


---------------------
http://portal2portal.blogspot.com/2017/01/synology-nas-broke-ssh-but-telnet-saved.html
Jan 05, 2017
9 hits



Recent Blog Posts
58
IBM Installation Manager - Tinkering with iFixes
Fri, Feb 24th 2017 9:02p   Dave Hay
I've posted about this in the past: -IBM Installation Manager - Looking at What We've Got To InstallIBM Installation Manager - More on iFixes via the Command LineThis is merely an update, as my memory is fading ….So I have some iFixes for IBM BPM 8.5.7: -ls -al /mnt/BPM/Fixes/total 119883drwxr-xr-x 1 501 games 170 Feb 24 19:39 .drwxr-xr-x 1 501 games 170 Feb 24 19:39 ..-rw-r--r-- 1 501 games 24474208 Feb 24 19:39 8.5.7.201609-WS-BPM-IFJR56722.zip-rw-r--r-- 1 501 games 232160 Feb
79
A Graduate Course in Applied Cryptography
Thu, Feb 23rd 2017 7:36p   Dave Hay
I heard about this thanks to Steve Gibson of Gibson Research Corporation (GRC), thanks to his excellent Security Now podcast.In essence, it's an WIP book on cryptography, produced by Dan Boneh of Stanford University and Victor Shoup of New York University.Here's an excerpt from the ToC: -Part I: Secret key cryptography • Introduction • Encryption • Stream ciphers • Block ciphers • Chosen plaintext attacks • Message integrity • Message integrity from universal hashing • Message
50
Book Review - Swift iOS 24-Hour Trainer, by Abishek Mishra
Thu, Feb 16th 2017 7:48a   Dave Hay
This is another in my infrequent series of book reviews for the British Computer Society.Swift iOS 24-Hour Trainer, by Abishek MishraSo let me start by declaring that I did not read this book in 24 hours; in fact, it's taken me far longer to read, for no other reason than that I've been reading it in chunks, one lesson per day, and there are over 30 lessons.Therefore, I can't say, hand on heart, that the 24-hour programme actually works; however, for a committed reader, one who has made time
55
IBM Advantage Blog
Thu, Feb 16th 2017 6:11a   Dave Hay
Highlighting someone else's blog is always nice …IBM Advantage BlogThis blog is a collection of ideas, thoughts and links to interesting resources related to the competitive position of IBM software and cloud offerings. Customers have many choices in selecting the software to run their business and comparative information is hard to find. We strive to keep the information presented here purely factual and avoid FUD tactics. If you believe that any of the posts violate these principles – ple
39
WebSphere Application Server - Binary Scanner
Tue, Feb 14th 2017 2:24p   Dave Hay
From this: -The binary scanner…not just for migrations anymore!With the latest release of the binary scanner, two new enhancements are available that can help application developers and administrators outside the scope of a migration. Have you developed a new application for Liberty or moved one over from another application server and are wondering what features you need to configure in the server.xml file? Or maybe you are supporting a legacy application that has grown over time and you have
34
WebSphere Liberty Profile - Where's my stuff ?
Tue, Feb 14th 2017 11:11a   Dave Hay
I saw this: -[14/02/17 10:50:51:653 GMT] 0000002b com.ibm.ws.webcontainer.webapp W SRVE0190E: File not found: /foo.jsp[14/02/17 10:50:51:744 GMT] 0000002b com.ibm.ws.logging.internal.impl.IncidentImpl I FFDC1015I: An FFDC Incident has been created: "com.ibm.ws.jsp.webcontainerext.JSPErrorReport: JSPG0036E: Failed to find resource /foo.jsp com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter 144" at ffdc_17.02.14_10.50.51.0.log[14/02/17 10:5
24
Improve IBM BPM performance with an Oracle database
Mon, Feb 13th 2017 3:10p   Dave Hay
This was published last week: -Improve IBM BPM performance with an Oracle databaseIBM® Business Process Manager (BPM) is a platform for processing and orchestrating enterprise business tasks. With proper planning, you can prevent performance issues before the end users of your process applications report them. This article focuses on what you can learn from the BPMDB database in IBM BPM to prevent problems and to troubleshoot issues when they occur.This is part of a 3-part series: -Improve IBM
14
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/ibm/rules/res/xu/spi/internal/XUResourceAdapter
Sun, Feb 12th 2017 9:06p   Dave Hay
Not sure why I've not seen this before, but that's a problem for another day.During a build of an IBM Operational Decision Manager (ODM) 8.8.1 environment, I saw this: -... [wsadmin] GBRPT0017I: Install resource adapter on the node: Node1 [wsadmin] WASX7017E: Exception received while running file "/opt/ibm/WebSphereProfiles/Dmgr01/bin/rules/configureDSRulesNetworkDeployer.py"; exception information: com.ibm.websphere.management.exception.ConfigServiceException [wsadmin] javax.management.
4
Pango-WARNING **: failed to choose a font, expect ugly output
Sat, Feb 11th 2017 9:18a   Dave Hay
I saw this: -(IBM Installation Manager:105744): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'when starting IBM Installation Manager 1.8.6 in GUI mode: -/opt/ibm/InstallationManager/eclipse/IBMIM on a Red Hat Enterprise Linux 7.3 box.It was easily fixed: -yum install gtk2 libXtst xorg-x11-fonts-Type1 psmiscLoaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-managerThis system is receiving updates f
10
Just because we can doesn't mean we should - Serving Static Content from WebSphere Application Server's Web Container
Wed, Feb 8th 2017 3:35p   Dave Hay
This ties up with something about which I've been talking with one of my colleagues.Using my BPM 8.5.7 VM, I created an HTML file: -Hello.html Hello World! here: -/opt/ibm/WebSphereProfiles/AppSrv01/installedApps/PCCell1/IBM_BPM_Portal_AppCluster.ear/process-portal.warThis location hosts the Heritage Process Portal, which has two URIs: - The first URI - /portal - actually references a different WAR file ( process-portal-support.war ) whereas the second URI - /HeritagePortal - refe




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition