- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: SFTP in batch mode - Re: thread 985928
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2008 10:59 AM
тАО02-20-2008 10:59 AM
Re: SFTP in batch mode - Re: thread 985928
> file for the account password. Any ideas on
> how to pass this password in?
Which "account password"? What, exactly, are
you doing, and with what? Around here:
alp $ sftp sms@alp
sftp> pwd
ALP$DKA0:[SMS]
sftp> quit
Once I'm in, I'm in. I have no idea where
I'd put another password.
Batch file, shmatch file. Can you make this
task go interactively? When you can, provide
a transcript, and then we can worry about how
to automate it further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2008 12:11 PM
тАО02-20-2008 12:11 PM
Re: SFTP in batch mode - Re: thread 985928
I've always been able to run it interactively but now I'm trying to automate the login process so I can then automate an upload each day.
The password I'm referencing is one given to me from the receiver. They gave me a user name and password to access their system.
here is what it looks like:
$ sftp plmweb
This is a private system.
Unauthorized access is prohibited and will
userid@www.plmweb.org's password:
sftp> ls
.
Download
sftp>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2008 02:54 PM
тАО02-20-2008 02:54 PM
Re: SFTP in batch mode - Re: thread 985928
> password I am able to authenticate without
> a problem.
Apparently not. Perhaps you could provide a
transcript showing how you arrived at that.
Or does "without a problem" not imply
"without a password"?
> $ sftp plmweb
> This is a private system.
> Unauthorized access is prohibited and will
> userid@www.plmweb.org's password:
That would seem not to be using a key which
works without a password. (Or any key at
all. It looks like "password"
authentication, not "hostbased" or
"publickey".)
Adding "-v" to your SSH or SFTP command
should show you more about which
authentication method were attempted, and
which one actually worked, along with other
potentially interesting details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 05:26 AM
тАО02-21-2008 05:26 AM
Re: SFTP in batch mode - Re: thread 985928
Initially I had a password on my SSH key, so when I SFTP'd to the server it would ask me for two sets of information. First it would ask me for a password for my SSH key. Once authenticated there it would ask me for a different account password, which is completely UNRELATED to the SSH key. This account password was provided by the people I'm trying to connect to.
Now, I've created a new SSH key WITHOUT a password and am able to connect to their system and not have to enter my SSH password, but it still asks for the account password. So in a sense there are two levels of security, one with the SSH key and another with a simple user name and password login. The new SSH key without the password gets me through the first door but now I need to figure out a way to feed the account password to the prompt so I can get completely onto their system.
I hope this clears things up.
Thanks,
Erik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 07:58 AM
тАО02-21-2008 07:58 AM
Re: SFTP in batch mode - Re: thread 985928
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 08:14 AM
тАО02-21-2008 08:14 AM
Re: SFTP in batch mode - Re: thread 985928
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 08:29 AM
тАО02-21-2008 08:29 AM
Re: SFTP in batch mode - Re: thread 985928
RequiredAuthentications password
Unfortunately, you are not going to get it to work in batch mode in this case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 09:56 AM
тАО02-21-2008 09:56 AM
Re: SFTP in batch mode - Re: thread 985928
thanks to all who helped!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 10:28 AM
тАО02-21-2008 10:28 AM
Re: SFTP in batch mode - Re: thread 985928
If you told me that the extra password
would end up being stored in a file
somewhere, then I'd sure be willing to forgo
the extra "security".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 10:28 AM
тАО02-21-2008 10:28 AM
Re: SFTP in batch mode - Re: thread 985928
- « Previous
-
- 1
- 2
- Next »