Re: ssh with RSA-key login problem

1999-08-03 Thread Fredrik Jonsson
[EMAIL PROTECTED]
[EMAIL PROTECTED] 99-08-03 01.39 wrote:

Fredrik ssh client complains that Server does not allow RSA
Fredrik authentication, or the public key for user user1 was not
Fredrik accepted. Reverting to password authentication.

ssh has a verbose switch. Use it and see why it rejects the RSA key.

Hi,

I found it and it say:

debian: Trying RSA authentication with key '[EMAIL PROTECTED]'
debian: Remote: Bad file modes for /home/user1
debian: Server refused our key.

How do you fix Bad file modes?

Regards,
Fredrik Jonsson

--
A mind is like a parachute. It doesn't work if it's not open.
Phone: (Int. +46) 063-12 54 61/070-628 71 20
Address: Box 31, S-831 21 Östersund, Sweden
Web site: http://www.combonet.se/


Re: ssh with RSA-key login problem

1999-08-02 Thread Fredrik Jonsson
Nathan E Norman [EMAIL PROTECTED] 99-08-01 22.55 wrote

root login works without a problem but when I try to login as user1 my
ssh client complains that Server does not allow RSA authentication, or
the public key for user user1 was not accepted. Reverting to password
authentication.

What is wrong?

.ssh/authorized_keys is group writable, and that tends to freak out SSH.

`cd; chmod -R g-w .ssh/*' should help.

Hi,

I tried this but it made no difference. Anything else I can try?

TIA

Regards,
Fredrik Jonsson

--
A mind is like a parachute. It doesn't work if it's not open.
Phone: (Int. +46) 063-12 54 61/070-628 71 20
Address: Box 31, S-831 21 Östersund, Sweden
Web site: http://www.combonet.se/


ssh with RSA-key login problem

1999-08-01 Thread Fredrik Jonsson
Hi,

I have setup sshd on my Debina system, genrated keys for root and user1
with ssh-keygen and put the public key in the file .ssh/authorized_keys.
I have moved the private keys to my Mac where I run a ssh client
(niftytelnet-1.1-ssh-r3).

root login works without a problem but when I try to login as user1 my
ssh client complains that Server does not allow RSA authentication, or
the public key for user user1 was not accepted. Reverting to password
authentication.

What is wrong?

Debian:/home/user1/.ssh# ls -la
total 6
drwxr-sr-x   2 user1 user1 1024 Aug  1 15:33 .
drwxrwsr-x  10 user1 user1 1024 Aug  1 15:31 ..
-rw-rw-r--   1 user1 user1  327 Aug  1 15:33 authorized_keys
-rw---   1 user1 user1  523 Aug  1 15:32 identity
-rw-rw-r--   1 user1 user1  327 Aug  1 15:32 identity.pub
-rw---   1 user1 user1  512 Aug  1 15:31 random_seed

Regards,
Fredrik Jonsson

--
A mind is like a parachute. It doesn't work if it's not open.
Phone: (Int. +46) 063-12 54 61/070-628 71 20
Address: Box 31, S-831 21 Östersund, Sweden
Web site: http://www.combonet.se/


3Com 509B Ethernet card problem part 2

1999-07-26 Thread Fredrik Jonsson
Hi,

Thanks to all who responded to my first (very incomplete) question!

I have now disabled PnP on the card and set IRQ to 10 and io to 300. IRQ
10 is set to ISA (not Pnp) in Bios. Donald Beckers el3-diag report the
card to be OK, se below.

What I was trying to do was to compile the 3c509 driver hard into the
kernel with modconf and was geting only errors. Many suggested to load
the driver as a module insteed so I have put the line alias eth0 3c509
in to the file conf.modules via update-modules command. But I still get:

On Boot
 eth0 unknown interface

When I check modprobe

# This file was generated by: modprobe -c (2.1.121)
 [Deletia]
 # Aliases
 alias eth0 3c509
 alias eth0 off
 [Deletia]

The first line about 3c509 looks like mine but where does the off
command come from?

After running el3-diag, insmod and modprobe I am for some reason able to
run modconf and put the driver in to the kernel but on reboot the
process stops at 3c509, only a CTRL+C makes it continue.

After running insmod 3c509, modprobe 3c509, ifconfig ... and route
... everything looks fine, se below, but I can't get a connection/ping
other computers on my local network. The settings in ifconfig and route
disappears after a reboot, I presume this is not right.

TIA

Regards,
Fredrik Jonsson

* Some (necessary?) info:

el3diag.c:v0.11 3/16/97 Donald Becker ([EMAIL PROTECTED])
 Looking for card 1.
 Generating the activation sequence on port 0x100 for card 1.
 Activating the card at I/O address 300.
 EEPROM contents:
  0060 9724 7cb9 9050 c183 0036 5a46 6d50 0010 a000 0060 9724 7cb9
1320  9583
 An ISA EtherLink III board was activated at I/O 0x300, IRQ 10.
 eth0: 3c509 found at 0x300.

# This file was generated by: ifconfig -a
loLink encap:Local Loopback
  inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
  UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  Collisions:0

eth0  Link encap:Ethernet  HWaddr 00:60:97:24:7C:B9
  inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
  Collisions:0
  Interrupt:10 Base address:0x300

Kernel IP routing table (via netstat -nr)
 Destination Gateway Genmask Flags   MSS Window
irtt Iface
 192.168.0.0 0.0.0.0 255.255.255.0   U  1500 0
  0 eth0
 127.0.0.0   0.0.0.0 255.0.0.0   U  3584 0
  0 lo

PING 192.168.0.2 (192.168.0.2): 56 data bytes
ping: wrote 192.168.0.2 64 chars, ret=-1
not permitted
ping: wrote 192.168.0.2 64 chars, ret=-1
not permitted
ping: wrote 192.168.0.2 64 chars, ret=-1
not permitted
--- 192.168.0.2 ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss


--
A mind is like a parachute. It doesn't work if it's not open.
Phone: (Int. +46) 063-12 54 61/070-628 71 20
Address: Box 31, S-831 21 Östersund, Sweden
Web site: http://www.combonet.se/


3Com 509B Ethernet card working in Windows but not in Linux

1999-07-21 Thread Fredrik Jonsson
Hi,

According to the Hardware-HOWTO Linux should support the 3Com  509B
Ethernet card. When I try to install the driver I get an error and during
booting a line appear:

eth0 unknown interface  /* something like that */

In Windows 95 the card funktion and I can ping it from my Mac via the
local network. I's a Pentium 133 MHz system i'm installing on.

Any tips?

TIA

Regards,
Fredrik Jonsson

--
A mind is like a parachute. It doesn't work if it's not open.
Phone: (Int. +46) 063-12 54 61/070-628 71 20
Address: Box 31, S-831 21 Östersund, Sweden
Web site: http://www.combonet.se/