- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Need help on SFTP Passwordless Authentiction setup...
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
Discussions
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
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
11-07-2011 01:31 AM
11-07-2011 01:31 AM
Need help on SFTP Passwordless Authentiction setup from VMS 8.3 to Windows system
Hi,
I want to automate the files transfer process b/w VMS to Windows system in a command procedure.
Below command is not woking as SFTP still prompts for Password eventhough password is included in transfer.com file.
SFTP "-B" transfer.com user@winsserv.com
As per my search on net this batch files doesn't work for passing password,
So I am looking for the exact steps to generate public & privatekeys and sedning *.pub key to windows then making it as a passworless authentication, so that i can then automate,
could any body please sendme the exact syntax and steps for this, as " HP TCP/IP Services for OpenVMSGuide to SSH" doc has vey less info and confusing,
Wainting for a knind, heplful respose.
Regards
Prakash
- Tags:
- sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2011 05:07 AM
11-07-2011 05:07 AM
Re: Need help on SFTP Passwordless Authentiction setup from VMS 8.3 to Windows system
The following are for Windows or Unix or Mac to OpenVMS, but it'll get you the basics:
The official documentation: http://h71000.www7.hp.com/doc/83final/BA548_90007/BA548_90007.PDF
Some command line doc: http://labs.hoffmanlabs.com/node/1118
With pictures, for PuTTY: http://labs.hoffmanlabs.com/node/1760
Don't embed passwords in files.
And always protect the private keys.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2011 12:07 PM
11-07-2011 12:07 PM
Re: Need help on SFTP Passwordless Authentiction setup from VMS 8.3 to Windows system
Try preceeding your SFTP command with:
$ DEFINE/USER SYS$COMMAND NL:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2011 02:19 AM
11-08-2011 02:19 AM
Re: Need help on SFTP Passwordless Authentication setup from VMS 8.3 to Windows system
Hi All,
Thanks to Hoff and John.......
It's working now....Thanks for all your suggestion.
I did below steps to make SFTP successful without password on windows system with Public-Key Authentication.
1. @SYS$MANAGER:TCPIP$DEFINE_COMMANDS.COM
2. SSH_KEYGEN "-P"
3. it generated public "id_dsa_2048_a.pub" and private "id_dsa_2048_a." keys under [username.SSH2]then I renamed them it as below
public "mysusername_sshserverfqdn.pub" and private "mysusername_sshserverfqdn."
4. Then I sent public "mysusername_sshserverfqdn.pub" onto windows server, windows admin added that to usersetting to make Public key authentication.
5. Then I just created [username.SSH2]IDENTIFICATION. and added line " IdKey privatekeyname" without '.'
6. Then it successful logged onto windows server both for SCP & SFTP without password
sftp user@winserver.com
sftp> ls
.
sftp>exit
Hi John,
I was not able to check DEFINE/USER SYS$COMMAND NL:...as windows server is now not available for password authentication after the above change, but still let me try when get change and update you.
Regards
Prakash