PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : SSH und Fli4l Problem



Borkener
11.09.02, 00:57
Hi Leute,

hoffe das ihr mir da etwas weiter helfen könnt.

Also ich habe den Router Fli4l, kennt ja fast jeder denke ich mal.

So jetzt will ich mich da mit SSH einloggen. Das ganze soll mit Keys vonstatten gehen. So weit hab ich das ja, also ich hab Keys erstellt und in die authorized_keys auch eingefügt.

Wenn ich mich jetzt einlogge kommt folgendes:

----------------------------------------
Using username "root".
Authenticating with public key "sshborkener"
Passphrase for key "sshborkener":
Access denied
root@192.168.0.1's password:
Last login: Mon Mar 30 13:38:27 1987 from :45 bin dev etc

Welcome to fli4l !

fli4l:/ #
------------------------------------------


Der Passphrase is 100% richtig eingegeben aber er sagt access denied. Wenn ich dann in der nächsten zeile das pw eingebe funzt es. Das geht doch voll am Sinn von SSH mit Keys vorbei. Dann kann ich auch gleich ohne Keys arbeiten.

Wieso lässt er überhaupt diesen 2. Login zu?


hier noch die configdatei von SSHD vom Fli4l:

OPT_SSHD2='yes' #install sshd: yes or no
SSHD2_PORT='22' #ssh port, see also FIREWALL_DENY_PORT_x
SSHD2_USE_SSH1='no' #use ssh1 protocol - default: yes
SSHD2_USE_SSH2='yes' #use ssh2 protocol - default: yes
SSHD2_LISTEN_ADDR_N='0' #number of addresses sshd should listen on
# default: 0 - listen on all local ports
SSHD2_LISTEN_ADDR_1='192.168.0.1' #first ip address, sshd should listen on
SSHD2_ALLOW_USER_N='1' #number of users sshd login has been granted to
# default: 0 - login is allowed for all users
SSHD2_ALLOW_USER_1='root' #first user, sshd access has been granted
# remember that users must exist in /etc/passwd
SSHD2_MAX_STARTUPS='10' #maximum number of concurrent unauthenticated
# connections. default: 10
OPT_SSHD2_SFTP='yes' #install sftp: yes or no
SSHD2_SAVE_KEYS='yes' #save generated key files to /boot/ssh2keys.tar
OPT_SSHD2_KEYS='yes' #restore own ssh keys: yes or no
# only possible if ssh2keys.tar has been backuped
# and copied to directory opt/files/boot/

Borkener
12.09.02, 22:45
braucht ihr noch mehr infos? wenn ja welche. bitte helft mir