- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- scp without password
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
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-08-2004 07:33 PM
тАО02-08-2004 07:33 PM
I am trying to scp from solaris 8 to redhat 8, and openssh version running on solaris 8 is
OpenSSH_3.6.1p1 redhat 8 is OpenSSH_3.4p1,
I generate the public/private key for solaris and ftp the id_dsa to redhat and use the id_dsa.pub to generate authority_keys file to redhat 8 . I already put ssh-agent start script in the .profile on the solaris 8 and auto give the passphrase through ssh-add,
but I need update ssh-add pass phrase every time when I login the solaris. Now I want to write a script to scp a tar file from redhat 8.
How can I auto give the passprase with interactive giving through the terminal input.That is how can writing a script to scp with giving any imformation and run this script in the crontab. Thank you very much
steven chang
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2004 07:42 PM
тАО02-08-2004 07:42 PM
Solutionhttp://www.mail-archive.com/ssh%40clinet.fi/msg04511.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2004 07:52 PM
тАО02-08-2004 07:52 PM
Re: scp without password
steven chang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2004 08:37 PM
тАО02-08-2004 08:37 PM
Re: scp without password
ssh-keygen on Solaris. Then when prompted for password just press enter.By default the public key file is saved under ~/.ssh/id_rsa.pub
copy that file to redhat and place it content
in /root/.ssh/authorized_keys (to be able to ssh/scp as root)
like for example
less id_rsa.pub >> /root/.ssh/authorized_keys
Best Regards..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2004 01:20 AM
тАО02-09-2004 01:20 AM
Re: scp without password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2004 02:13 AM
тАО02-09-2004 02:13 AM
Re: scp without password
The X stuff can be replaced with the cat >> command
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com