HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSH Trust Request
Operating System - HP-UX
1834746
Members
2579
Online
110070
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-27-2007 06:08 AM
02-27-2007 06:08 AM
SSH Trust Request
SA is being asked to complete the following tasks. I would like to know what concerns if any and how would you suggest going about this. I have not experienced much with SSH before.
Tasks / Details
There needs to be a ssh/scp trusted relationships between the application server A and host FTP Depot ftp.xx.xx.xx.com to allow for a Bourne Shell script the ability to use ssh and scp to pull and push files to the FTP Depot in the directory owned by XXXXX@ftp.xx.xx.xx.com. The relationship needs to be set up to allow for no password prompts as it is script based.
With this trusted ssh key relationship established, the script should be able to use commands like [ ssh XXXXX@ftp.xx.xx.xx.com "cd ~; ls -1 " >> aTemp ] and [ scp indir/*TCR* XXXXX002@ftp.xx.xx.xx.com:Performing/Vendor/out ]
Thank You! All replies will be appreciated.
Tasks / Details
There needs to be a ssh/scp trusted relationships between the application server A and host FTP Depot ftp.xx.xx.xx.com to allow for a Bourne Shell script the ability to use ssh and scp to pull and push files to the FTP Depot in the directory owned by XXXXX@ftp.xx.xx.xx.com. The relationship needs to be set up to allow for no password prompts as it is script based.
With this trusted ssh key relationship established, the script should be able to use commands like [ ssh XXXXX@ftp.xx.xx.xx.com "cd ~; ls -1 " >> aTemp ] and [ scp indir/*TCR* XXXXX002@ftp.xx.xx.xx.com:Performing/Vendor/out ]
Thank You! All replies will be appreciated.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 06:30 AM
02-27-2007 06:30 AM
Re: SSH Trust Request
Dear VOM UNIX SysAdm
What you need to do is the following:
0.- Make sure /etc/openssh/sshd_config has the following line: PubkeyAuthentication yes
1.- Generate a public key as the application user under whom the scripts are going to be ran: ssh-keygen -t dsa -N "" (if you require passphrase, insert it in between of the "")
2.- ssh ftp.xx.xx.xx.com -l XXXXX
3.- mkdir -m700 .ssh
4.- touch .ssh/authorized_keys
5.- chmod 600 .ssh/authorized_keys
6.- exit
7.- cat $HOME/.ssh/id_dsa.pub | ssh XXXXX@ftp.xx.xx.xx.com "tee -a .ssh/authorized_keys"
8.- Test: ssh XXXXX@ftp.xx.xx.xx.com (and see if it asks for PW)
Regards,
XG.-
What you need to do is the following:
0.- Make sure /etc/openssh/sshd_config has the following line: PubkeyAuthentication yes
1.- Generate a public key as the application user under whom the scripts are going to be ran: ssh-keygen -t dsa -N "" (if you require passphrase, insert it in between of the "")
2.- ssh ftp.xx.xx.xx.com -l XXXXX
3.- mkdir -m700 .ssh
4.- touch .ssh/authorized_keys
5.- chmod 600 .ssh/authorized_keys
6.- exit
7.- cat $HOME/.ssh/id_dsa.pub | ssh XXXXX@ftp.xx.xx.xx.com "tee -a .ssh/authorized_keys"
8.- Test: ssh XXXXX@ftp.xx.xx.xx.com (and see if it asks for PW)
Regards,
XG.-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 06:56 AM
02-27-2007 06:56 AM
Re: SSH Trust Request
Thank You!! I'll assign points before I close this thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2007 10:17 AM
03-02-2007 10:17 AM
Re: SSH Trust Request
Did it work for you?
Did you encounter any problems?
Regards,
XG.-
Did you encounter any problems?
Regards,
XG.-
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP