sftp in batch mode without psssword prompt
- From: ogmios01@xxxxxxxxxxx
- Date: 2 Dec 2005 13:27:02 -0800
I would like to use (SSH) ftp from a solaris 2.9 box to another solaris
2.9. Requirments are that password authentication needs to be used (I
know public/private key is more secure, but customer is king).
I've been looking through the archives and seen different hacks to get
around the password prompting but I've not found the final answer. I've
paged through "SSH, the definitive guide" and beside mentions a couple
of hundred times that password is less secure it doesn't mention
solutions.
On my Windows PC I can uses something as "sftp user@host -pw password"
and that works. But the -pw option is not in Solaris 2.9 (and no I
can't install a new version of SSH).
The most common "hacks" I've found are:
- using expect to supply the password
- using SSH_ASKPASS
Is there a more regular way of using password authentication with sftp.
When I run sftp with -v I can see that I can I use password
authentication, keyboard innteractive and the usual.
Regards,
Ogmios
.
- Follow-Ups:
- Re: sftp in batch mode without psssword prompt
- From: Richard E. Silverman
- Re: sftp in batch mode without psssword prompt
- Prev by Date: command sent over putty
- Next by Date: Re: command sent over putty
- Previous by thread: command sent over putty
- Next by thread: Re: sftp in batch mode without psssword prompt
- Index(es):
Relevant Pages
|
|