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. |

| Subject: | Problem with scp and SSH on Arch Linux |
|---|---|
| Date: | Thu, 14 Jun 2007 22:08:27 +0200 |
Hello, I tried to use scp today, and got this weird behaviour: [stijn@hephaistos ~]$ scp -2 .ssh/id_rsa-olympos2.pub \ stijn@olympos:/home/stijn/.ssh/id_rsa-olympos2.pub Enter passphrase for key '/home/stijn/.ssh/id_rsa-olympos': Arch Linux (Duke) 2.6.21.4-cks-server [stijn@hephaistos ~]$ So I enter the passphrase, get access, but the copy never gets done. This is in /var/log/auth.log: Jun 14 22:00:57 olympos sshd[3678]: Accepted publickey for stijn from 192.168.1.2 port 56900 ssh2 Jun 14 22:00:57 olympos sshd(pam_unix)[3680]: session opened for user stijn by (uid=0) Jun 14 22:00:57 olympos sshd[3680]: error: channel 0: chan_read_failed for istate 3 Jun 14 22:00:57 olympos sshd[3680]: error: channel 0: chan_read_failed for istate 3 Jun 14 22:00:57 olympos sshd(pam_unix)[3680]: session closed for user stijn Googling on the "chan_read_failed for istate 3" reveals a lot of links, but there it seems it is only a 'random' error, and does not affect the copy action itself. In my case the copying never gets done. I have attached my sshd_config from the server, if this could be useful. Password authentication is disabled, making sure one can only get in when he has the RSA key. OpenSSH version is 4.6p1-4. Kind regards Stijn Segers
sshd_config
Description: Text document
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Multihomed Configuration, Greg Wooledge |
|---|---|
| Next by Date: | SCPing a file from UNIX to Windows - scp : Invalid argument, Hariram, Sankarlal |
| Previous by Thread: | List mirroring and brokenness, David Ford |
| Next by Thread: | Re: Problem with scp and SSH on Arch Linux, Greg Wooledge |
| Indexes: | [Date] [Thread] [Top] [All Lists] |