Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems With SCP [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
marcowave
Apprentice
Apprentice


Joined: 10 Feb 2004
Posts: 284
Location: Paris, France

PostPosted: Fri Oct 08, 2004 9:18 am    Post subject: Problems With SCP [SOLVED] Reply with quote

Hi, i have a problem..

I try to copy some files from my SSH SERVER through INTERNET, but I get this error:

Code:

scp: warning: Executing scp1.
scp: FATAL: Executing ssh1 in compatibility mode failed (Check that scp1 is in your PATH).


How can I solve this?

Logging with normal SSH works well, only the SCP doesn't work!

Thakyou!!
_________________
Linux User #351189 --->A.K.A. "Johnny"<---
Acer TM292LMi: PentiumM 1,5 GHz - 1 GB ram - Radeon 9700M 64MB - Intel 802.11b/g WLAN - DVD-RW - Gentoo Linux - KDE 3.5.2
GentooServer: AMD Athlon 700 MHz - 512 MB ram - HD 80 GB - Kernel 2.6 - Fluxbox


Last edited by marcowave on Fri Oct 08, 2004 10:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
rex123
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 272

PostPosted: Fri Oct 08, 2004 9:32 am    Post subject: Reply with quote

Google is your friend.
See http://www.snailbook.com/faq/scp-ossh-to-ssh2.auto.html
Back to top
View user's profile Send private message
marcowave
Apprentice
Apprentice


Joined: 10 Feb 2004
Posts: 284
Location: Paris, France

PostPosted: Fri Oct 08, 2004 9:47 am    Post subject: Reply with quote

thanks but I don't understand how to solve it.. :(

Quote:
The solution is to install either the OpenSSH or SSH1 version of scp on the server under the name "scp1," somewhere in the sshd2's PATH.


where is sshd2 PATH?
_________________
Linux User #351189 --->A.K.A. "Johnny"<---
Acer TM292LMi: PentiumM 1,5 GHz - 1 GB ram - Radeon 9700M 64MB - Intel 802.11b/g WLAN - DVD-RW - Gentoo Linux - KDE 3.5.2
GentooServer: AMD Athlon 700 MHz - 512 MB ram - HD 80 GB - Kernel 2.6 - Fluxbox
Back to top
View user's profile Send private message
rex123
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 272

PostPosted: Fri Oct 08, 2004 10:03 am    Post subject: Reply with quote

The problem is that OpenSSH and SSH2 aren't the same thing. You've got (I'm guessing) OpenSSH on your machine, and the remote server has SSH2.

If you have admin access to the remote server, you can do one of these things:
Install SSH1 (so that SSH2 can use it as a fallback - the SSH2 program needs to be able to execute SSH1, which is what that PATH stuff is all about).
Install OpenSSH (might need to uninstall OpenSSH first, I'm not sure)

But I suspect that you don't have admin access to the server, in which case you may need to ask someone nicely to do it for you.
Back to top
View user's profile Send private message
marcowave
Apprentice
Apprentice


Joined: 10 Feb 2004
Posts: 284
Location: Paris, France

PostPosted: Fri Oct 08, 2004 10:10 am    Post subject: Reply with quote

ok, I've solved it..

I install both openSSH and SSH on the server, but starting only sshd2 daemon...

and now it works.. I can copy through SCP on my laptop with OpenSSH...

thanks and bye :D :D
_________________
Linux User #351189 --->A.K.A. "Johnny"<---
Acer TM292LMi: PentiumM 1,5 GHz - 1 GB ram - Radeon 9700M 64MB - Intel 802.11b/g WLAN - DVD-RW - Gentoo Linux - KDE 3.5.2
GentooServer: AMD Athlon 700 MHz - 512 MB ram - HD 80 GB - Kernel 2.6 - Fluxbox
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum