Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

HELP please! Why is the agent NOT recognized

Subject: HELP please! Why is the agent NOT recognized
Date: Thu, 12 Aug 2004 16:43:46 -0400
I have 2 machines, remote SSH server is a Linux (RH Fedora) and 
local SSH client is HPUX 10.20. I mimiced the steps I did to have
SSH working for user1 for user2. user1 can tunnel through, but not
user2. I gathered the following debug lines for the user2 session,
and it seems like the agent I create is NOT recognized by ssh, at
least I think so as evident from the "No agent" line midway down.
I do...
        > ssh-agent $SHELL
        > ssh-add
and see the dir/files in /tmp/ssh-user2 with the same permissions for
/tmp/ssh-user1. 

Any clues why? Thanks!

Script started on Thu Aug 12 15:50:16 2004
24;1HJ0mSSH_CLIENT 93: ssh -v SSH_SERVER ls
SSH Version 1.2.26 [hppa1.1-hp-hpux10.20], protocol version 1.5.
Standard version.  Does not use RSAREF.
SSH_CLIENT: ssh_connect: getuid 101 geteuid 110 anon 1
SSH_CLIENT: Connecting to SSH_SERVER [ipaddress] port 22.
SSH_CLIENT: Connection established.
SSH_CLIENT: Remote protocol version 1.99, remote software version
OpenSSH_3.6.1p2
SSH_CLIENT: Waiting for server public key.
SSH_CLIENT: Received server public key (768 bits) and host key (1024
bits).
SSH_CLIENT: Host 'rdusx001' is known and matches the host key.
SSH_CLIENT: Initializing random; seed file
/net/rduxhp00/home/tscary/.ssh/random_seed
SSH_CLIENT: IDEA not supported, using 3des instead.
SSH_CLIENT: Encryption type: 3des
SSH_CLIENT: Sent encrypted session key.
SSH_CLIENT: Installing crc compensation attack detector.
SSH_CLIENT: Received encrypted confirmation.
Wrong directory after chdir
SSH_CLIENT: No agent.
SSH_CLIENT: Trying RSA authentication with key 'tscary@SSH_CLIENT'
SSH_CLIENT: Received RSA challenge from server.
SSH_CLIENT: Bad passphrase supplied for key file
/net/rduxhp00/home/tscary/.ssh/identity.
Enter passphrase for RSA key 'tscary@SSH_CLIENT':
SSH_CLIENT: Sending response to host key RSA challenge.
SSH_CLIENT: Remote: RSA authentication accepted.
SSH_CLIENT: RSA authentication accepted by server.
SSH_CLIENT: Requesting X11 forwarding with authentication spoofing.
Wrong directory after chdir
SSH_CLIENT: Sending command: ls
SSH_CLIENT: Entering interactive session.
sample.pl
work
SSH_CLIENT: Transferred: stdin 0, stdout 107, stderr 0 bytes in 0.1
seconds
SSH_CLIENT: Bytes per second: stdin 0.0, stdout 811.6, stderr 0.0
SSH_CLIENT: Exit status 0
SSH_CLIENT 94: exit
exit

script done on Thu Aug 12 15:50:40 2004

--------------------------------------
Chris T Fouts

<Prev in Thread] Current Thread [Next in Thread>