Shane Ramey writes:
  : I have ssh1 and ssh2 installed, ssh2 running on port 22 and ssh1 running
  : on port 1022. I'm trying to use ssh1 to scp with RSA host authentication
  : to remotely 
  : copy files, and it's not following through. The command I issue and it's
  : output are:
  : 
  : root@caffeine ~]# scp1 -P 1022 /etc/group
  : [EMAIL PROTECTED]:/home/wnciadm/
  : ssh: unknown option -a
  : lost connection
  : 
  : Is there anything I should know about when trying to use scp1? I think
  : I've done everything right, but apparently there's some catch.

Based on this information my guess of the events is the following:

You're using a version of ssh2 (pre-ssh-2.0.11, I'd gather),
where there is a faulty '-a' option (ie. it doesn't exist). Further,
ssh2 is installed as 'ssh', so scp1 is trying use the faulty ssh2
inplace of ssh1.

Couple of things:

a) Update your ssh2 to ssh-2.0.12.

b) you can give scp1 the path to ssh as parameter, as follows
% scp1 -S /usr/local/bin/ssh1 file [EMAIL PROTECTED]:path/to/things/

HTH.

-- 
[[EMAIL PROTECTED]           --  Sami J. Lehtinen  --           [EMAIL PROTECTED]]
[work:+358 9 43543214][gsm:+358 50 5170 258][http://www.iki.fi/~sjl]
[SSH Communications Security Ltd.                http://www.ssh.fi/]

Reply via email to