Can't scp or ssh between 2 redhat ES 3 boxes

From: ukturtle (bryn.ellis_at_gmail.com)
Date: 03/04/05


Date: 4 Mar 2005 06:50:03 -0800

Hi,

I'm new to all this SSH and SCP stuff so please bear with me. I've
created a unix daemon that is monitoring a directory waiting for csv
files to be dropped into it. When a file appears I want to scp it to
another box where it will get picked up and worked on.

The monitoring of the directory is working fine and I used to be able
to supply a password when it came to the scp bit in the script and the
file would copy to the remote destination fine. I started playing
around with ssh-keygen so that I didn't have to interactively supply a
password but have never been able to get it to work. I keep getting
the following message when I try 'ssh remoteuser@remotehost' or 'scp
sfile remoteuser@remotehost:tfile' :

Permission denied (publickey,keyboard-interactive).

My versions on the local mahcine are:
'ssh -V' -> OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
'uname -a' -> Linux local 2.4.21-15.EL #1 Thu Apr 22 00:26:34 EDT 2004
i686 athlon i386 GNU/Linux

My version on the remote machine are:
'ssh -V' -> OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
'uname -a' -> Linux remote 2.4.21-15.EL #1 Thu Apr 22 00:27:41 EDT 2004
i686 i686 i386 GNU/Linux

I have no firewall configured on either machine and both of them are
standard installs of RH ES 3 with no patches.

Could someone please talk me through how to set this up.

Thanks in advance.



Relevant Pages

  • Re: Is SSH worth it??
    ... > We would be using SSH and SCP. ... SCP for automated scripts. ... > client will not be prompted for a password. ... remote machine, but imho it is better to swap client+server and give ...
    (Security-Basics)
  • RE: SCP and MVS data sets?
    ... SCP and MVS data sets? ... Is it possible that the open function is different in SCP? ... You can also do the following weirdness to use ssh to copy a z/OS legacy ...
    (bit.listserv.ibm-main)
  • Re: why does scp not use all my cores on a multi-cpu machine?
    ... When I ran my little test earlier, I observed that while I typed scp, both ... scp and ssh got "energized" and in fact ssh used more time than scp. ... Now since encrypting and transmitting has some elements of paralellity ... Right -- ssh, et. al. is an I/O bound process, so long as the network ...
    (comp.os.linux.misc)
  • Re: linux to linux scp in batch mode: how?
    ... reason why it works now is because of the dsa key. ... > been configured automatically when I set up ssh, I would imagine that I am ... >> I have ssh and scp up and running on my two Redhat 7.2 Linux machines, ... >> between the machines. ...
    (comp.security.ssh)
  • Re: linux to linux scp in batch mode: how?
    ... And now I can log on via ssh or scp without being prompted for the password. ... I am not specifically using ssh-agent, ... > between the machines. ...
    (comp.security.ssh)