<?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: unable to scp but ssh works in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241095#M33320</link>
    <description>Thanks for reply. I got following error when remote copy from tmp folder-&lt;BR /&gt;scp ulogin@192.168.24.2:/tmp/file.txt .&lt;BR /&gt;&lt;BR /&gt;Host '192.168.24.2' is not in the trusted hosts file.&lt;BR /&gt;(fingerprint md5 1c:60:7e:d9:3a:69:db:c7:64:e0:68:ff:eb:91:16:29)&lt;BR /&gt;Do you want to continue connecting? (y/n)&lt;BR /&gt;y&lt;BR /&gt;/bin/ssh: connection to ulogin@192.168.24.1:22 exited: No auth methods could be used.&lt;BR /&gt;Authorised users only. All activity may be monitored, logged and reported&lt;BR /&gt;&lt;BR /&gt;What should I do to give for permission to copy?&lt;BR /&gt;&lt;BR /&gt;Thx,&lt;BR /&gt;MKS</description>
    <pubDate>Mon, 28 Jul 2008 08:35:24 GMT</pubDate>
    <dc:creator>monu_1</dc:creator>
    <dc:date>2008-07-28T08:35:24Z</dc:date>
    <item>
      <title>unable to scp but ssh works</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241093#M33318</link>
      <description>Hi all,&lt;BR /&gt;I am able to ssh to ulogin on linux box(192.168.24.2) but not copy file under ulgoin home dir using scp from another machine?&lt;BR /&gt;here is ulogin account:-&lt;BR /&gt;#cat /etc/passwd | grep ulogin&lt;BR /&gt;ulogin:x:100:100:,,,:/tftpboot/chroot//./ulogin:/bin/sh&lt;BR /&gt;#cat /etc/group | grep ulogin&lt;BR /&gt;users:x:100:ulogin&lt;BR /&gt;&lt;BR /&gt;now when i am going to scp this machine from another machine like below&lt;BR /&gt;scp ulogin@192.168.24.2:/abc.txt .&lt;BR /&gt;scp:/abc.txt:No such file or directory&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;MKS&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jul 2008 06:29:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241093#M33318</guid>
      <dc:creator>monu_1</dc:creator>
      <dc:date>2008-07-28T06:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: unable to scp but ssh works</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241094#M33319</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Your scp request is trying to write to the root directory.&lt;BR /&gt;&lt;BR /&gt;You should and might have access restrictions there.&lt;BR /&gt;&lt;BR /&gt;Try /tmp&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 28 Jul 2008 08:21:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241094#M33319</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-07-28T08:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: unable to scp but ssh works</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241095#M33320</link>
      <description>Thanks for reply. I got following error when remote copy from tmp folder-&lt;BR /&gt;scp ulogin@192.168.24.2:/tmp/file.txt .&lt;BR /&gt;&lt;BR /&gt;Host '192.168.24.2' is not in the trusted hosts file.&lt;BR /&gt;(fingerprint md5 1c:60:7e:d9:3a:69:db:c7:64:e0:68:ff:eb:91:16:29)&lt;BR /&gt;Do you want to continue connecting? (y/n)&lt;BR /&gt;y&lt;BR /&gt;/bin/ssh: connection to ulogin@192.168.24.1:22 exited: No auth methods could be used.&lt;BR /&gt;Authorised users only. All activity may be monitored, logged and reported&lt;BR /&gt;&lt;BR /&gt;What should I do to give for permission to copy?&lt;BR /&gt;&lt;BR /&gt;Thx,&lt;BR /&gt;MKS</description>
      <pubDate>Mon, 28 Jul 2008 08:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241095#M33320</guid>
      <dc:creator>monu_1</dc:creator>
      <dc:date>2008-07-28T08:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: unable to scp but ssh works</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241096#M33321</link>
      <description>Sorry!!!!below line was wrongly paste in  above post&lt;BR /&gt;/bin/ssh: connection to ulogin@192.168.24.1:22 exited: No auth methods could be used.&lt;BR /&gt;&lt;BR /&gt;correct line is as below&lt;BR /&gt;/bin/ssh: connection to ulogin@192.168.24.2:22 exited: No auth methods could be used.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;MKS&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jul 2008 08:38:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241096#M33321</guid>
      <dc:creator>monu_1</dc:creator>
      <dc:date>2008-07-28T08:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: unable to scp but ssh works</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241097#M33322</link>
      <description>try adding, or changing, the line:&lt;BR /&gt;&lt;BR /&gt;PasswordAuthentication yes&lt;BR /&gt;&lt;BR /&gt;in the sshd_config on the remote server and restarting sshd.</description>
      <pubDate>Mon, 28 Jul 2008 11:54:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241097#M33322</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-07-28T11:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: unable to scp but ssh works</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241098#M33323</link>
      <description>It looks like scp is not understanding the chroot environment.&lt;BR /&gt;&lt;BR /&gt;Try inverting the test, copy a file from the local host to the remote host in the default directory:&lt;BR /&gt;&lt;BR /&gt;scp testfile ulogin@192.168.24.2:&lt;BR /&gt;&lt;BR /&gt;Identify where testfile was uploaded. Then you will be able to identify the path you should specify for scp. Probably you should run:&lt;BR /&gt;&lt;BR /&gt;scp ulogin@192.168.24.2:/tftpboot/chroot/ulogin/abc.txt .</description>
      <pubDate>Mon, 28 Jul 2008 14:09:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241098#M33323</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-07-28T14:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: unable to scp but ssh works</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241099#M33324</link>
      <description>Ah, I missed the chroot in the home directory. Are you sure you didn't miss any libraries, etc when you setup the chroot'ed ssh?</description>
      <pubDate>Mon, 28 Jul 2008 16:19:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241099#M33324</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-07-28T16:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: unable to scp but ssh works</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241100#M33325</link>
      <description>Are you displaying any messages in your .bash_profile?  You may have to comment them out. scp will read the bash_profile and take the first text line (from the echo line) as an argument.</description>
      <pubDate>Mon, 28 Jul 2008 17:50:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241100#M33325</guid>
      <dc:creator>Doug Garrick</dc:creator>
      <dc:date>2008-07-28T17:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: unable to scp but ssh works</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241101#M33326</link>
      <description>&lt;!--!*#--&gt;Try using the full path to the directory where the abc.txt file is located. That is, if the file is in your home directory (i.e: /home/ulogin ), try:&lt;BR /&gt;&lt;BR /&gt;scp ulogin@192.168.24.2:/home/ulogin/abc.txt .&lt;BR /&gt;&lt;BR /&gt;If chroot is not properly confiugured, it should work anyway.&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jul 2008 23:32:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-scp-but-ssh-works/m-p/4241101#M33326</guid>
      <dc:creator>Fco. Javier Martinez</dc:creator>
      <dc:date>2008-07-28T23:32:27Z</dc:date>
    </item>
  </channel>
</rss>

