LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ssh keys (http://www.linuxquestions.org/questions/linux-newbie-8/ssh-keys-241372/)

merchtemeagle 10-11-2004 01:15 PM

ssh keys
 
I used to program on the server at my school because there is much of software installed on it.
But yesterday, when I connected using ssh there was this message from the system administrator (translated from dutch):

"The new version of the server uses openssh as daemon. You have to make new ssh keys or at least convert the old ones."

I can still connect, but when I try to scp I get:

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

Does this has something to do with the change on the server?

magicsmoke 10-11-2004 01:26 PM

They are probably blocking/disallowing ssh1 requests (which is a _good_ thing). Make sure that you have ssh configured to use ssh2 exclusively via the following:

`grep Protocol /etc/ssh/ssh_config`

If this search returns a line different from 'Protocol 2', edit that line in /etc/ssh/ssh_config to reflect this setting. All should be well after that. (You may also want to remove/recreate your key files, but that's not usually necessary).

merchtemeagle 10-11-2004 05:25 PM

It says:

# Protocol 2,1

merchtemeagle 10-11-2004 06:35 PM

Found the solution.

magicsmoke 10-12-2004 01:12 AM

Glad to hear it.


All times are GMT -5. The time now is 08:27 PM.