Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-12-2009, 10:12 PM   #1
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199

Rep: Reputation: 32
ssh - scp problem

I set up SSH between two laptops, can successfully login,browse, create files.
I've tried using scp to copy file from the remoteComp to currentComp I am using

scp remoteUser@ /Users

am getting errors when I try copying to / or /Users or /Userbb or /any.
"permission denied"

when I try copying to /Users
"/Users/: Is a directory"

and when I try /Users/Username or /Users/anything
"No such file or directory"

scp /filepath user@
this gives me "No such file or directory" no matter what the filepath
Old 10-13-2009, 01:42 AM   #2
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Hi vendtagain,

Originally Posted by vendtagain View Post
scp remoteUser@ /Users
there's a home to much. The string remoteuser@
implies the /home/remoteuser directory.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with scp (ssh) on adding /usr/bin/fortune to /etc/profile & .bashrc (Fedora) funkymunky Linux - Networking 6 09-12-2014 03:06 AM
Chroot SSH problem: ssh working, not SFTP & SCP. NaCo Linux - Security 3 02-01-2009 02:23 AM
ssh2 versus ssh, scp problem yano Linux - Server 3 03-12-2007 04:03 AM
ssh and scp problem DAChristen29 Linux - Networking 4 01-05-2005 04:27 PM
ssh scp problem ckupris Linux - Networking 6 10-11-2003 05:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration