6

Debian Lenny unable to log in over SSH or straight to the server

view full story
linux-howto

http://www.linuxquestions.org – Hello, how are you? I have installed Debian lenny with software RAID0 (i think it makes no sence to my problem but maybe...) I have installed apache2+php+MySQL (everything worked) I have installed proftpd (to enable users to put files over FTP) after this i tried to connect over SSH to my server i have got: Code: $ ssh -l shark 192.168.0.254 -v OpenSSH_5.1p1 Debian-5, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to 192.168.0.254 [192.168.0.254] port 22. debug1: Connection established. debug1: identity file /home/shark/.ssh/identity type -1 debug1: identity file /home/shark/.ssh/id_rsa type -1 debug1: identity file /home/shark/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-5 debug1: match: OpenSSH_5.1p1 Debian-5 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-5 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host '192.168.0.254' is known and matches the RSA host key. debug1: Found key in /home/shark/.ssh/known_hosts:1 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Trying private key: /home/shark/.ssh/identity debug1: Trying private key: /home/shark/.ssh/id_rsa debug1: Trying private key: /home/shark/.ssh/id_dsa debug1: Next authentication method: password [email protected]'s password: debug1: Authentications that can continue: publickey,password Permission denied, please try again. [email protected]'s password: debug1: Authentications that can continue: publickey,password Permission denied, please try again. [email protected]'s password: debug1: Authentications that can continue: publickey,password debug1: No more authentication methods to try. Permission denied (publickey,password). I thought it is problem with SSH i have tried to connect with another machine over putty, but no success... then i have removed ~/.ssh dir and tried to connect again... i got the same error. Then i connected keybord and monitor to my Linux box, tried to connect there... no success... neither root or my regular user shark. but i should mention my FTP users who have shell: /bin/ftp (symlink to /bin/false) log into the system and then automatically disconnect... ok, i have tried to boot my linux box to debian safe mode... it asked for a root pass... after i provided correct root pass it didn't fit. what to do? I remember once i have made my linux boot to init 1 without asking to provide a pass (it was mandriva Free 2005 or 2006.0) how to do it with a debian machine using grub or any other fixing possibilities? P.S. i can not how provide server side /var/log/syslog or any other info because i cannot log into my Linux "server" thanks for reading and your reply (HowTos)