<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: scp not working. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137621#M50080</link>
    <description>&lt;BR /&gt;# scp -vv -p linux_hrms_prod adela161p:/home/kumarts/.&lt;BR /&gt;Executing: program /usr/bin/ssh host adela161p, user (unspecified), command scp -v -p -t /home/kumarts/.&lt;BR /&gt;OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f&lt;BR /&gt;debug1: Reading configuration data /etc/ssh/ssh_config&lt;BR /&gt;debug1: Applying options for *&lt;BR /&gt;debug1: Rhosts Authentication disabled, originating port will not be trusted.&lt;BR /&gt;debug1: restore_uid&lt;BR /&gt;debug1: ssh_connect: getuid 0 geteuid 0 anon 1&lt;BR /&gt;debug1: Connecting to adela161p [132.226.250.1] port 22.&lt;BR /&gt;debug1: temporarily_use_uid: 0/0 (e=0)&lt;BR /&gt;debug1: restore_uid&lt;BR /&gt;debug1: temporarily_use_uid: 0/0 (e=0)&lt;BR /&gt;debug1: restore_uid&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: read PEM private key done: type DSA&lt;BR /&gt;debug1: read PEM private key done: type RSA&lt;BR /&gt;debug1: identity file /root/.ssh/identity type -1&lt;BR /&gt;debug2: key_type_from_name: unknown key type '-----BEGIN'&lt;BR /&gt;debug2: key_type_from_name: unknown key type '-----END'&lt;BR /&gt;debug1: identity file /root/.ssh/id_rsa type 1&lt;BR /&gt;debug1: identity file /root/.ssh/id_dsa type -1&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version OpenSSH_3.9p1&lt;BR /&gt;debug1: match: OpenSSH_3.9p1 pat OpenSSH*&lt;BR /&gt;Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_3.1p1&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT sent&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT received&lt;BR /&gt;debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1&lt;BR /&gt;debug2: kex_parse_kexinit: ssh-rsa,ssh-dss&lt;BR /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc&lt;BR /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc&lt;BR /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;BR /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;BR /&gt;debug2: kex_parse_kexinit: none&lt;BR /&gt;debug2: kex_parse_kexinit: none&lt;BR /&gt;debug2: kex_parse_kexinit:&lt;BR /&gt;debug2: kex_parse_kexinit:&lt;BR /&gt;debug2: kex_parse_kexinit: first_kex_follows 0&lt;BR /&gt;debug2: kex_parse_kexinit: reserved 0&lt;BR /&gt;debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1&lt;BR /&gt;debug2: kex_parse_kexinit: ssh-rsa,ssh-dss&lt;BR /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr&lt;BR /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr&lt;BR /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;BR /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;BR /&gt;debug2: kex_parse_kexinit: none,zlib&lt;BR /&gt;debug2: kex_parse_kexinit: none,zlib&lt;BR /&gt;debug2: kex_parse_kexinit:&lt;BR /&gt;debug2: kex_parse_kexinit:&lt;BR /&gt;debug2: kex_parse_kexinit: first_kex_follows 0&lt;BR /&gt;debug2: kex_parse_kexinit: reserved 0&lt;BR /&gt;debug2: mac_init: found hmac-md5&lt;BR /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;BR /&gt;debug2: mac_init: found hmac-md5&lt;BR /&gt;debug1: kex: client-&amp;gt;server aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP&lt;BR /&gt;debug1: dh_gen_key: priv key bits set: 134/256&lt;BR /&gt;debug1: bits set: 1021/2048&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_INIT sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY&lt;BR /&gt;debug1: Host 'adela161p' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /root/.ssh/known_hosts:358&lt;BR /&gt;debug1: bits set: 1025/2048&lt;BR /&gt;debug1: ssh_rsa_verify: signature correct&lt;BR /&gt;debug1: kex_derive_keys&lt;BR /&gt;debug1: newkeys: mode 1&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS sent&lt;BR /&gt;debug1: waiting for SSH2_MSG_NEWKEYS&lt;BR /&gt;debug1: newkeys: mode 0&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS received&lt;BR /&gt;debug1: done: ssh_kex2.&lt;BR /&gt;debug1: send SSH2_MSG_SERVICE_REQUEST&lt;BR /&gt;debug1: service_accept: ssh-userauth&lt;BR /&gt;debug1: got SSH2_MSG_SERVICE_ACCEPT&lt;BR /&gt;debug1: authentications that can continue: publickey,password,keyboard-interactive&lt;BR /&gt;debug1: next auth method to try is publickey&lt;BR /&gt;debug1: try privkey: /root/.ssh/identity&lt;BR /&gt;debug1: try pubkey: /root/.ssh/id_rsa&lt;BR /&gt;debug2: we sent a publickey packet, wait for reply&lt;BR /&gt;debug1: input_userauth_pk_ok: pkalg ssh-rsa blen 149 lastkey 0x808bba0 hint 1&lt;BR /&gt;debug2: input_userauth_pk_ok: fp f8:8a:1f:c2:59:29:3f:1c:e3:fc:5f:93:c9:c0:e2:6f&lt;BR /&gt;debug1: read PEM private key done: type RSA&lt;BR /&gt;debug1: ssh-userauth2 successful: method publickey&lt;BR /&gt;debug1: fd 4 setting O_NONBLOCK&lt;BR /&gt;debug1: fd 5 setting O_NONBLOCK&lt;BR /&gt;debug1: channel 0: new [client-session]&lt;BR /&gt;debug1: send channel open 0&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;debug2: callback start&lt;BR /&gt;debug1: ssh_session2_setup: id 0&lt;BR /&gt;debug1: Sending command: scp -v -p -t /home/kumarts/.&lt;BR /&gt;debug1: channel request 0: exec&lt;BR /&gt;debug2: callback done&lt;BR /&gt;debug1: channel 0: open confirm rwindow 0 rmax 32768&lt;BR /&gt;debug2: channel 0: rcvd adjust 131072&lt;BR /&gt;&lt;BR /&gt;WARNING! The following items has been removed from PATH:&lt;BR /&gt;debug1: channel 0: read&amp;lt;=0 rfd 4 len 0&lt;BR /&gt;debug1: channel 0: read failed&lt;BR /&gt;debug1: channel 0: close_read&lt;BR /&gt;debug1: channel 0: input open -&amp;gt; drain&lt;BR /&gt;debug1: channel 0: ibuf empty&lt;BR /&gt;debug1: channel 0: send eof&lt;BR /&gt;debug1: channel 0: input drain -&amp;gt; closed&lt;BR /&gt;adedla63p:root [/home/kumarts/hosts]&lt;BR /&gt;# debug1: channel 0: write failed&lt;BR /&gt;debug1: channel 0: close_write&lt;BR /&gt;debug1: channel 0: output open -&amp;gt; closed&lt;BR /&gt;debug1: client_input_channel_req: channel 0 rtype exit-status reply 0&lt;BR /&gt;debug1: channel 0: rcvd eof&lt;BR /&gt;debug1: channel 0: rcvd close&lt;BR /&gt;debug1: channel 0: almost dead&lt;BR /&gt;debug1: channel 0: gc: notify user&lt;BR /&gt;debug1: channel 0: gc: user detached&lt;BR /&gt;debug1: channel 0: send close&lt;BR /&gt;debug1: channel 0: is dead&lt;BR /&gt;debug1: channel 0: garbage collecting&lt;BR /&gt;debug1: channel_free: channel 0: client-session, nchannels 1&lt;BR /&gt;debug1: fd 0 clearing O_NONBLOCK&lt;BR /&gt;debug1: fd 1 clearing O_NONBLOCK&lt;BR /&gt;debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 1.3 seconds&lt;BR /&gt;debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0&lt;BR /&gt;debug1: Exit status 0&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 27 Oct 2008 13:30:59 GMT</pubDate>
    <dc:creator>skt_skt</dc:creator>
    <dc:date>2008-10-27T13:30:59Z</dc:date>
    <item>
      <title>scp not working.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137616#M50075</link>
      <description>2.6.9-67.0.1.ELsmp&lt;BR /&gt;Red Hat Enterprise Linux AS release 4 (Nahant Update 6)&lt;BR /&gt;&lt;BR /&gt;scp tried as below. &lt;BR /&gt; &lt;BR /&gt;# scp -p linux_hrms_prod adela161p:/home/kumarts/. &lt;BR /&gt; &lt;BR /&gt;WARNING! The following items has been removed from PATH: &lt;BR /&gt;adedla63p:root [/opt/local/unix/data/hostfiles] &lt;BR /&gt;# &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;[kumarts@adela161p ~]$ su - &lt;BR /&gt;Password: &lt;BR /&gt; &lt;BR /&gt;WARNING! The following items has been removed from PATH: &lt;BR /&gt;/usr/local/sbin /usr/local/bin &lt;BR /&gt;due to security problems of &lt;BR /&gt;/usr/local &lt;BR /&gt; &lt;BR /&gt;[root@adela161p ~]# cd ~kumarts &lt;BR /&gt;[root@adela161p kumarts]# ls -lrt linux_hrms_prod&lt;BR /&gt;ls: linux_hrms_prod: No such file or directory&lt;BR /&gt;&lt;BR /&gt;Any suggetion on which config files i need to look at to fix this?&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Oct 2008 11:24:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137616#M50075</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2008-10-27T11:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: scp not working.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137617#M50076</link>
      <description>Run scp with -v option for more info. &lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Mon, 27 Oct 2008 11:40:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137617#M50076</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-10-27T11:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: scp not working.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137618#M50077</link>
      <description>Is the ssh service running?</description>
      <pubDate>Mon, 27 Oct 2008 12:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137618#M50077</guid>
      <dc:creator>Ragu_3</dc:creator>
      <dc:date>2008-10-27T12:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: scp not working.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137619#M50078</link>
      <description>Hiya,&lt;BR /&gt;&lt;BR /&gt;"WARNING! The following items has been removed from PATH...."&lt;BR /&gt;--&amp;gt; Where is this defined ?&lt;BR /&gt;&lt;BR /&gt;What is your default shell on the destination machine ?&lt;BR /&gt;&lt;BR /&gt;I think it's probably worth it to check your customisations in .bashrc or .cshrc&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Wout</description>
      <pubDate>Mon, 27 Oct 2008 12:50:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137619#M50078</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2008-10-27T12:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: scp not working.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137620#M50079</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;service sshd status&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep sshd&lt;BR /&gt;&lt;BR /&gt;scp -vvv &lt;REST of="" command=""&gt; Post output.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/REST&gt;</description>
      <pubDate>Mon, 27 Oct 2008 12:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137620#M50079</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-10-27T12:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: scp not working.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137621#M50080</link>
      <description>&lt;BR /&gt;# scp -vv -p linux_hrms_prod adela161p:/home/kumarts/.&lt;BR /&gt;Executing: program /usr/bin/ssh host adela161p, user (unspecified), command scp -v -p -t /home/kumarts/.&lt;BR /&gt;OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f&lt;BR /&gt;debug1: Reading configuration data /etc/ssh/ssh_config&lt;BR /&gt;debug1: Applying options for *&lt;BR /&gt;debug1: Rhosts Authentication disabled, originating port will not be trusted.&lt;BR /&gt;debug1: restore_uid&lt;BR /&gt;debug1: ssh_connect: getuid 0 geteuid 0 anon 1&lt;BR /&gt;debug1: Connecting to adela161p [132.226.250.1] port 22.&lt;BR /&gt;debug1: temporarily_use_uid: 0/0 (e=0)&lt;BR /&gt;debug1: restore_uid&lt;BR /&gt;debug1: temporarily_use_uid: 0/0 (e=0)&lt;BR /&gt;debug1: restore_uid&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: read PEM private key done: type DSA&lt;BR /&gt;debug1: read PEM private key done: type RSA&lt;BR /&gt;debug1: identity file /root/.ssh/identity type -1&lt;BR /&gt;debug2: key_type_from_name: unknown key type '-----BEGIN'&lt;BR /&gt;debug2: key_type_from_name: unknown key type '-----END'&lt;BR /&gt;debug1: identity file /root/.ssh/id_rsa type 1&lt;BR /&gt;debug1: identity file /root/.ssh/id_dsa type -1&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version OpenSSH_3.9p1&lt;BR /&gt;debug1: match: OpenSSH_3.9p1 pat OpenSSH*&lt;BR /&gt;Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_3.1p1&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT sent&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT received&lt;BR /&gt;debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1&lt;BR /&gt;debug2: kex_parse_kexinit: ssh-rsa,ssh-dss&lt;BR /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc&lt;BR /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc&lt;BR /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;BR /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;BR /&gt;debug2: kex_parse_kexinit: none&lt;BR /&gt;debug2: kex_parse_kexinit: none&lt;BR /&gt;debug2: kex_parse_kexinit:&lt;BR /&gt;debug2: kex_parse_kexinit:&lt;BR /&gt;debug2: kex_parse_kexinit: first_kex_follows 0&lt;BR /&gt;debug2: kex_parse_kexinit: reserved 0&lt;BR /&gt;debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1&lt;BR /&gt;debug2: kex_parse_kexinit: ssh-rsa,ssh-dss&lt;BR /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr&lt;BR /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr&lt;BR /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;BR /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;BR /&gt;debug2: kex_parse_kexinit: none,zlib&lt;BR /&gt;debug2: kex_parse_kexinit: none,zlib&lt;BR /&gt;debug2: kex_parse_kexinit:&lt;BR /&gt;debug2: kex_parse_kexinit:&lt;BR /&gt;debug2: kex_parse_kexinit: first_kex_follows 0&lt;BR /&gt;debug2: kex_parse_kexinit: reserved 0&lt;BR /&gt;debug2: mac_init: found hmac-md5&lt;BR /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;BR /&gt;debug2: mac_init: found hmac-md5&lt;BR /&gt;debug1: kex: client-&amp;gt;server aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP&lt;BR /&gt;debug1: dh_gen_key: priv key bits set: 134/256&lt;BR /&gt;debug1: bits set: 1021/2048&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_INIT sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY&lt;BR /&gt;debug1: Host 'adela161p' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /root/.ssh/known_hosts:358&lt;BR /&gt;debug1: bits set: 1025/2048&lt;BR /&gt;debug1: ssh_rsa_verify: signature correct&lt;BR /&gt;debug1: kex_derive_keys&lt;BR /&gt;debug1: newkeys: mode 1&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS sent&lt;BR /&gt;debug1: waiting for SSH2_MSG_NEWKEYS&lt;BR /&gt;debug1: newkeys: mode 0&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS received&lt;BR /&gt;debug1: done: ssh_kex2.&lt;BR /&gt;debug1: send SSH2_MSG_SERVICE_REQUEST&lt;BR /&gt;debug1: service_accept: ssh-userauth&lt;BR /&gt;debug1: got SSH2_MSG_SERVICE_ACCEPT&lt;BR /&gt;debug1: authentications that can continue: publickey,password,keyboard-interactive&lt;BR /&gt;debug1: next auth method to try is publickey&lt;BR /&gt;debug1: try privkey: /root/.ssh/identity&lt;BR /&gt;debug1: try pubkey: /root/.ssh/id_rsa&lt;BR /&gt;debug2: we sent a publickey packet, wait for reply&lt;BR /&gt;debug1: input_userauth_pk_ok: pkalg ssh-rsa blen 149 lastkey 0x808bba0 hint 1&lt;BR /&gt;debug2: input_userauth_pk_ok: fp f8:8a:1f:c2:59:29:3f:1c:e3:fc:5f:93:c9:c0:e2:6f&lt;BR /&gt;debug1: read PEM private key done: type RSA&lt;BR /&gt;debug1: ssh-userauth2 successful: method publickey&lt;BR /&gt;debug1: fd 4 setting O_NONBLOCK&lt;BR /&gt;debug1: fd 5 setting O_NONBLOCK&lt;BR /&gt;debug1: channel 0: new [client-session]&lt;BR /&gt;debug1: send channel open 0&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;debug2: callback start&lt;BR /&gt;debug1: ssh_session2_setup: id 0&lt;BR /&gt;debug1: Sending command: scp -v -p -t /home/kumarts/.&lt;BR /&gt;debug1: channel request 0: exec&lt;BR /&gt;debug2: callback done&lt;BR /&gt;debug1: channel 0: open confirm rwindow 0 rmax 32768&lt;BR /&gt;debug2: channel 0: rcvd adjust 131072&lt;BR /&gt;&lt;BR /&gt;WARNING! The following items has been removed from PATH:&lt;BR /&gt;debug1: channel 0: read&amp;lt;=0 rfd 4 len 0&lt;BR /&gt;debug1: channel 0: read failed&lt;BR /&gt;debug1: channel 0: close_read&lt;BR /&gt;debug1: channel 0: input open -&amp;gt; drain&lt;BR /&gt;debug1: channel 0: ibuf empty&lt;BR /&gt;debug1: channel 0: send eof&lt;BR /&gt;debug1: channel 0: input drain -&amp;gt; closed&lt;BR /&gt;adedla63p:root [/home/kumarts/hosts]&lt;BR /&gt;# debug1: channel 0: write failed&lt;BR /&gt;debug1: channel 0: close_write&lt;BR /&gt;debug1: channel 0: output open -&amp;gt; closed&lt;BR /&gt;debug1: client_input_channel_req: channel 0 rtype exit-status reply 0&lt;BR /&gt;debug1: channel 0: rcvd eof&lt;BR /&gt;debug1: channel 0: rcvd close&lt;BR /&gt;debug1: channel 0: almost dead&lt;BR /&gt;debug1: channel 0: gc: notify user&lt;BR /&gt;debug1: channel 0: gc: user detached&lt;BR /&gt;debug1: channel 0: send close&lt;BR /&gt;debug1: channel 0: is dead&lt;BR /&gt;debug1: channel 0: garbage collecting&lt;BR /&gt;debug1: channel_free: channel 0: client-session, nchannels 1&lt;BR /&gt;debug1: fd 0 clearing O_NONBLOCK&lt;BR /&gt;debug1: fd 1 clearing O_NONBLOCK&lt;BR /&gt;debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 1.3 seconds&lt;BR /&gt;debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0&lt;BR /&gt;debug1: Exit status 0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Oct 2008 13:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137621#M50080</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2008-10-27T13:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: scp not working.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137622#M50081</link>
      <description>&lt;BR /&gt;I'm increasingly confident your bashrc/cshrc file is involved.&lt;BR /&gt;&lt;BR /&gt;If I test this on one of my machines I can reprduce your problem: when I add "echo TEST" to my .bashrc on the receiving end and do the scp, I see the TEST output and the file does not arrive.&lt;BR /&gt;&lt;BR /&gt;When I remove this statement from the .bashrc scp works as expected.&lt;BR /&gt;&lt;BR /&gt;When I find out why this is preventing the copy from working, I'll post it as well :-)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Wout</description>
      <pubDate>Mon, 27 Oct 2008 14:30:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137622#M50081</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2008-10-27T14:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: scp not working.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137623#M50082</link>
      <description>Found it :-)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.openssh.com/faq.html#2.9" target="_blank"&gt;http://www.openssh.com/faq.html#2.9&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If any shell initialisation (.profile, .bashrc, .cshrc, ...) produce any output, which is the case for you, scp will not work.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Wout</description>
      <pubDate>Mon, 27 Oct 2008 14:33:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137623#M50082</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2008-10-27T14:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: scp not working.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137624#M50083</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;this file was the culprit. &lt;BR /&gt; &lt;BR /&gt;[root@adela161p profile.d]# ll /etc/profile.d/zz_rootpath.sh &lt;BR /&gt;-rwxr-xr-x  1 root root 2200 Oct 27 16:03 /etc/profile.d/zz_rootpath.sh &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;      if [ -n "$badpath" ]; then&lt;BR /&gt;        echo &amp;gt; /dev/null&lt;BR /&gt;        echo "WARNING! The following items has been removed from PATH:" &amp;gt; /dev/null&lt;BR /&gt;        echo "${badpath## }" &amp;gt; /dev/null&lt;BR /&gt;        echo "due to security problems of" &amp;gt; /dev/null&lt;BR /&gt;        echo "${baddir## }" &amp;gt; /dev/null&lt;BR /&gt;        echo &amp;gt;/dev/null&lt;BR /&gt;      fi</description>
      <pubDate>Mon, 27 Oct 2008 19:09:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137624#M50083</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2008-10-27T19:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: scp not working.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137625#M50084</link>
      <description>updated</description>
      <pubDate>Mon, 27 Oct 2008 19:10:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scp-not-working/m-p/5137625#M50084</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2008-10-27T19:10:18Z</dc:date>
    </item>
  </channel>
</rss>

