I have a secret key id_rsa and a public key authorized_keys that should be pair. But I have a problem to ssh by using these keys.  I want to check the validability of these key pair by a command in local environment. Because I prefer to ignore a error caused by network. (Even though I already confirmed there is no problem when password is used.)  Is there a command that is possible?
I've somehow lost my id_rsa.pub file. I still have my id_rsa file. How do I recover the public key from the private key?  (This question came up after ssh-copy-id was reporting "ERROR: No identities found" while ssh-keygen reported "/root/.ssh/id_rsa already exists". ls ~/.ssh pointed out the problem was having id_rsa but not id_rsa.pub. I found the solution, but it was buried at the bottom of a long post on an Ubuntu support forum.)
How to detect character sets encoding for all of language? I have a bunch of SD cards that do not have the little plastic switch for the read only setting. so Windows thinks it’s write protected or something. The card is not write protected by the software lock present on the SD card standard.  I’m using one with tape over the notch and it’s ugly. Also, the Thinkpad slot drags on the tape all the time so I’m afraid it will might loose in there eventually.  So, is there any way to tell Windows to ignore this lame write-protect feature?  I’m not interested on the SD card itself as it’s irrelevant for the issue at hand. Read this question as being about a 5.25” floppy disk drive instead of an SD card if you wish. I’m pretty sure the Windows settings are the same for both, really.  I’m  that there are 3 ways to secure an SD card. I’m talking about only the mechanical switch, which is the responsibility of the host to handle. Can I visit the US for tourism on a previously unused B1/B2 visa? Note: This is NOT a duplicate of  Difference: In both other questions, the posters traveled once to the US for the original purpose for which the B1 visa was obtained. Their question is about visiting again using the same visa. However, I've not traveled to the US yet, and I'm planning my visit. What I want to understand whether I can use this visa for a visit whose purpose is not the same as what was submitted along with the application.  Can I use a B1/B2 visa for tourism that was originally obtained for business purposes BEFORE I actually visit the US even once? I had applied for a business visitor visa for a valid business reason but by the time I got it stamped, my plan changed. So I've not visited the US even once. Can I now use this visa to visit as a tourist without having used that visa for its original intended purpose? PS: I live in India. At the end of every day you will be required to write a review.   At the end of each day you will be required to write a review.   Which one of those sentences is better if this action will repeat itself every day for longer period of time, several weeks for example, maybe even months? Most efficient way to concatenate strings? What's the most efficient way to concatenate strings? I would like to create an alias to rm command in order to have a confirmation message after executing this command. So I am creating an alias like this alias rm='rm -i'. But as far as I know this is a temporary alias and it lives until you close the terminal.  As it is explained  to save alias permanently I need to execute ~/.bash_aliases or ~/.bashrc commands in terminal and add my alias there. But when I execute ~/.bashrc I get following error message :  bash: /home/bakhtiyor/.bashrc: Permission denied   When I run ~/.bash_aliases I get another error message like this:  bash: /home/bakhtiyor/.bash_aliases: File or directory doesn't exist.   What is the actual problem and how can I solve it? What do you call someone who is supported? Synonym for a supportee (Which doesn't seem to be a word)?  I created products that retail and we sell them and give the proceeds to charities. Trying to figure out a single word to use as a page title for those that we support were we can list the charities (With their permission of course).  Thanks 10% rule for sample sizes In an introductory stats book by Nicole Radziwell "Statistics the easy way with R" , an assumption used  for nearly every statistical test (e.g.t-tets, anova, etc) is that the sample size should not be more than 10% of the population size (where the population size in known).   I havent seen it mentioned in other introductory stats books. My question is: how important is theis assumotion and what is the reason for it?  The author didn't say where this comes from (at least as far as I could see). A bit of googling suggests that it refers to making a simple random sample without replacement, if the sample size is above 10% then the observations wont be (approximately) independent, and indepedence of observations is an assumption stated in most textbooks.   In the case where you have a small population (e.g. &lt;50), should you give up on this assumption because it results in sample sizes too small to get decent estimates of variability and to check other assumptions such as normality.    Thank you for any insights. I have two tables, movies and categories, and I get an ordered list by categoryID first and then by Name.  The movie table has three columns ID, Name and CategoryID. The category table has two columns ID and Name.  I tried something like the following, but it didn't work.  var movies = _db.Movies.OrderBy( m =&gt; { m.CategoryID, m.Name }) Laplace equation of composite function Suppose we have $f(x,y)$, which satisfies Laplaces equation: $\frac{\delta^2f}{\delta x^2}+\frac{\delta^2f}{\delta y^2}=0$  Does $f(\frac{x}{x^2+y^2},\frac{y}{x^2+y^2})$ also satisfy Laplace equation? Should we @Override an interface's method implementation? Several times now I have inadvertently lost the .tex file that generated a PDF file with pdflatex. Given what I know of the internal structure of PDF files, it should be possible to embed a text file containing the original LaTeX file into the PDF file so that it can be extracted later.   I am aware of no technology for doing this, but perhaps you are. Does anybody have something like this? Find all $n\in\mathbb{N}$ so that there exist $x,y,z\in \mathbb{N}$ that solve:   $$(x+y+z)^2=nxyz$$   I tried to attack it finding solutions, but all the solutions doesn't seem to have something in common. For example:  $$ (x,y,z,n)=(1,1,1,9)$$ $$ (x,y,z,n)=(1,2,3,6)$$ $$ (x,y,z,n)=(1,4,5,5)$$ $$ (x,y,z,n)=(2,2,4,4)$$ $$ (x,y,z,n)=(8,8,16,1)$$  I was trying to solve this problem, but someone told me that a hint to solve it is using Vieta Jumping. I don't know how to use Vieta Jumping, so can anyone help me to understand how to apply Vieta Jumping and solve the problem? How to prove $|a+b|^k \leq 2^{k-1} (|a|^k+|b|^k)$? Assume that you have any two real numbers $a$ and $b$, and $1\leq k &lt;\infty$, $k \in \mathbb{R}$.  How would you prove the inequality $|a+b|^k \leq 2^{k-1} (|a|^k+|b|^k)$? How to start a background process in Python? 80s: the "Eighties"   90s: the "Nineties"   00s: the ???   For that matter, what is the second decade called? The "tens" just doesn't sound right. identity element of $(D_n ,\gcd)$ When can we interchange “who/which" and "that”? So far I thought the words who and that are usually interchangeable:   There is the man who saw me.  There is the man that saw me.    Both sentences seem fine, who can be replaced with that. But in the following examples:   This is the man to whom I spoke.  This is the man to that I spoke.    The #2 sounds odd, which is why I don’t think it might be correct. The same observation for the words which and that, while   This is the ball which we used today.  This is the ball that we used today.    Seem to be in order and which can be replaced with that. But in the following examples the #2 sounds odd again.   This is the ball with which I scored.  This is the ball with that I scored.    I wonder if there’s any rule regarding the interchangeability of the above mentioned words. Show that if $n>2$, then $(n!)^2>n^n$. Show that if $n&gt;2$, then $(n!)^2&gt;n^n$.     My work: I tried to apply induction. So, at the induction step, I need to prove, $n^n&gt;(n+1)^{n-1}$ Here, I tried to use induction again without any luck. I also took log of both sides, but I did not get anything. Please help! Is it safe to replace a 4400mAh laptop battery with a 8800mAh battery? I have an Acer Aspire 5536G. My battery is having problems so I am thinking of replacing it. I have searched online through many sites and I found some good deals. However, currently my laptop has a 4400mAh lithium ion battery so I was thinking of replacing it with 8800mAh 12-cell battery that lasts more hours than 4400mAh without power plug.