I'm trying to connect to my newly purchased website on GoDaddy via SSH. However, when I try to connect from my Mac, I get the following error message:  $ssh username@website.com -v -v -v OpenSSH_5.9p1, OpenSSL 0.9.8zg 14 July 2015 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to website.com [XXX.XXX.XXX.XXX] port 22. debug1: Connection established. debug1: identity file /Users/UserName/.ssh/id_rsa type -1 debug1: identity file /Users/UserName/.ssh/id_rsa-cert type -1 debug1: identity file /Users/UserName/.ssh/id_dsa type -1 debug1: identity file /Users/UserName/.ssh/id_dsa-cert type -1 ssh_exchange_identification: Connection closed by remote host   When I initially tried connecting, I was prompted for a password. I entered my password, although it was apparently incorrect. After a few attempts, it stopped asking me for my password and started giving me the above message instead.   has a very similar error message, although it's missing the debug2: ssh_connect: needpriv 0 line. I tried the answers, although they did not fix my problem.
When trying to SSH into a particular Mac machine it gives me the following error :  ssh_exchange_identification: Connection closed by remote host   I have done some google searches on the issue but I haven't seem to find a definite answer. I did notice that on the machine that I am trying to SSH into, it does not have the ~/.ssh file even on there so I went ahead and created it and gave it correct permissions but that didn't help. Here is the verbose of when attempting to SSH into it:  penSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: Connecting to &lt;ComputerName&gt; [xxx.xxx.xxx.xxx] port 22. debug1: Connection established. debug1: identity file /Users/&lt;UserName&gt;/.ssh/id_rsa type 1 debug1: identity file /Users/&lt;UserName&gt;/.ssh/id_rsa-cert type -1 debug1: identity file /Users/&lt;UserName&gt;/.ssh/id_dsa type -1 debug1: identity file /Users/&lt;UserName&gt;/.ssh/id_dsa-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.2 ssh_exchange_identification: Connection closed by remote host   Any ideas on how to get SSH working?
How is the derivative of $\mbox{Trace}\left\{ X^T A X B\right\}$ with respect to matrix $X$ equal to $AXB + A^TXB^T$?  \begin{align}   \nabla_X \ \textrm{Trace}\left\{ X^T A X B\right\} = AXB + A^TXB^T \end{align}  where $A$ and $B$ matrices are given. Next badge select dialog broken The "Select your next badge" dialog box is not displaying correctly. It looks like this:    Freehand circles, as requested:    It seems to be an issue with box-sizing, because when it's content-box, it looks fine. I think the width and height rules for .popup-badges .all-badge-progress .badge-progress should be increased a little, for example:  .popup-badges .all-badge-progress .badge-progress {   width: 214px;   height: 96px; }   Tested on the latest Chrome and Firefox on Linux Mint. ASP.NET Web Site or ASP.NET Web Application? When I start a new ASP.NET project in Visual Studio, I can create an ASP.NET Web Application or I can create an ASP.NET Web Site.  What is the difference between ASP.NET Web Application and ASP.NET Web Site? Why would I choose one over other?  Is the answer different based on which version of Visual Studio I am using? An infinite series plus a continued fraction by Ramanujan Here is a famous problem posed by Ramanujan     Show that $$\left(1 + \frac{1}{1\cdot 3} + \frac{1}{1\cdot 3\cdot 5} + \cdots\right) + \left(\cfrac{1}{1+}\cfrac{1}{1+}\cfrac{2}{1+}\cfrac{3}{1+}\cfrac{4}{1+\cdots}\right) = \sqrt{\frac{\pi e}{2}}$$   The first series seems vaguely familiar if we consider the function $$f(x) = x + \frac{x^{3}}{1\cdot 3} + \frac{x^{5}}{1\cdot 3\cdot 5} + \cdots$$ and note that $$f'(x) = 1 + xf(x)$$ so that $y = f(x)$ satisfies the differential equation $$\frac{dy}{dx} - xy = 1, y(0) = 0$$ The integrating factor here comes to be $e^{-x^{2}/2}$ so that $$ye^{-x^{2}/2} = \int_{0}^{x}e^{-t^{2}/2}\,dt$$ and hence $$f(x) = e^{x^{2}/2}\int_{0}^{x}e^{-t^{2}/2}\,dt$$ Thus the sum of the first series is $$f(1) = \sqrt{e}\int_{0}^{1}e^{-t^{2}/2}\,dt$$ But I have no idea about the continued fraction and still more I am not able to figure out how it would simplify to $\sqrt{\pi e/2}$ at the end.  Please provide any hints or suggestions.  Update: We have $$\begin{aligned}f(1) &amp;= \sqrt{e}\int_{0}^{1}e^{-t^{2}/2}\,dt = \sqrt{e}\int_{0}^{\infty}e^{-t^{2}/2}\,dt - \sqrt{e}\int_{1}^{\infty}e^{-t^{2}/2}\,dt\\ &amp;= \sqrt{\frac{\pi e}{2}} - \sqrt{e}\int_{1}^{\infty}e^{-t^{2}/2}\,dt\end{aligned}$$ and hence we finally need to establish $$\sqrt{e}\int_{1}^{\infty}e^{-t^{2}/2}\,dt = \cfrac{1}{1+}\cfrac{1}{1+}\cfrac{2}{1+}\cfrac{3}{1+}\cfrac{4}{1+\cdots}$$ On further searching in Ramanujan's Collected Papers I found the following formula $$\int_{0}^{a}e^{-x^{2}}\,dx = \frac{\sqrt{\pi}}{2} - \cfrac{e^{-a^{2}}}{2a+}\cfrac{1}{a+}\cfrac{2}{2a+}\cfrac{3}{a+}\cfrac{4}{2a+\cdots}$$ and it seems helpful here. But unfortunately proving this formula seems to be another big challenge for me. When Bottom Navigation Isn't Best I'm developing a mobile app and dealing with various UI/UX issues. I'm open to all kinds of ideas at this stage, however some designers I consult with seem to be zealots for bottom-navigation and are hesitant in actually analyzing whether the bottom-nav is actually best for my app; they just want me to use the bottom tabs navigation as if it's some UI law.  One point I try to bring up is that my business model has users who aren't typical one-handed mobile users, are tech savvy, would use my app more of a tool, and would spend only a few minutes in it. The app isn't a typical lazy-content-browsing experience where you want to minimize fingers-over-top-of-screen interference, and where you want to keep the use transfixed and spending time in the app.  Anyways, I'd like to hear about situations where a bottom nav was decided-on, or started-with, and you had good reason to eliminate it and go with another navigation design.  Most articles out there talk about eliminating hamburger menus and diving into bottom nav. Is the converse simply going back to hamburger menu? Trigger to assign open tasks back to specific user when account owner is changed We have a workflow that creates tasks and assigns them to a specific user when an opportunity is closed. It's salesforce standard behavior that when the account owner is changed, the open tasks are also reassigned to the new account owner. I'm trying to write a trigger that:   checks if the account owner and/or task owner is changed FROM 00590000000a3xU if yes, reassign the tasks back to 00590000000a3xU only open tasks and tasks where Orb Team Task (checkbox) is true will be reassigned   I was getting all sorts of errors from the old code even after making the changes sfdcfox's pointed out. So I decided to change my approach. Here's the new and working code:  trigger AssignTaskBackToWarehouse on Account (after update){ List&lt;Task&gt;TasksToUpdate = new List&lt;Task&gt;(); Map&lt;Id,Account&gt;amap = new Map&lt;Id,Account&gt;([SELECT Id, OwnerId,(SELECT Id, Status, Warehouse_Task__c     FROM tasks     WHERE Status != 'Completed' AND     Warehouse_Task__c = true)     FROM Account     WHERE Id =: Trigger.newmap.keyset()]); for(Account a : Trigger.new){     for(Task t : amap.get(a.Id).tasks){         t.OwnerId = '00590000000XXXX';         TasksToUpdate.add(t);     }     } if(TasksToUpdate.size() &gt; 0){     update TasksToUpdate; } } Thailand visa exemption: any rule limiting number of entries per year? Run a Windows Service as a console app I have a chain object. And i have a curve it follows. I got it to work for following curve, but chain object is not circles but both parts are more like stretched circles (ovals). Object i made with 2 toruses one rotated 90 degrees and then joined them together. I tried single torus too. But same issue. on a curve it just looks stretched oval. What can be the issue?   Thanks Is "I'm being angry" ungrammatical? Visa for Istanbul trip during layover I am an Indian (Indian Passport) presently in Kano, Nigeria on a business visa. I am going back to Mumbai on 22 Sept by Turkish Airlines with a 12 hour layover time in Istanbul.  We plan to see the city during this time.  Can I get a visa on arrival? What does the "private" modifier do? Considering "private" is the default access modifier for class Members, why is the keyword even needed? I need to match a space character in a PHP regular expression. Anyone got any ideas?  I mean like "gavin schulz", the space in between the two words. I am using a regular expression to make sure that I only allow letters, number and a space. But I'm not sure how to find the space. This is what I have right now:  $newtag = preg_replace("/[^a-zA-Z0-9s|]/", "", $tag); MySQL Replication : 1 Slave / Multiple Masters Would Beetee's electrocution plan work and kill the tributes in the lake? In , the second episode of the Hunger Games trilogy, one of the characters (Beetee) proposes a plan to kill some of the remaining tributes. He proposes wrapping a special wire that he has designed to withstand the vast energy of lightning around a tall tree and running it down to a salt water lake. Then when lightening strikes the tree (which it does predictably every twelve hours) anyone in the lake will be killed. (N.B. This is not Beetee's real plan, but it is the one he wants his allies to believe.)  I don't think his plan would work at all. Assuming that his wire can carry the enormous current delivered by a lightening strike (this is fiction after all) surely the current would short to ground through the salt water rather than taking a path through anyone standing or swimming in the water. The analogy I have in mind is that of birds standing untroubled on live electricity wires. They are unharmed because they do not provide a path to earth. But another analogy might be dropping a mains electric heater into a bath when you are in it. I think that kills you (though I'm not sure why.) Updating inherited property Where do I put item tags on items inside a chest or your inventory? I am making a Minecraft Mini Game adventure map, and one of the levels has a /setblock command, I am using the command in a way to spawn an item in a chest (Wooden Button) I need the wooden button to have CanPlaceOn tag so it can be placed on a log. I have tried this command: setblock 294 5 -1251 minecraft:chest 0 replace {Items:[{Count:1,Slot:0,id:minecraft:wooden_button,CanPlaceOn:[log]}]}` No transaction fee ETF trades - what's the catch? I just noticed TD Ameritrade has program where you can trade from a list of ETFs with zero fees.  Sounds like it could save me a bit of money, but my cynical side wonders how they make money off such a program...  Is it a loss leader? (They entice me to have an account there, and then make money off the other trades I make?)  Or do they simply want to grow the size of their asset base -- what is the mechanism by which they make money on the funds that I have in my account?  Edit: in case it wasn't clear in the original question above, this is an ongoing program for free ETF transactions -- not a one-time deal for some number of free trades when you open an account. I have had an account there for years and I'm eligible to participate -- it's not a program explicitly designed just to gain new accounts. $\displaystyle\sum_{n=1}^\infty \frac{1}{n^s}$ only converges to $\zeta(s)$ if $\text{Re}(s) &gt; 1$.  Why should analytically continuing to $\zeta(-1)$ give the right answer? How to convert mediawiki syntax to latex?