iOSOpenDev icon indicating copy to clipboard operation
iOSOpenDev copied to clipboard

Can´t add iDevice to iosod sshkey -h

Open MoritzFago opened this issue 12 years ago • 3 comments

everytime i tryed to add a new Device i get this error

sh: -c: line 0: syntax error near unexpected token(' sh: -c: line 0:echo ssh-rsa [Key] [Username]@[Computername].fritz.box>>/var /root/.ssh/authorized_keys'

MoritzFago avatar May 17 '13 17:05 MoritzFago

I would need to see your command line used.

kokoabim avatar Jul 25 '13 22:07 kokoabim

I encountered a problem. The log is showed as below. Thanks a lot

thameslu:~ thameslu$ iosod sshkey -h Thameslu.local User's SSH authentication key does not exist, generating... Generating public/private rsa key pair. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/thameslu/.ssh/id_rsa. Your public key has been saved in /Users/thameslu/.ssh/id_rsa.pub. The key fingerprint is:

some information here.......

Reading existing authorized keys from device ... ssh: connect to host Thameslu.local port 22: Connection refused Failed to read /var/root/.ssh/authorized_keys on device Thameslu.local thameslu:~ thameslu$

thameslu avatar Aug 19 '14 10:08 thameslu

the problem is I can't connect to the iphone. I have installed OpenSSH and OpenSSL in my iphone yet

thameslu avatar Aug 19 '14 10:08 thameslu