- ssh/scp without password
- Posted by Forte Agent on March 6th, 2004
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.
- Posted by Forte Agent on March 7th, 2004
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
<1443131@usenetplanet.com> wrote:
- XP Pro login anomaly: password query for non-password protected account (Performance/Maintainence) by Andrew
- Cannot type password into password box on logon screen win xp home. (Help and Support) by Leesa_Tay@softhome.net
- Compaq EVO N600C Password-protected CMOS - Lost password - Help - d'oh (Laptops/Notebooks) by Al Dykes
- Crystal Reports Password Tool - unable to change password (Windows CRM) by Amando Resendez
- Password change not working for default password in cisco aironet 1200 (Routers) by Deepak K

