Try to login: ssh jru@penelope If it still asks you the password, type your password to see if ssh is working. If it is working correctly, I think you made a mistake when copying id_rsa.pub to authorized_keys. If you use cp, the permission of authorized_keys is the same with id_rsa.pub (-rw-r--r--). authorized_keys should have only -rw------. (you should have done instead: cat id_rsa.pub >> authorized_keys)<br>
<br>You just need to: chmod go-rwx ~/.ssh.authorized_keys<br><br>Good luck!<br><br><br><br><br clear="all">--------------------------------------------------<br>Duy Le<br>PhD Student<br>Department of Physics<br>University of Central Florida.<br>
<br>"Men don't need hand to do things"<br>
<br><br><div class="gmail_quote">On Wed, Nov 4, 2009 at 11:17 AM, John Rundgren <span dir="ltr"><<a href="mailto:jru@kth.se">jru@kth.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Answer to Robert Laskowski: Yes, .ssh is rwx------ as it should.<br>
<br>
In the meantime colleagues assembled around my desk; we checked /etc/hosts and the PC's IP number, to be sure that PC, user, and localhost are properly identified.<br>
<br>
The "ssh-keygen -t -rsa" procedure is carried out again with empty passphrase. The result is the following:<br>
<div class="im"><br>
penelope:~/W/FeS2> run_lapw -p -I -i 30 -cc 0.0001<br>
hup: Command not found.<br>
Invalid null command.<br>
LAPW0 END<br>
Invalid null command.<br>
</div>jru@penelope's password:<br>
jru@penelope's password:<br>
<br>
Filling in a password is impossible, and the PC hangs up with the pslapw comment,<br>
<br>
;time lapw1 lapw1_2.def ;fixerror_lapw lapw1_2<br>
<br>
Does this give any clue to those who are successful with run_lapw -p?<br>
Regards,<br>
<div class="im">John<br>
<br>
John Rundgren<br>
Department of Theoretical Physics, Royal Institute of Technology (KTH),<br>
AlbaNova University Center, SE-10691 Stockholm, Sweden<br>
fax +46 8 5537 8216, voice +46 8 5537 8171,<br>
home page <a href="http://www.theophys.kth.se/%7Ejru" target="_blank">http://www.theophys.kth.se/~jru</a><br>
________________________________________<br>
</div>From: <a href="mailto:wien-bounces@zeus.theochem.tuwien.ac.at">wien-bounces@zeus.theochem.tuwien.ac.at</a> [<a href="mailto:wien-bounces@zeus.theochem.tuwien.ac.at">wien-bounces@zeus.theochem.tuwien.ac.at</a>] On Behalf Of Robert Laskowski [<a href="mailto:rolask@theochem.tuwien.ac.at">rolask@theochem.tuwien.ac.at</a>]<br>
Sent: Wednesday, November 04, 2009 10:53 AM<br>
To: A Mailing list for WIEN2k users<br>
Subject: Re: [Wien] k-Point Parallel<br>
<div><div></div><div class="h5"><br>
hi,<br>
do you have right permissions for .ssh (only owner can read, write and enter)<br>
<br>
regards<br>
<br>
Robert<br>
<br>
On Wednesday 04 November 2009 10:23:06 John Rundgren wrote:<br>
> Dear All,<br>
> Sorry that I cannot k-point parallelize, although I follow User's Guide.<br>
> See the terminal output below. How can I parallelize correctly?<br>
><br>
> USER'S GUIDE 5.5.1:<br>
> penelope:~> ssh-keygen -t rsa<br>
> Generating public/private rsa key pair.<br>
> Enter file in which to save the key (/home/jru/.ssh/id_rsa): #default#<br>
> Enter passphrase (empty for no passphrase): #same passwd as in w2web#<br>
> Enter same passphrase again: #same passwd as in w2web#<br>
> Your identification has been saved in /home/jru/.ssh/id_rsa.<br>
> Your public key has been saved in /home/jru/.ssh/id_rsa.pub.<br>
> The key fingerprint is:<br>
> 88:26:20:6e:1a:19:1e:f0:4e:c3:c5:44:c2:a3:ec:1f jru@penelope<br>
> The key's randomart image is:<br>
> +--[ RSA 2048]----+<br>
> |...++ |<br>
> |.ooo. |<br>
> |=o=. |<br>
> |=B.. . . |<br>
> |++o o . S |<br>
> |oo E |<br>
> |. . . |<br>
> | . |<br>
> | |<br>
> +-----------------+<br>
><br>
> penelope:~/.ssh> cp id_rsa.pub authorized_keys<br>
><br>
> USER'S GUIDE 5.1.3:<br>
> penelope:~/W/FeS2> run_lapw -p -I -i 30 -cc 0.0001<br>
> hup: Command not found.<br>
> Invalid null command.<br>
> LAPW0 END<br>
> Invalid null command.<br>
> ssh_exchange_identification: Connection closed by remote host<br>
> ssh_exchange_identification: Connection closed by remote host<br>
> ssh_exchange_identification: Connection closed by remote host<br>
> cat: No match.<br>
><br>
> > stop error<br>
> penelope:~/W/FeS2><br>
><br>
> Trying "run SCF" in w2web gives the same diagnosis.<br>
> Grateful for help,<br>
> John<br>
><br>
> John Rundgren<br>
> Department of Theoretical Physics, Royal Institute of Technology (KTH),<br>
> AlbaNova University Center, SE-10691 Stockholm, Sweden<br>
> fax +46 8 5537 8216, voice +46 8 5537 8171,<br>
> home page <a href="http://www.theophys.kth.se/%7Ejru" target="_blank">http://www.theophys.kth.se/~jru</a><br>
> _______________________________________________<br>
> Wien mailing list<br>
> <a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
> <a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Dr Robert Laskowski<br>
<br>
Vienna University of Technology,<br>
Institute of Materials Chemistry,<br>
Getreidemarkt 9/165-TC, A-1060 Vienna<br>
<br>
tel. +43 1 58801 15686<br>
Fax +43 1 58801 15698<br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
</div></div></blockquote></div><br>