|
2010-08-18
, 18:30
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#22
|
You probably have the private ssh key in your Mac, instead of the public key. The public key file ends with .pub (like id_urpo.pub ). It was created together with the private key.
The .pub part is missing from the URPO help and my earlier answer, sorry.
Try running this from your N900:
If it does not help try this one:Code:cat ~/.ssh/id_urpo.pub | ssh user@computer 'cat >> ~./ssh/authorized_keys'
Code:cat ~/.ssh/id_urpo.pub | ssh user@computer 'cat >> ~./ssh/authorized_keys2'
Tässä ikkunassa on tietoa, jonka avulla voi selvittää virhetilanteita [Running command ssh -i /home/user/.ssh/id_urpo.pub rantom@10.0.0.4 env LANG=en lpstat -p ] Prosessi päättyi paluuarvolla 255 ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory Host key verification failed. Yhdistämisessä virhe
[Running command ssh -i /home/user/.ssh/id_urpo rantom@10.0.0.4 env LANG=en lpstat -p ] Prosessi päättyi paluuarvolla 255 ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory Host key verification failed. Yhdistämisessä virhe
|
2010-08-19
, 16:16
|
Posts: 63 |
Thanked: 139 times |
Joined on Apr 2010
|
#23
|
cat ~/.ssh/id_urpo.pub | ssh user@computer 'cat >> ~./ssh/authorized_keys2'
cat ~/.ssh/id_urpo.pub | ssh user@computer 'cat >> ~./ssh/authorized_keys'
|
2010-08-19
, 17:04
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#24
|
You were not supposed to create a folder.
The command:
does not move the file into a folder authorized_keys2, it adds the public key held in the file id_urpo.pub to the end of the file authorized_keys2 (if it does not exist, cat creates it first) .Code:cat ~/.ssh/id_urpo.pub | ssh user@computer 'cat >> ~./ssh/authorized_keys2'
If you created a folder authorized_keys2, you should remove (or rename if you want to keep the contents) it and try again with the above command.
If you created the folder authorized_keys yourself too, its best to rename that too and try again with the command
(SSH should just need the public key in either authorized_keys or authorized_keys2, but I am not sure which one OS X wants.)Code:cat ~/.ssh/id_urpo.pub | ssh user@computer 'cat >> ~./ssh/authorized_keys'
My first guess in the post #8 was based on the far too hasty assumption that the folder authorized_keys was preconfigured for you by the OS X, and thus should be there. Sorry for the mess...
|
2010-09-04
, 18:37
|
|
Posts: 74 |
Thanked: 76 times |
Joined on Sep 2009
@ UK
|
#25
|
|
2010-09-04
, 22:10
|
|
Posts: 74 |
Thanked: 76 times |
Joined on Sep 2009
@ UK
|
#26
|
|
2010-09-05
, 10:20
|
Posts: 63 |
Thanked: 139 times |
Joined on Apr 2010
|
#27
|
|
2010-09-05
, 15:40
|
|
Posts: 74 |
Thanked: 76 times |
Joined on Sep 2009
@ UK
|
#28
|
The Following User Says Thank You to whaleyboy For This Useful Post: | ||
|
2010-09-13
, 10:31
|
Posts: 63 |
Thanked: 139 times |
Joined on Apr 2010
|
#29
|
|
2010-09-27
, 09:31
|
Posts: 8 |
Thanked: 1 time |
Joined on Sep 2010
@ germany
|
#30
|
You probably have the private ssh key in your Mac, instead of the public key. The public key file ends with .pub (like id_urpo.pub ). It was created together with the private key.
The .pub part is missing from the URPO help and my earlier answer, sorry.
Try running this from your N900: