- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- SFTP batch file problems
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
тАО08-26-2009 02:53 AM
тАО08-26-2009 02:53 AM
sftp2 "-B"zxc.ftp egduser@128.8.204.122
zxc.ftp contains one line
'password'
Manually this works fine eg
sftp2 egduser@128.8.204.122
type in the password and you are logged in
batch gives this error.......
DAVE$ sftp2 "-B"zxc.ftp egduser@128.8.204.122
FATAL: ssh2 client failed to authenticate. (or you have too old ssh2 installed, check with ssh2 "-V")
warning: Authentication failed.
Disconnected; no more authentication methods available (No further authenticatio
n methods available.).
%TCPIP-F-SSH_FATAL, non-specific fatal error condition
DAVE$
SSH2 "-V" gives
dave$dkb0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: SSH Secure Shell OpenVMS
(V5.5) 3.2.0 on COMPAQ AlphaServer DS20E 666 MHz - VMS V7.3-2
any help please
thanks robert
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2009 03:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2009 03:24 AM
тАО08-26-2009 03:24 AM
Re: SFTP batch file problems
Total Novice at all of this
How would I go about such a setup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2009 04:01 AM
тАО08-26-2009 04:01 AM
Re: SFTP batch file problems
setting up public/private key authorization is described for HP TCP/IP services at http://h71000.www7.hp.com/doc/732final/aa-rvbua-te/00/00/24-con.html under "Customizing Public-Key Authentication". For OpenSSH (the variant used by various Unixes) see http://sial.org/howto/openssh/publickey-auth/
To use the ssh_keygen tool (note the underscore instead of the hyphen used in Unix), you'll have to define some foreign commands using
$ @SYS$MANAGER:TCPIP$DEFINE_COMMANDS.COM
Another complication stems from the fact that VMS SSH is NOT derived from OpenSSH, but instead is a port of the commercial implementation. The two products use a different file format to store keys. Unfortunately, the VMS ssh_keygen tool lacks the ability to convert the public key to OpenSSH format (should your Non-VMS server use that), so you'll have to do that on the server, using
# ssh-keygen -i -f vms-format-key > openssh-format-key
HTH,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2009 06:20 AM
тАО08-26-2009 06:20 AM
Re: SFTP batch file problems
http://labs.hoffmanlabs.com/node/1118
For your specific purposes here, the ssh manual is what you want to read.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2009 07:44 AM
тАО11-10-2009 07:44 AM