Networking Forums

Networking Forums > Computer Networking > Linux Networking > ssh/scp without password

Reply
Thread Tools Display Modes

ssh/scp without password

 
 
Forte Agent
Guest
Posts: n/a

 
      03-06-2004, 11:59 PM

In Linux machines and Cygwin for Windows, I was able to do following
to enable ssh and scp operations without asking password:

ssh account_to_login@server_to_login_using_secure_shel l \
"echo `cat ~/.ssh/id_rsa.pub` >> ~/.ssh/authorized_keys2"

Now I am trying to enable ssh/scp from HP/UX 11i to Linux machine
without password. So I tried to run above from HP/UX 11i, and found
out "~/.ssh/id_rsa.pub" file does not exist on HP/UX 11i. Instead, it
has "prng_seed" and "known_hosts" only in ~/.ssh. Maybe the version
of ssh/scp on HP/UX is different? I created "~/.shosts" on Linux
machine and added "hostname userid", but that did not help. What
should I do to enable logging in without password? Thank you in
advance.




 
Reply With Quote
 
 
 
 
Forte Agent
Guest
Posts: n/a

 
      03-07-2004, 12:15 AM


Never mind. I just did following and that created
"~/.ssh/id_rsa.pub".

ssh-keygen -t rsa -C "ssh_for_`whoami`@`hostname`" -f ~/.ssh/id_rsa

:-)



On Sat, 06 Mar 2004 19:59:22 -0500, Forte Agent
<(E-Mail Removed)> wrote:

>
>In Linux machines and Cygwin for Windows, I was able to do following
>to enable ssh and scp operations without asking password:
>
>ssh account_to_login@server_to_login_using_secure_shel l \
> "echo `cat ~/.ssh/id_rsa.pub` >> ~/.ssh/authorized_keys2"
>
>Now I am trying to enable ssh/scp from HP/UX 11i to Linux machine
>without password. So I tried to run above from HP/UX 11i, and found
>out "~/.ssh/id_rsa.pub" file does not exist on HP/UX 11i. Instead, it
>has "prng_seed" and "known_hosts" only in ~/.ssh. Maybe the version
>of ssh/scp on HP/UX is different? I created "~/.shosts" on Linux
>machine and added "hostname userid", but that did not help. What
>should I do to enable logging in without password? Thank you in
>advance.
>
>
>


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't set password. Fred Wireless Internet 3 09-29-2007 03:36 AM
Problem in Change Password! Password Recovery Prasad Dannani Windows Networking 0 08-26-2005 07:57 PM
98 to XP Password =?Utf-8?B?TGFycnk=?= Windows Networking 6 01-21-2005 04:19 AM
Log On Password Ramon Windows Networking 1 06-23-2004 11:03 AM
using ssh without a password Aaron Walker Linux Networking 5 11-03-2003 06:50 AM



1 2 3 4 5 6 7 8 9 10 11