Non-interactive SSH Login.
From: ColoC (colocoloc@yahoo.com)
Date: 04/23/03
- Previous message: Ken: "Re: Putty, pscp with compression doesn't work?"
- Next in thread: Alex: "Re: Non-interactive SSH Login."
- Reply: Alex: "Re: Non-interactive SSH Login."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: colocoloc@yahoo.com (ColoC) Date: 23 Apr 2003 08:25:24 -0700
Hi, I have reviewed OpenSSH manpages ( SSH(1), SSH-KEYGEN(1),
SSH-AGENT(1), SSH-ADD(1), SSH_CONFIG(5) and SFTP(1) ), and I tried
many times myself for non-interactive SSH login.
What I did is like:
mysh> ssh-keygen -t rsa
Then the id file is written to "~/mydir/id_rsa" , in which I set my
passphrase to be empty. Now I have my configuration file ("
~/mydir/ssh_config" ) is as follows:
BatchMode yes
IdentityFile ~/mydir/id_rsa
Protocol 2
Then I tried:
mysh> ssh -F ~/mydir/ssh_config myuser@127.0.0.1
And I got the following output:
Permission denied (publickey,password,keyboard-interactive).
Does this mean that my admin has installed and configured the ssh
applications in such a way that only "
(publickey,password,keyboard-interactive) " is allowed? (I am sorry I
can't catch the admin, who is very busy.)
And of course I tried:
mysh> sftp -o 'IdentifyFile ~/mydir/id_rsa' myuser@127.0.0.1
And I got the following output:
myuser@127.0.0.1's passsword:
which of course shows the failure of my non-interactive sftp.
Can someone help me out of there?
ColoC
- Previous message: Ken: "Re: Putty, pscp with compression doesn't work?"
- Next in thread: Alex: "Re: Non-interactive SSH Login."
- Reply: Alex: "Re: Non-interactive SSH Login."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]