{"id":75,"date":"2009-06-19T12:50:24","date_gmt":"2009-06-19T20:50:24","guid":{"rendered":"http:\/\/ericainsworth.com\/olmonitor\/blog\/?p=75"},"modified":"2018-11-28T03:02:04","modified_gmt":"2018-11-28T03:02:04","slug":"secure-shell-upgrade-affect-on-olm-monitor-2","status":"publish","type":"post","link":"https:\/\/olmonitorblog.azurewebsites.net\/?p=75","title":{"rendered":"SSH upgrade effect on OLM monitor, or: The somewhat convoluted process of getting the SSH password to save."},"content":{"rendered":"<p>*Note:\u00a0 The SSH process has changed in newer versions of Smarterm and this post is very outdated.\u00a0 Please see <a href=\"http:\/\/olmonitorblog.azurewebsites.net\/?p=1304\">this post<\/a>.<\/p>\n<blockquote><p><span style=\"font-size: 11pt; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa;\">Please help.None of our OL_monitors are connecting to Smarterm after a server upgrade.We are no longer using a telnet session in smarterm.We ware using SSH.<\/span><\/p><\/blockquote>\n<p>Remember you should always backup your settings before installing or updating!<br \/>\nSee the &#8220;Export options&#8221; topic here:<\/p>\n<p><a href=\"http:\/\/www.olmonitor.com\/ManualM\/window_3_6.htm#id_4\">http:\/\/www.olmonitor.com\/ManualM\/window_3_6.htm#id_4<\/a><br \/>\nIN ADDITION, I suggest you also save your session file. The file should be located in:<\/p>\n<p>C:\\Program Files\\OlMonitor VIM\\OlMonitor.stw<\/p>\n<p>After backing up your settings be sure to uninstall the previous version. (the installer will ask you if you want to uninstall the earlier version)<\/p>\n<p><em>The SSH issue<\/em>:\u00a0 Basically what the issue is that Smarterm encrypts the SSH password.\u00a0 Since there is no way for me to reverse-engineer their encryption, we cannot put the password into OL Monitor options.\u00a0 So you have to do the password saving via Smarterm.\u00a0 It&#8217;s a little tricky because you have to stop the macro before saving the session file within Smarterm.\u00a0 After you get the SSH password saved into the Smarterm Session file you won&#8217;t be prompted for it anymore and Ol Monitor will function normally.<\/p>\n<p><em>Workaround:<\/em><br \/>\nWhen you start Ol Monitor immediately go to the options screen and change the comm. Method to SSH:<a href=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/?attachment_id=76\" rel=\"attachment wp-att-76\"><img class=\"size-medium wp-image-76\" title=\"image0011\" src=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/wp-content\/uploads\/2009\/06\/image0011.png\" alt=\"\" \/> <\/a><\/p>\n<div>\u00a0<img loading=\"lazy\" class=\"alignnone size-full wp-image-1084\" src=\"\/wp-content\/uploads\/2009\/06\/image001-1.png\" alt=\"\" width=\"181\" height=\"292\" \/><\/div>\n<p>Set the Misys server to the SSH server address:<br \/>\n<a href=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/?attachment_id=77\" rel=\"attachment wp-att-77\"><img class=\"size-medium wp-image-77\" title=\"image0021\" src=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/wp-content\/uploads\/2009\/06\/image0021.png\" alt=\"\" \/><\/a><img loading=\"lazy\" class=\"alignnone size-full wp-image-1104\" src=\"\/wp-content\/uploads\/2009\/06\/image002-1.png\" alt=\"\" width=\"204\" height=\"54\" \/><\/p>\n<p>When you press OK the settings will get saved to the session file.<\/p>\n<p>When OlMonitor starts Smarterm, I expect you may first get a message saying &#8216;Password encryption failed&#8217;. This is because I left the password blank.<\/p>\n<p><em>Since I don&#8217;t have an SSH server to test with I&#8217;m not sure what other prompts\/messages you will get.<\/em><\/p>\n<p><em>If you would make a note of the extra steps you have to do on the first connection, and if on repeat connections of any other prompts that continue to popup.<\/em><\/p>\n<p><em>Also, of course, let me know if the macro fails, gets hung, or for whatever reason doesn&#8217;t work.<\/em><\/p>\n<p>Smarterm starts, after you have gotten the password setup and checked the box to save it you will need to save the session.<\/p>\n<p><a href=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/wp-content\/uploads\/2014\/02\/SshPassword1.jpg\"><img loading=\"lazy\" class=\"alignnone wp-image-1114 size-full\" src=\"\/wp-content\/uploads\/2009\/06\/SshPassword.jpg\" alt=\"\" width=\"720\" height=\"500\" srcset=\"\/wp-content\/uploads\/2009\/06\/SshPassword.jpg 720w, \/wp-content\/uploads\/2009\/06\/SshPassword-300x208.jpg 300w, \/wp-content\/uploads\/2009\/06\/SshPassword-700x486.jpg 700w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>Smarterm will not let you save while a macro is running.<\/p>\n<p>Press the green triangle button to get to the macro control:<br \/>\n<img loading=\"lazy\" class=\"alignnone size-full wp-image-1124\" src=\"\/wp-content\/uploads\/2009\/06\/image003-1.png\" alt=\"\" width=\"71\" height=\"59\" \/><\/p>\n<p><a href=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/?attachment_id=78\" rel=\"attachment wp-att-78\"><img class=\"size-medium wp-image-78\" title=\"image0031\" src=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/wp-content\/uploads\/2009\/06\/image0031.png\" alt=\"\" \/><\/a>or press tools macros:<\/p>\n<p><a href=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/?attachment_id=79\" rel=\"attachment wp-att-79\"><img class=\"size-medium wp-image-79\" title=\"image0041\" src=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/wp-content\/uploads\/2009\/06\/image0041.png\" alt=\"\" \/><\/a><img loading=\"lazy\" class=\"alignnone size-full wp-image-1134\" src=\"\/wp-content\/uploads\/2009\/06\/image004-1.png\" alt=\"\" width=\"238\" height=\"119\" \/><\/p>\n<p>Click stop macro and then save the session.<img loading=\"lazy\" class=\"alignnone size-full wp-image-1144\" src=\"\/wp-content\/uploads\/2009\/06\/image005-1.png\" alt=\"\" width=\"436\" height=\"278\" srcset=\"\/wp-content\/uploads\/2009\/06\/image005-1.png 436w, \/wp-content\/uploads\/2009\/06\/image005-1-300x191.png 300w\" sizes=\"(max-width: 436px) 100vw, 436px\" \/><\/p>\n<p><a href=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/?attachment_id=80\" rel=\"attachment wp-att-80\"><img class=\"size-medium wp-image-80\" title=\"image0051\" src=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/wp-content\/uploads\/2009\/06\/image0051-300x191.png\" alt=\"\" \/><\/a>Here you can also set the SSH login string.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>*Note:\u00a0 The SSH process has changed in newer versions of Smarterm and this post is very outdated.\u00a0 Please see this post. Please help.None of our OL_monitors are connecting to Smarterm after a server upgrade.We are no longer using a telnet session in smarterm.We ware using SSH. Remember you should always backup your settings before installing<\/p>\n<p><a class=\"moretag\" href=\"https:\/\/olmonitorblog.azurewebsites.net\/?p=75\">Continue Reading&hellip;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[21,81,91],"tags":[],"_links":{"self":[{"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/75"}],"collection":[{"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=75"}],"version-history":[{"count":6,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/75\/revisions"}],"predecessor-version":[{"id":1314,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/75\/revisions\/1314"}],"wp:attachment":[{"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}