![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| remote login with out password | umathurumella | UNIX for Advanced & Expert Users | 4 | 08-14-2008 03:44 AM |
| Problem with logging into remote host | patil_reddy | Shell Programming and Scripting | 4 | 06-13-2006 06:42 AM |
| logging to remote server | abey | Shell Programming and Scripting | 6 | 03-21-2006 08:12 PM |
| password not prompt when doing a remote log in | legato | UNIX for Dummies Questions & Answers | 1 | 04-19-2005 07:20 AM |
| Delay when logging in remote | alfabetman | UNIX for Dummies Questions & Answers | 8 | 10-08-2001 10:55 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
how to configure ssh2 for not asking password when logging from remote
Hi gurus,
I am trying to configure ssh2 for not asking passwords when logging in from a remote machine, but it is failing. I ran the command based on the oracle documentation. down below are the steps, please do let me know how to get this solved. the steps followed $ /usr/bin/ssh-keygen2 -t dsa Generating 2048-bit dsa key pair 16 .oOOo.oOo.oO Key generated. 2048-bit dsa, uvarshne@sunsm1a, Tue Oct 28 2008 18:02:01 -0500 Passphrase : Again : Key is stored with NULL passphrase. (You can ignore the following warning if you are generating hostkeys.) This is not recommended. Don't do this unless you know what you're doing. If file system protections fail (someone can access the keyfile), or if the super-user is malicious, your key can be used without the deciphering effort. Private key saved to /home/dba/uvarshne/.ssh2/id_dsa_2048_b Public key saved to /home/dba/uvarshne/.ssh2/id_dsa_2048_b.pub $ /usr/bin/ssh-keygen2 -t rsa Generating 2048-bit rsa key pair 4 .oOo.oOo.oOo Key generated. 2048-bit rsa, uvarshne@sunsm1a, Tue Oct 28 2008 18:10:01 -0500 Passphrase : Again : Key is stored with NULL passphrase. (You can ignore the following warning if you are generating hostkeys.) This is not recommended. Don't do this unless you know what you're doing. If file system protections fail (someone can access the keyfile), or if the super-user is malicious, your key can be used without the deciphering effort. Private key saved to /home/dba/uvarshne/.ssh2/id_rsa_2048_b Public key saved to /home/dba/uvarshne/.ssh2/id_rsa_2048_b.pub $ touch ~/.ssh2/authorization $ ssh2 cat id_rsa_2048_*.pub >> authorization^C $ stty erase $ ssh2 ^C $ uname -a SunOS sunsm1a 5.8 Generic_117350-39 sun4u sparc SUNW,Sun-Fire-280R $ ssh2 sunsm1a cat ^C $ pwd /home/dba/uvarshne/.ssh2 $ ssh2 sunsm1a /home/dba/uvarshne/.ssh2/id_rsa_2048_*.pub >> authorization Host key not found from database. Key fingerprint: xihel-hobyk-mimiv-tifal-dicyb-vubul-hezek-begap-nafyg-lamym-bexux You can get a public key's fingerprint by running % ssh-keygen -F publickey.pub on the keyfile. warning: tcgetattr failed in ssh_rl_set_tty_modes_for_fd: fd 1: Inappropriate ioctl for device ^C Received signal 2. (no core) $ cat id_rsa_2048_b.pub >authorization $ cat id_dsa_2048_b.pub >>authorization $ ssh sunsm1a date Host key not found from database. Key fingerprint: xihel-hobyk-mimiv-tifal-dicyb-vubul-hezek-begap-nafyg-lamym-bexux You can get a public key's fingerprint by running % ssh-keygen -F publickey.pub on the keyfile. Are you sure you want to continue connecting (yes/no)? yes Host key saved to /home/dba/uvarshne/.ssh2/hostkeys/key_22_sunsm1a.pub host key for sunsm1a, accepted by uvarshne Tue Oct 28 2008 18:14:22 -0500 uvarshne's password: I am not sure where i am going wrong Can you please help me out on this. thanks in advance Arun |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|