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]

scp "connection" error

Subject: scp "connection" error
Date: Thu, 23 Dec 2004 16:29:47 -0800 (PST)
Hello!!

I've a linux box with a reduced kernel and much
reduced file system.

I want to use scp as a client in the box. I installed
scp and ssh in /home/bin/.

"ssh" works fine from the box, when invoked as: 

sh$ "ssh -v 10.11.9.10"
    OpenSSH_2.9.9p1, SSH protocols 1.5/2.0, OpenSSL
0x0090704f
    debug1: Seeding random number generator
    debug1: Rhosts Authentication disabled,
originating port will not be trusted.
    debug1: restore_uid
    debug1: ssh_connect: getuid 0 geteuid 0 anon 1
    Connecting to 10.11.9.10 [10.11.9.10] port 22...
    debug1: temporarily_use_uid: 0/0 (e=0)
    debug1: restore_uid
    debug1: temporarily_use_uid: 0/0 (e=0)
    debug1: restore_uid
    Connection established.
    Could not create directory '/.ssh'.
    debug1: identity file /.ssh/identity type -1
    debug1: identity file /.ssh/id_rsa type -1
    debug1: identity file /.ssh/id_dsa type -1
    Username:  

Now scp gives out some connection error, though ssh
works fine. I get the following debug when I use scp: 

sh$ "scp -v -S /home/bin/ssh filename user@10.11.9.10"
    debug1: Seeding random number generator
    debug1: Rhosts Authentication disabled,
originating port will not be trusted.
    debug1: restore_uid
    debug1: ssh_connect: getuid 0 geteuid 0 anon 1
    debug1: temporarily_use_uid: 0/0 (e=0)
    debug1: restore_uid
    debug1: temporarily_use_uid: 0/0 (e=0)
    Connecting to 10.11.9.10 [10.11.9.10] port 22...
    debug1: restore_uid
sh$

What would be the problem when "ssh" works fine, and
"scp" which uses ssh, gives out an error?

Thanks for any help!!
--Hari



                
__________________________________ 
Do you Yahoo!? 
Send holiday email and support a worthy cause. Do good. 
http://celebrity.mail.yahoo.com

<Prev in Thread] Current Thread [Next in Thread>
  • scp "connection" error, Hari S <=