Mailinglist Archive: opensuse (963 mails)

< Previous Next >
[opensuse] Re: Repair Broken SSH
  • From: Martti Laaksonen <martti.laaksonen@xxxxxx>
  • Date: Thu, 25 Nov 2010 19:32:27 +0200
  • Message-id: <201011251932.27539.martti.laaksonen@xxxxxx>
On Tuesday 23 November 2010 22:47:36 Andrew Joakimsen wrote:
I never changed the scp script, so how do i reset everything in ssh
and scp to be like it was with a new installation?

Just to clarify, scp, as installed from openssh package, is an executable
binary _not_ a script.

If you're still having problems with sshd/scp after re-installing openssh like
Patrick instructed in another response, then you could enter command

type -a scp

in a terminal to see how your shell would interpret scp if used as a command
name (assuming that bash is your default shell).

It should print something like this (in openSUSE 11.3):

testuser@darkside:~> type -a scp
scp is /usr/bin/scp
scp is /usr/bin/X11/scp

If, on the other hand, you have an scp alias or a script called scp lurking
somewhere in your shell's PATH, you might see something like this instead:

testuser@darkside:~> type -a scp
scp is aliased to `scp -o passwordprompt'
scp is /home/testuser/bin/scp
scp is /usr/bin/scp
scp is /usr/bin/X11/scp



--
Martti
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >