ssh errors

Shawn Badger sbadger at cskauto.com
Mon Mar 6 09:47:06 MST 2006


Have you checked your permissions on /bin/sh? Your system may have
compromised and they will sometimes change the permission on some key
files such as ls or sh to get you to run the corrupted files with root
privileges. I would download and run chkrootkit to see if the files have
been changed.


On Mon, 2006-03-06 at 09:36 -0700, Michael Sammartano wrote:
> No. I can login only as root now, both locally and remote. I have 
> checked my permissions for /tmp, /home and the subfolders and I went as 
> far as chmod 777 -R directoryName to gain access and still nothing. I 
> dont know what is going on.
> 
> Shawn Badger wrote:
> 
> >Are you able to login as a normal user locally? 
> >
> >
> >On Sun, 2006-03-05 at 23:47 -0700, Michael Sammartano wrote:
> >  
> >
> >>I lost all user accessibility to my server via ssh. Here is my error. I still have access via root. Any ideas gratefully accepted..
> >>
> >>Mike
> >>
> >>
> >>Warning: Permanently added 'xx.xxx.xxx.xxx' (RSA) to the list of known hosts.
> >>debug2: bits set: 520/1024
> >>debug1: ssh_rsa_verify: signature correct
> >>debug2: kex_derive_keys
> >>debug2: set_newkeys: mode 1
> >>debug1: SSH2_MSG_NEWKEYS sent
> >>debug1: expecting SSH2_MSG_NEWKEYS
> >>debug2: set_newkeys: mode 0
> >>debug1: SSH2_MSG_NEWKEYS received
> >>debug1: SSH2_MSG_SERVICE_REQUEST sent
> >>debug2: service_accept: ssh-userauth
> >>debug1: SSH2_MSG_SERVICE_ACCEPT received
> >>debug2: key: /home/proudhawk/.ssh/identity ((nil))
> >>debug2: key: /home/proudhawk/.ssh/id_rsa ((nil))
> >>debug2: key: /home/proudhawk/.ssh/id_dsa ((nil))
> >>debug1: Authentications that can continue: publickey,keyboard-interactive
> >>debug1: Next authentication method: publickey
> >>debug1: Trying private key: /home/proudhawk/.ssh/identity
> >>debug1: Trying private key: /home/proudhawk/.ssh/id_rsa
> >>debug1: Trying private key: /home/proudhawk/.ssh/id_dsa
> >>debug2: we did not send a packet, disable method
> >>debug1: Next authentication method: keyboard-interactive
> >>debug2: userauth_kbdint
> >>debug2: we sent a keyboard-interactive packet, wait for reply
> >>debug2: input_userauth_info_req
> >>debug2: input_userauth_info_req: num_prompts 1
> >>Password:
> >>debug2: input_userauth_info_req
> >>debug2: input_userauth_info_req: num_prompts 0
> >>debug1: Authentication succeeded (keyboard-interactive).
> >>debug1: channel 0: new [client-session]
> >>debug2: channel 0: send open
> >>debug1: Entering interactive session.
> >>debug2: callback start
> >>debug2: x11_get_proto: /usr/bin/X11/xauth  list :0.0 . 2>/dev/null
> >>debug1: Requesting X11 forwarding with authentication spoofing.
> >>debug2: channel 0: request x11-req confirm 0
> >>debug1: Requesting authentication agent forwarding.
> >>debug2: channel 0: request auth-agent-req at openssh.com confirm 0
> >>debug2: client_session2_setup: id 0
> >>debug2: channel 0: request pty-req confirm 0
> >>debug1: Sending environment.
> >>debug1: Sending env LANG = en_US
> >>debug2: channel 0: request env confirm 0
> >>debug2: channel 0: request shell confirm 0
> >>debug2: fd 3 setting TCP_NODELAY
> >>debug2: callback done
> >>debug2: channel 0: open confirm rwindow 0 rmax 32768
> >>debug1: Remote: No xauth program; cannot forward with spoofing.
> >>debug1: Remote: Agent forwarding disabled: mkdtemp() failed: Permission denied
> >>debug2: channel 0: rcvd adjust 131072
> >>*** Could not chdir to home directory /home/Techn0: Permission denied
> >>debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
> >>debug2: channel 0: rcvd eof
> >>debug2: channel 0: output open -> drain
> >>debug2: channel 0: rcvd close
> >>debug2: channel 0: close_read
> >>debug2: channel 0: input open -> closed
> >>*** /bin/bash: Permission denied
> >>debug2: channel 0: obuf empty
> >>debug2: channel 0: close_write
> >>debug2: channel 0: output drain -> closed
> >>debug2: channel 0: almost dead
> >>debug2: channel 0: gc: notify user
> >>debug2: channel 0: gc: user detached
> >>debug2: channel 0: send close
> >>debug2: channel 0: is dead
> >>debug2: channel 0: garbage collecting
> >>debug1: channel 0: free: client-session, nchannels 1
> >>Connection to xx.xxx.xxx.xxx closed.
> >>debug1: Transferred: stdin 0, stdout 0, stderr 38 bytes in 0.2 seconds
> >>debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 195.6
> >>debug1: Exit status 1
> >>
> >>    
> >>
> >
> >---------------------------------------------------
> >PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> >To subscribe, unsubscribe, or to change  you mail settings:
> >http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> >  
> >
> 
> -- 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 



More information about the PLUG-discuss mailing list