Author Topic: No passwords required over USB?  (Read 4094 times)

w4lna

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://tropo.org
No passwords required over USB?
« on: February 26, 2004, 09:42:28 am »
Established a ssh connection with my SL-5600 over the USB interface,
but even though I have assigned passwords for root and zaurus, it didn\'t ask me for one.

Is this standard behavior and can it be corrected?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
No passwords required over USB?
« Reply #1 on: February 26, 2004, 09:55:54 am »
No this is not standard. What are you running on and which version of ssh?

Perhaps you\'re using public key (without even knowing it? ;-))


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

w4lna

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://tropo.org
No passwords required over USB?
« Reply #2 on: February 26, 2004, 03:55:58 pm »
Quote
No this is not standard. What are you running on and which version of ssh?

Perhaps you\'re using public key (without even knowing it? ;-))


Si

Have the USB driver loaded in Mac OS X, and the following for SSH on that system:

OpenSSH_3.6.1p1+CAN-2003-0693, SSH protocols 1.5/2.0, OpenSSL 0x0090702f

On the Zaurus, it is the standard Sharp 1.32 ROM and kernel.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
No passwords required over USB?
« Reply #3 on: February 27, 2004, 06:56:25 am »
The standard Sharp ROM doesn\'t come with ssh afaik, not can a root telnet login be made without editing /etc/securetty. Are you getting a terminal screen or a file transfer screen. If it\'s the latter then it may be that sftp is switching to ftp (which doesn\'t require a password).


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

w4lna

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://tropo.org
No passwords required over USB?
« Reply #4 on: February 27, 2004, 07:00:33 am »
Quote
The standard Sharp ROM doesn\'t come with ssh afaik, not can a root telnet login be made without editing /etc/securetty. Are you getting a terminal screen or a file transfer screen. If it\'s the latter then it may be that sftp is switching to ftp (which doesn\'t require a password).

I had to install SSH.  I compared the config files to the Mac and didn\'t see any huge differences.  There weren\'t any user keys, so I generated one, but it makes no difference.  It\'s also wide open :shock: from the WiFi connection too.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
No passwords required over USB?
« Reply #5 on: February 27, 2004, 07:30:10 am »
That\'s strange. I run ssh and have to provide a password everytime. I\'d guess that there\'s a config file somewhere on your Z which is set to allow logins via ssh without a password.

Just checking - You said that you\'ve set passwords for both root and zaurus, using passwd I presume?

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
No passwords required over USB?
« Reply #6 on: February 27, 2004, 07:32:39 am »
Where did you get the ssh ipk from? I used this one: http://www.killefiz.de/zaurus/showdetail.php?app=1035 . I have to enter a password.

I have never had to edit /etc/securetty to get root telnet access though with the Sharp ROMs
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
No passwords required over USB?
« Reply #7 on: February 27, 2004, 07:41:46 am »
Quote
I have never had to edit /etc/securetty to get root telnet access though with the Sharp ROMs

Really? What about with the 2.xx ROMs? I certainly had to edit it with the 2.35 ROM.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva