Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
When I'm on my Linux machine at home, I can scp files out of the box to remote locations without any problem. However, if I'm at a remote location, I cannot scp files into the box. Before you look at the output, I'm sure it's not a firewall issue. I SSH into the box every day without a problem, and the only reason it didn't ask for a password is because it is using DSA authentication. That being said, here is the output:
# scp <filename> <username>@<domain>:<path>
No value for $TERM and no -T specified
No value for $TERM and no -T specified
scp: warning: Executing scp1 compatibility.
scp: FATAL: Executing ssh1 in compatibility mode failed (Check that scp1 is in your PATH).
lost connection
This is just a default RH9.0 install, I believe. I have the same distro on a machine at work and have no problems scp'ing to that machine. What should I be trying to fix?
A couple of things to look at you can do ssh -v or ssh -vv and it'll show you the negotiations between the two servers. It might let you know where your connection is failing. At a guess, I would look at your authorized keys and make sure it matches the id_rsa.pub or identity.pub from your work system. (Or vice versa from your home system to your work system). Also make sure the user you're scp'ing into's home directory has only 755 permissions and the .ssh is set at 700 so you log in to your target system.
are you using open ssh on both systems? it's posting something about incompatibilities so I'm wondering if one side or the other has been upgraded or modified to run something that emulates ssh rather than ssh.
The only thing I'm noticing is the ssh-3.1.0-8 RPM on the problem machine. It doesn't seem to be on either of the other machines, but that doesn't really mean anything to me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.