On Wed, Dec 02, 2009 at 04:48:01PM +0100, Michael Moroni wrote:
> Hi, you all!
> Today I plugged in my FR to my pc through a USB cable. I followed this
> passage (http://wiki.openmoko.org/wiki/USB_Networking) but ssh asks me a
> password in order to get connect to my freerunner. I was used to leaving it
> blank and pressing enter and it got connect to FR. But today I got these
> messages (I understroke the important part of the text):
> 
> ai...@airon-desktop:~$ sudo iptables -I INPUT 1 -s 192.168.0.202 -j ACCEPT
> ai...@airon-desktop:~$ sudo iptables -I OUTPUT 1 -s 192.168.0.200 -j ACCEPT
> ai...@airon-desktop:~$ sudo iptables -A POSTROUTING -t nat -j MASQUERADE -s
> 192.168.0.0/24
> ai...@airon-desktop:~$ sudo bash -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'
> ai...@airon-desktop:~$ sudo ip address add 192.168.0.200/24 dev eth1
> ai...@airon-desktop:~$ sudo ip link set dev eth1 up
> ai...@airon-desktop:~$ sudo ssh [email protected]
> *[email protected]'s password:
> Permission denied, please try again.
> [email protected]'s password:
> Permission denied, please try again.
> [email protected]'s password:
> Permission denied (publickey,password,keyboard-interactive).
> *ai...@airon-desktop:~$
> 
> I tried to insert my password for sudo, "shr" and blank password
> Could you tell me why or how to get connect to my FR again?
> Yesterday I played with it because I wanted to uninstall dropbear in order
> to install openssh, but I reverted it all and came back to dropbear...
> - Michael
> 
> PS: Could someone add my translations into esperanto sent some days ago? :)

That's a consequence of OE moving from Dropbear into OpenSSH: by default,
password-less logins are forbidden.

You'll need to run passwd in Freerunner's terminal window or change
/etc/ssh/sshd_config to allow empty passwords (parameter will be evident).

Then save the file and pkill -HUP sshd

I installed my RSA key and reset OpenSSH to forbid empty passwords again :)

Rui
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to