Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Problem trying to scp

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 3 Posters 3.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dutler
      last edited by

      Hi there, I can not get fish or scp to work. Yes I am using root and I can ssh fine. Im using 1.2.1
      When using scp, I get "No such file or directory"

      thanks, tom

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        @dutler:

        Hi there, I can not get fish or scp to work. Yes I am using root and I can ssh fine. Im using 1.2.1
        When using scp, I get "No such file or directory"

        Tom,

        Since yours is a different issue, you may want to start a new thread with a more in-depth description of your issue. Hijacking another thread is less likely to get you a response, as the original poster's problem has been resolved.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • D
          dutler
          last edited by

          I don't go for Jimp's hijacking claim. Seeking a second opinion: http://forum.pfsense.org/index.php/topic,13972.0.html

          Lets keep this thread on task of finding solutions on the scp issue with 1.2.x if you think i should or shouldnt start a new thread, let me know at the above.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Looks like a mod split the thread, that works too. :)

            So are you just using fish, or are you using scp from the CLI? If from the CLI, what is the exact command you used?

            It might help to know what files you are trying to copy as well.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • D
              dutler
              last edited by

              Hey there, thanks for the help.

              I was trying both fish and cli scp. As for scp, I was following "scp sourcefile root@pfsense:directory/targetfile" from my workstation, but I also tried to pull the file from pfsense via "scp tom@bob:directory/sourcefile targetfile"

              The files concerned are:
              /etc/inc/dyndns.class
              /usr/local/www/services_dyndns.php

              So, its not a ssh or access issue, because ssh works fine. I am using root user. Im pretty confident in my usage of scp and fish. I have used fish on 1.2.1 RCs….

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                Hmm, it works OK for me with that file:

                jim@loki:~/tmp$ scp root@192.168.1.1:/etc/inc/dyndns.class .
                Password:
                dyndns.class                                                                                      100%   29KB  28.7KB/s   00:00    
                
                jim@loki:~/tmp$ scp dyndns.class root@192.168.1.1:/etc/inc/dyndns.class  
                Password:
                dyndns.class                                                                                      100%   29KB  28.7KB/s   00:00    
                

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • S
                  ssbaksa
                  last edited by

                  It works for me to. I am using pscp and winSCP trough IPSec tunnel.

                  C:\Documents and Settings\sbaksa>"C:\Program Files\PuTTY\pscp" root@172.16.0.254:/etc/inc/dyndns.class d.c
                  Using keyboard-interactive authentication.
                  Password:
                  d.c                      | 28 kB |  28.7 kB/s | ETA: 00:00:00 | 100%

                  C:\Documents and Settings\sbaksa>dir
                  Volume in drive C is System
                  Volume Serial Number is FC6E-19FE

                  Directory of C:\Documents and Settings\sbaksa

                  01.02.2009  17:30

                  <dir>          .
                  01.02.2009  17:30

                  <dir>          ..
                  01.02.2009  17:30            29.403 d.c
                  19.01.2009  21:03

                  <dir>          Desktop
                  14.12.2008  19:20

                  <dir>          Favorites
                  25.01.2009  19:04

                  <dir>          My Documents
                  07.01.2009  20:49              445 regwizard.log
                  07.01.2009  20:49            3.030 sanct.log
                  17.12.2008  19:46

                  <dir>          Start Menu
                                3 File(s)        32.878 bytes
                                6 Dir(s)  72.352.329.728 bytes free</dir>

                  </dir>

                  </dir>

                  </dir>

                  </dir>

                  </dir>

                  1 Reply Last reply Reply Quote 0
                  • D
                    dutler
                    last edited by

                    hello, yes, i have used fish to copy keys to the pfsense box when i was setting openvpn…. not sure how a broke it.... :)

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      It might help to see exactly what command line you are using for scp and the error that results. Or try it exactly how I did in my prior post. I'm not doubting your ability to use the commands, I just think that some extra clarification and information will help.

                      It works fine for me with via fish as well:

                      fish://root@192.168.1.1/etc/inc/

                      Pulls up a list of files in /etc/inc, though I had to wait a few seconds for it to prompt me about accepting the key and then a few more seconds to enter the password.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.