Problem trying to scp
-
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
-
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.
-
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.
-
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.
-
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.phpSo, 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….
-
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
-
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-19FEDirectory 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>
-
hello, yes, i have used fish to copy keys to the pfsense box when i was setting openvpn…. not sure how a broke it.... :)
-
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.