SCP on FreeBSD

Poontos

Platinum Member
Mar 9, 2000
2,799
0
0
Can someone please give me an example on how to grab a file via scp from a remote host?

I have tried:

scp userid@remote.host:/home/userid/filenam

And it does not work.

I know how to copy a file to a remote host, but the other way does not seem to be working anymore (I think it worked in the past)

Thanks!
 

Poontos

Platinum Member
Mar 9, 2000
2,799
0
0
Thanks n0c! I guess I just missed specifying the destination, even though I thought it was sort of like FTP. Do a lcd if you are not the dir you want the file to land.


 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< Thanks n0c! I guess I just missed specifying the destination, even though I thought it was sort of like FTP. Do a lcd if you are not the dir you want the file to land. >>



Its more like cp than ftp ;)