Hi,
  I'm runnign a batch job system (PBS) and it requires copying files
between various nodes. Due to earlier problesm I've totally disabled
ftp/rcp et al. So I'm using scp. However when I give the command:

scp -B /tmp/somefile [EMAIL PROTECTED]:/home/rajarshi/

(where a.b.c is the localhost)

I get the error:

Permission denied (publickey,password,keyboard-interactive).
lost connection

Now, in /etc/sshd_config RSAAuthentication is set to yes,
PasswordAuthentication is set to yes and PermitEmptyPasswords is also set
to yes. Furthermore I've used ssh-keygen to make my private and public
keys and have the poublic key is $HOME/.ssh/authorized_keys.
So I should be able to have passwd less logins - but doing ssh still asks
for my passwd. And scp -B still does'nt work.

Furthermore when I have the line 'BatchMode yes" (without the quotes) in
$HOME/.ssh/config, the same command above gives me:

Permission denied (publickey,password,keyboard-interactive).
lost connection

I'd really appreciate any help on this matter.

TIA,


-------------------------------------------------------------------
Rajarshi Guha                  | email: [EMAIL PROTECTED]
Dept of Chemistry              | web  : www.rajarshi.f2s.com 
Pennsylvania State University  | ph   : (814) 863 1222
-------------------------------------------------------------------
GPG Fingerprint: E8F3 281F 93A9 C90C 853E  5136 8455 201B C92F F3E7
-------------------------------------------------------------------
Artificial intelligence has the same relation to intelligence as
artificial flowers have to flowers.
                -- David Parnas


Reply via email to