- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
Forums
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
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
01-27-2005 07:19 AM
01-27-2005 07:19 AM
scp without password
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 07:21 AM
01-27-2005 07:21 AM
Re: scp without password
Try this link on setting up ssh/scp between server without password.
http://bumblebee.lcs.mit.edu/ssh2/
make sure you are using the correct steps for proper version of ssh/sshd.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 07:23 AM
01-27-2005 07:23 AM
Re: scp without password
it can halp yoy - the same method is for scp as for ssh.
http://www.cs.umd.edu/~arun/misc/ssh.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 07:25 AM
01-27-2005 07:25 AM
Re: scp without password
You should generate a public key on the source host
cd /your/home/dir
ssh-keygen -t dsa 1024
(don't enter a passphrase)
on the target host go to the copying users' home directory, create a directory .ssh with mode 700 there.
then copy the sourcehost:/home/you/.ssh/id_dsa.pub targethost:/home/you/.ssh/authorized_keys and chmod' it to 600.
afterwards this should work out of the box, or sshd will output it's errors to /var/adm/syslog/syslog.log
good luck :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2005 12:14 AM
01-28-2005 12:14 AM
Re: scp without password
How can you scp using those public keys with root when sshd_config is configured with "PermitRootLogin no"?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2005 12:18 AM
01-28-2005 12:18 AM
Re: scp without password
scp uses ssh to login and then starts a local command to start copying the files through the ssh tunnel. So there is no way to build the tunnel as root if the permitrootlogin is false.
Unless this is not the case on both systems...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2005 01:20 AM
01-28-2005 01:20 AM
Re: scp without password
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2005 09:48 AM
01-31-2005 09:48 AM
Re: scp without password
/usr/local/bin/ssh-agent $SHELL
/usr/local/bin/ssh-add
prompt for passphrase >