Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hehehehe... bizarre... real bizarre. When they said Mac users "think different"... well, that's different.
Glad I could help. Wish it could have been figured out sooner though.
LFS isn't so difficult as it is addicting. You always think of a "better" way to manage your system after you've passed the point of no-return with your current install.
As for Halo 2... That's not me Although I do have an Xbox and a copy of it, I've never jumped on Live. I have an unnatural/irrational aversion to pay-to-play services. I've manged to beat Halo 2 on normal, but the Heroic setting seems to be a huge step up in difficulty. I didn't notice that kind of spike in the original Halo. Maybe I'm just getting old and the reflexes ain't as quick anymore.
Have you tried looking at his .profile or .login or .bashrc?
I once had a .bashrc that echoed some stuff on succesfull login. It pretty much messed up scp (because it tunnels data over ssh, and the echoed stuff is not in the protocol) even though ssh was working perfectly.
Originally posted by Baix Actually cp isn't a typo, the error actually comes out like that.
And I made quadrubly sure he was trying scp before preparing to bludgeon him to a bloody pulp.
When you scp to Brian's account, you will run his .bashrc file. Could he have an alias set up to map 'scp' to 'cp'? If so, get the bludgeon ready. Similarly, when you scp to him, it spawns a partner scp at his end so $PATH must be set up to locate the correct scp. It may be finding something else on the target system.
Edit. I didn't notice the 2nd page so I guess this is fixed now. Still a good idea to check .bashrc though.
Well, it looks pretty much the same... I was mainly suspicious of the user@host parts.
In that case, the problem might be with bash and how it interprets the command line. He could try quoting the destination file in an attempt to preserve it. Something like:
Code:
scp test.txt 'brian@ip_address:/home/brian'
I didn't use the foo'd bit just to avoid confusion about the quoting. If that works, then his version of bash is interpreting the user@host:file specification as something "special".
I know this post is really old, but it helped me solve my problem. I'm using a mac and trying to scp to EC2. The mac apparently didn't like the command without the quotes. I added the single quotes, and it worked! Previously I was getting the no such file or directory error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.