Title: Persistent Login Screen
Last modified: August 21, 2016

---

# Persistent Login Screen

 *  [tawshmcd](https://wordpress.org/support/users/tawshmcd/)
 * (@tawshmcd)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/persistent-login-screen/)
 * After successfully installing this plugin, I am able to activate it.
 * My problem occurs when I try to activate ‘any’ other plugin or when I try to 
   do let’s say an update on any plugin.
 * When I try to activate a plugin, I’m being prompted to enter in my credentials.
   I enter in the correct credentials (which are 100% accurate because I am able
   to login to both Dreamweaver and Transmit with these) yet I continue to receive
   the following error message:
 * —
    _There was an error connecting to the server, Please verify the settings are
   correct.  —
 * To make matters worse, I am stuck on this page. I can no longer access the main
   plugins, appearance, comments, tools, users, or settings panels. The URL remains
   stuck on this string “www.mydomainhere.com/wp-admin/themes.php?page=all-in-one-
   event-calendar-install-themes” (if I chose another plugin to activate, the string
   will be stuck on that).
 * I’ve had to dive into Transmit and delete all my plugins manually over an FTP
   client in order to get the login screen to disappear.
 * I also wanted to point out, that I’m working over a VPN. Does this effect anything?
 * Do I need to have anything installed on the server for this to work?
 * I have “phpseclib” in the “ssh-sftp-updater-support”. Is there any permissions
   I need to set on the “ssh-sftp-updater-support” folder (or its subfolder, “phpseclib”)?

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [TerraFrost](https://wordpress.org/support/users/terrafrost/)
 * (@terrafrost)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/persistent-login-screen/#post-4045551)
 * I apologize for the tardyness of this response.
 * Anyway…
 * In class-wp-filesystem-ssh2.php can you find and uncomment out this line?:
 * //define(‘NET_SFTP_LOGGING’, NET_SFTP_LOG_REALTIME);
 * If you could post the output after that that’d be helpful.
 * In lieu of those… it’s possible the server is just blocking requests from localhost
   or something. If that’s what was going on the logs wouldn’t be of too much use
   but the logs could provide insight if there was something else at play.
 * Thanks!
 *  Thread Starter [tawshmcd](https://wordpress.org/support/users/tawshmcd/)
 * (@tawshmcd)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/persistent-login-screen/#post-4045560)
 * Thanks for your response.
 * I’ve uncommented that line and re-tested.
 * I’m still getting the same error message.
 *  Plugin Author [TerraFrost](https://wordpress.org/support/users/terrafrost/)
 * (@terrafrost)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/persistent-login-screen/#post-4045564)
 * Assuming that the output didn’t change when you did that… open class-wp-filesystem-
   ssh2.php and find this line:
 *     ```
       if ( ! $this->link ) {
       			$this->errors->add('connect', sprintf(__('Failed to connect to SSH2 Server %1$s:%2$s'), $this->options['hostname'], $this->options['port']));
       			return false;
       		}
       ```
   
 * Replace it with this:
 *     ```
       if ( ! $this->link ) {
       			$this->errors->add('connect', sprintf(__('Failed to connect to SSH2 Server %1$s:%2$s'), $this->options['hostname'], $this->options['port']));
                               exit('THIS FAR')
       			return false;
       		}
       ```
   
 * And tell me what happens.
 * > I’m still getting the same error message.
 * The change I had you made wasn’t intended to fix the issue so much as to provide
   me info with which to diagnose it.
 *  Thread Starter [tawshmcd](https://wordpress.org/support/users/tawshmcd/)
 * (@tawshmcd)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/persistent-login-screen/#post-4045568)
 * Dreamweaver is telling me that there is a syntax error with that line of code.
 * I replaced it anyways, and now I’m getting a blank screen in WordPress when I
   enter in my login credentials.
 * Still no fix. 🙁
 *  Plugin Author [TerraFrost](https://wordpress.org/support/users/terrafrost/)
 * (@terrafrost)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/persistent-login-screen/#post-4045575)
 * I left off the semi-colon for `exit('THIS FAR')`. Try this:
 *     ```
       if ( ! $this->link ) {
       			$this->errors->add('connect', sprintf(__('Failed to connect to SSH2 Server %1$s:%2$s'), $this->options['hostname'], $this->options['port']));
                               exit('THIS FAR');
       			return false;
       		}
       ```
   
 * (I’d edit my orig post but it doesn’t appear that I can)
 * > Still no fix. 🙁
 * It’s not supposed to fix it so much as provide me with more diagnostic information.
 *  Thread Starter [tawshmcd](https://wordpress.org/support/users/tawshmcd/)
 * (@tawshmcd)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/persistent-login-screen/#post-4045596)
 * I updated my code with the semi-colon.
 *  Plugin Author [TerraFrost](https://wordpress.org/support/users/terrafrost/)
 * (@terrafrost)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/persistent-login-screen/#post-4045597)
 * So what happened? Can you give me a screenshot of the page you’re seeing when
   you try to login with this plugin?
 * Thanks!
 *  Thread Starter [tawshmcd](https://wordpress.org/support/users/tawshmcd/)
 * (@tawshmcd)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/persistent-login-screen/#post-4045599)
 * Ahh, I’m still receiving the same error from the beginning with the screens being
   stuck on the credential page.
 * —
    There was an error connecting to the server, Please verify the settings are
   correct. —
 * This editor doesn’t allow me to upload the screenshot!
 * Thanks!
 *  Plugin Author [TerraFrost](https://wordpress.org/support/users/terrafrost/)
 * (@terrafrost)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/persistent-login-screen/#post-4045602)
 * It’s not saying anything else?
 * You can post a screenshot here:
 * [http://imgur.com/](http://imgur.com/)
 * Thanks!
 *  Thread Starter [tawshmcd](https://wordpress.org/support/users/tawshmcd/)
 * (@tawshmcd)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/persistent-login-screen/#post-4045623)
 * I posted it here:
    [http://www.tammandkit.com/news/img/screen-shot.png](http://www.tammandkit.com/news/img/screen-shot.png)
 *  Plugin Author [TerraFrost](https://wordpress.org/support/users/terrafrost/)
 * (@terrafrost)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/persistent-login-screen/#post-4045625)
 * Can you post a screenshot of the “There was an error connecting to the server,
   Please verify the settings are correct.” error that you’re getting?

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Persistent Login Screen’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ssh-sftp-updater-support.svg)
 * [SSH SFTP Updater Support](https://wordpress.org/plugins/ssh-sftp-updater-support/)
 * [Support Threads](https://wordpress.org/support/plugin/ssh-sftp-updater-support/)
 * [Active Topics](https://wordpress.org/support/plugin/ssh-sftp-updater-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ssh-sftp-updater-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ssh-sftp-updater-support/reviews/)

## Tags

 * [login screen](https://wordpress.org/support/topic-tag/login-screen/)
 * [persistent](https://wordpress.org/support/topic-tag/persistent/)

 * 11 replies
 * 2 participants
 * Last reply from: [TerraFrost](https://wordpress.org/support/users/terrafrost/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/persistent-login-screen/#post-4045625)
 * Status: not resolved