![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FTP questions | XZOR | UNIX for Dummies Questions & Answers | 1 | 07-21-2006 03:02 PM |
| awk questions | bobo | UNIX for Dummies Questions & Answers | 1 | 06-28-2006 01:33 AM |
| new bie questions | gauri | UNIX for Dummies Questions & Answers | 2 | 02-10-2006 01:02 AM |
| ssh-keygen trust problem | PaulC | SuSE | 4 | 04-21-2005 10:17 AM |
| C questions | Esaia | High Level Programming | 2 | 01-17-2003 09:57 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
ssh-keygen questions (not working)
I have created the keys and placed the public key in the remote user directory (not the server root).
(remote machine: dwebapp1) ex: /home/webarch/user_name/.ssh/authorized_keys2 cannot ssh into the remote machine using the following command: ssh ${dwebapp1} the manned description gives the following pattern: [options] host [command] (one of the options is this ![]() Options: -l user Log in using this user name. But this is not working form me. I just want to connect from one machine to the other without keying in the user name and password. Please help. The tutorial seems straight forward but I am having trouble. I am using the following tutorial link: No Passwd Required - Mt Xia: Technical Consulting Group Thank you for any help you can provide |
|
||||
|
ssh-keygen questions (not working)
I managed to ssh between servers. I created and installed public keys for both machines so that I can ssh from both servers to each other (from server A to B and from server B to A).
I did discover that if using the ssh command at the command line I don't need to use the ${servername} brackets, etc. simply typing 'ssh servername' is the correct format. I am not sure why the difference from the tutorial I used but it works. Also, I managed to use 'scp' command but I could only place the key in the root .ssh directory of the remote server. I am not sure which version of ssh I am using since I am not the administrator of this box. How do I find out? |
|
||||
|
Hi Tekline Can you pls help me in making this work? I'm facing the same problem as the server prompts for the password everytime.
Steps in Detail: -------------- Source Machine: SRC_Machine Remote Mahcine: RMT_Machine I logged on to SRC_Machine ssh -V OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 and generated a Key as shown below.. ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/.ssh/id_rsa): /home/.ssh/id_rsa_test Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/.ssh/id_rsa_test. Your public key has been saved in /home/.ssh/id_rsa_test.pub. The key fingerprint is: b6:74:7f:84:6f:21:68:fb:86:5c:2f:03:79:c9:ff:61 Modified the permision of the private key file to chmod 600 id_rsa_test -rwx------ 1 951 Sep 2 13:09 id_rsa_test Then i did to appen the public key to Authorized Keys ssh RMT_Machine "umask 077; cat >> .ssh/authorized_keys" < /home/.ssh/id_rsa_test.pub chmod 700 id_rsa_test Now while i do ssh username@RMT_Machine it prompts me for the password. Let me know if i'm missing any steps. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|